diff options
Diffstat (limited to 'chromium/chrome/browser/ui/BUILD.gn')
-rw-r--r-- | chromium/chrome/browser/ui/BUILD.gn | 432 |
1 files changed, 264 insertions, 168 deletions
diff --git a/chromium/chrome/browser/ui/BUILD.gn b/chromium/chrome/browser/ui/BUILD.gn index b29d0d03d23..8084f2caeba 100644 --- a/chromium/chrome/browser/ui/BUILD.gn +++ b/chromium/chrome/browser/ui/BUILD.gn @@ -8,6 +8,7 @@ import("//build/config/features.gni") import("//build/config/ui.gni") import("//build/split_static_library.gni") import("//chrome/common/features.gni") +import("//components/signin/features.gni") import("//extensions/features/features.gni") import("//media/media_options.gni") import("//ppapi/features/features.gni") @@ -103,6 +104,7 @@ split_static_library("ui") { "chrome_select_file_policy.h", "confirm_bubble.h", "crypto_module_password_dialog.h", + "cryptuiapi_shim.h", "find_bar/find_bar.h", "find_bar/find_bar_state.h", "find_bar/find_bar_state_factory.cc", @@ -110,6 +112,7 @@ split_static_library("ui") { "find_bar/find_notification_details.h", "find_bar/find_tab_helper.cc", "find_bar/find_tab_helper.h", + "forced_reauthentication_dialog.h", "history_ui.cc", "history_ui.h", "javascript_dialogs/chrome_javascript_native_dialog_factory.h", @@ -209,14 +212,10 @@ split_static_library("ui") { "webui/about_ui.h", "webui/bluetooth_internals/bluetooth_internals_ui.cc", "webui/bluetooth_internals/bluetooth_internals_ui.h", - "webui/browsing_history_handler.cc", - "webui/browsing_history_handler.h", "webui/chrome_web_ui_controller_factory.cc", "webui/chrome_web_ui_controller_factory.h", - "webui/chromeos/bluetooth_pairing_ui.cc", - "webui/chromeos/bluetooth_pairing_ui.h", - "webui/chromeos/certificate_manager_dialog_ui.cc", - "webui/chromeos/certificate_manager_dialog_ui.h", + + # TODO(dbeam): why are all these /chromeos/ files on all platforms? "webui/chromeos/choose_mobile_network_ui.cc", "webui/chromeos/choose_mobile_network_ui.h", "webui/chromeos/cryptohome_ui.cc", @@ -308,6 +307,10 @@ split_static_library("ui") { "webui/chromeos/login/user_board_screen_handler.h", "webui/chromeos/login/user_image_screen_handler.cc", "webui/chromeos/login/user_image_screen_handler.h", + "webui/chromeos/login/voice_interaction_value_prop_screen_handler.cc", + "webui/chromeos/login/voice_interaction_value_prop_screen_handler.h", + "webui/chromeos/login/wait_for_container_ready_screen_handler.cc", + "webui/chromeos/login/wait_for_container_ready_screen_handler.h", "webui/chromeos/login/wrong_hwid_screen_handler.cc", "webui/chromeos/login/wrong_hwid_screen_handler.h", "webui/chromeos/mobile_setup_dialog.cc", @@ -320,8 +323,6 @@ split_static_library("ui") { "webui/chromeos/network_ui.h", "webui/chromeos/power_ui.cc", "webui/chromeos/power_ui.h", - "webui/chromeos/proxy_settings_ui.cc", - "webui/chromeos/proxy_settings_ui.h", "webui/chromeos/set_time_ui.cc", "webui/chromeos/set_time_ui.h", "webui/chromeos/sim_unlock_ui.cc", @@ -346,8 +347,6 @@ split_static_library("ui") { "webui/domain_reliability_internals_ui.h", "webui/engagement/site_engagement_ui.cc", "webui/engagement/site_engagement_ui.h", - "webui/fallback_icon_source.cc", - "webui/fallback_icon_source.h", "webui/favicon_source.cc", "webui/favicon_source.h", "webui/fileicon_source.cc", @@ -368,6 +367,8 @@ split_static_library("ui") { "webui/local_state/local_state_ui.h", "webui/log_web_ui_url.cc", "webui/log_web_ui_url.h", + "webui/media/media_engagement_ui.cc", + "webui/media/media_engagement_ui.h", "webui/metrics_handler.cc", "webui/metrics_handler.h", "webui/mojo_web_ui_controller.cc", @@ -480,12 +481,15 @@ split_static_library("ui") { "//chrome/browser:resource_prefetch_predictor_proto", "//chrome/browser/devtools", "//chrome/browser/engagement:mojo_bindings", + "//chrome/browser/media:mojo_bindings", + "//chrome/browser/safe_browsing", "//chrome/browser/ui/webui/omnibox:mojo_bindings", "//chrome/browser/ui/webui/usb_internals:mojo_bindings", "//chrome/common", "//chrome/common:instant_mojom", "//chrome/common/net", "//chrome/installer/util:with_no_strings", + "//components/about_ui", "//components/app_modal", "//components/autofill/content/browser:risk_proto", "//components/autofill/core/browser", @@ -506,6 +510,7 @@ split_static_library("ui") { "//components/dom_distiller/content/browser", "//components/dom_distiller/webui", "//components/domain_reliability", + "//components/download/content/public", "//components/favicon/content", "//components/favicon/core", "//components/feedback", @@ -525,6 +530,8 @@ split_static_library("ui") { "//components/ntp_tiles", "//components/offline_pages/core", "//components/offline_pages/core/background:background_offliner", + "//components/offline_pages/core/prefetch", + "//components/offline_pages/features:features", "//components/omnibox/browser", "//components/onc", "//components/password_manager/content/browser", @@ -542,6 +549,7 @@ split_static_library("ui") { "//components/renderer_context_menu", "//components/resources", "//components/safe_browsing/common:safe_browsing_prefs", + "//components/safe_browsing/web_ui", "//components/safe_json", "//components/search", "//components/search_engines", @@ -551,6 +559,8 @@ split_static_library("ui") { "//components/sessions", "//components/signin/core/account_id", "//components/signin/core/browser", + "//components/signin/core/common", + "//components/signin/core/common:signin_features", "//components/spellcheck/browser", "//components/ssl_errors", "//components/startup_metric_utils/browser:lib", @@ -648,12 +658,7 @@ split_static_library("ui") { ] } - if (is_android) { - sources += [ - "webui/large_icon_source.cc", - "webui/large_icon_source.h", - ] - } else { + if (!is_android) { sources += [ "apps/app_info_dialog.h", "apps/chrome_app_delegate.cc", @@ -787,6 +792,7 @@ split_static_library("ui") { "omnibox/chrome_omnibox_navigation_observer.h", "omnibox/clipboard_utils.cc", "omnibox/clipboard_utils.h", + "overlay/overlay_window.h", "page_info/page_info_infobar_delegate.cc", "page_info/page_info_infobar_delegate.h", "page_info/permission_menu_model.cc", @@ -882,8 +888,6 @@ split_static_library("ui") { "task_manager/task_manager_columns.h", "task_manager/task_manager_table_model.cc", "task_manager/task_manager_table_model.h", - "toolbar/app_menu_animation.cc", - "toolbar/app_menu_animation.h", "toolbar/app_menu_icon_controller.cc", "toolbar/app_menu_icon_controller.h", "toolbar/app_menu_model.cc", @@ -918,6 +922,8 @@ split_static_library("ui") { "webui/app_launcher_login_handler.h", "webui/bookmarks_ui.cc", "webui/bookmarks_ui.h", + "webui/browsing_history_handler.cc", + "webui/browsing_history_handler.h", "webui/chrome_web_contents_handler.cc", "webui/chrome_web_contents_handler.h", "webui/constrained_web_dialog_delegate_base.cc", @@ -934,12 +940,6 @@ split_static_library("ui") { "webui/extensions/install_extension_handler.h", "webui/foreign_session_handler.cc", "webui/foreign_session_handler.h", - "webui/help/help_handler.cc", - "webui/help/help_handler.h", - "webui/help/help_ui.cc", - "webui/help/help_ui.h", - "webui/help/help_utils_chromeos.cc", - "webui/help/help_utils_chromeos.h", "webui/help/version_updater.h", "webui/help/version_updater_chromeos.cc", "webui/help/version_updater_chromeos.h", @@ -953,6 +953,8 @@ split_static_library("ui") { "webui/identity_internals_ui.h", "webui/inspect_ui.cc", "webui/inspect_ui.h", + "webui/md_bookmarks/bookmarks_message_handler.cc", + "webui/md_bookmarks/bookmarks_message_handler.h", "webui/md_bookmarks/md_bookmarks_ui.cc", "webui/md_bookmarks/md_bookmarks_ui.h", "webui/md_downloads/downloads_list_tracker.cc", @@ -981,103 +983,8 @@ split_static_library("ui") { "webui/ntp/ntp_resource_cache.h", "webui/ntp/ntp_resource_cache_factory.cc", "webui/ntp/ntp_resource_cache_factory.h", - "webui/options/autofill_options_handler.cc", - "webui/options/autofill_options_handler.h", - "webui/options/automatic_settings_reset_handler.cc", - "webui/options/automatic_settings_reset_handler.h", - "webui/options/browser_options_handler.cc", - "webui/options/browser_options_handler.h", - "webui/options/chromeos/accounts_options_handler.cc", - "webui/options/chromeos/accounts_options_handler.h", - "webui/options/chromeos/bluetooth_options_handler.cc", - "webui/options/chromeos/bluetooth_options_handler.h", - "webui/options/chromeos/change_picture_options_handler.cc", - "webui/options/chromeos/change_picture_options_handler.h", - "webui/options/chromeos/core_chromeos_options_handler.cc", - "webui/options/chromeos/core_chromeos_options_handler.h", - "webui/options/chromeos/cros_language_options_handler.cc", - "webui/options/chromeos/cros_language_options_handler.h", - "webui/options/chromeos/date_time_options_handler.cc", - "webui/options/chromeos/date_time_options_handler.h", - "webui/options/chromeos/display_options_handler.cc", - "webui/options/chromeos/display_options_handler.h", - "webui/options/chromeos/display_overscan_handler.cc", - "webui/options/chromeos/display_overscan_handler.h", - "webui/options/chromeos/internet_options_handler.cc", - "webui/options/chromeos/internet_options_handler.h", - "webui/options/chromeos/internet_options_handler_strings.cc", - "webui/options/chromeos/internet_options_handler_strings.h", - "webui/options/chromeos/keyboard_handler.cc", - "webui/options/chromeos/keyboard_handler.h", - "webui/options/chromeos/options_stylus_handler.cc", - "webui/options/chromeos/options_stylus_handler.h", - "webui/options/chromeos/pointer_handler.cc", - "webui/options/chromeos/pointer_handler.h", - "webui/options/chromeos/power_handler.cc", - "webui/options/chromeos/power_handler.h", - "webui/options/chromeos/proxy_handler.cc", - "webui/options/chromeos/proxy_handler.h", - "webui/options/chromeos/stats_options_handler.cc", - "webui/options/chromeos/stats_options_handler.h", - "webui/options/chromeos/storage_manager_handler.cc", - "webui/options/chromeos/storage_manager_handler.h", - "webui/options/chromeos/user_image_source.cc", - "webui/options/chromeos/user_image_source.h", - "webui/options/clear_browser_data_handler.cc", - "webui/options/clear_browser_data_handler.h", - "webui/options/content_settings_handler.cc", - "webui/options/content_settings_handler.h", - "webui/options/cookies_view_handler.cc", - "webui/options/cookies_view_handler.h", - "webui/options/core_options_handler.cc", - "webui/options/core_options_handler.h", - "webui/options/create_profile_handler.cc", - "webui/options/create_profile_handler.h", - "webui/options/easy_unlock_handler.cc", - "webui/options/easy_unlock_handler.h", - "webui/options/font_settings_handler.cc", - "webui/options/font_settings_handler.h", - "webui/options/font_settings_utils.cc", - "webui/options/font_settings_utils.h", - "webui/options/font_settings_utils_linux.cc", - "webui/options/font_settings_utils_mac.mm", - "webui/options/font_settings_utils_win.cc", - "webui/options/handler_options_handler.cc", - "webui/options/handler_options_handler.h", - "webui/options/help_overlay_handler.cc", - "webui/options/help_overlay_handler.h", - "webui/options/home_page_overlay_handler.cc", - "webui/options/home_page_overlay_handler.h", - "webui/options/import_data_handler.cc", - "webui/options/import_data_handler.h", - "webui/options/language_dictionary_overlay_handler.cc", - "webui/options/language_dictionary_overlay_handler.h", - "webui/options/language_options_handler.cc", - "webui/options/language_options_handler.h", - "webui/options/language_options_handler_common.cc", - "webui/options/language_options_handler_common.h", - "webui/options/manage_profile_handler.cc", - "webui/options/manage_profile_handler.h", - "webui/options/media_devices_selection_handler.cc", - "webui/options/media_devices_selection_handler.h", - "webui/options/options_ui.cc", - "webui/options/options_ui.h", - "webui/options/password_manager_handler.cc", - "webui/options/password_manager_handler.h", - "webui/options/reset_profile_settings_handler.cc", - "webui/options/reset_profile_settings_handler.h", - "webui/options/search_engine_manager_handler.cc", - "webui/options/search_engine_manager_handler.h", - "webui/options/startup_pages_handler.cc", - "webui/options/startup_pages_handler.h", - "webui/options/supervised_user_create_confirm_handler.cc", - "webui/options/supervised_user_create_confirm_handler.h", - "webui/options/supervised_user_import_handler.cc", - "webui/options/supervised_user_import_handler.h", - "webui/options/supervised_user_learn_more_handler.cc", - "webui/options/supervised_user_learn_more_handler.h", - "webui/options/sync_setup_handler.cc", - "webui/options/sync_setup_handler.h", + "webui/plural_string_handler.cc", + "webui/plural_string_handler.h", "webui/policy_indicator_localized_strings_provider.cc", "webui/policy_indicator_localized_strings_provider.h", "webui/profile_helper.cc", @@ -1116,6 +1023,8 @@ split_static_library("ui") { "webui/settings/chromeos/easy_unlock_settings_handler.h", "webui/settings/chromeos/fingerprint_handler.cc", "webui/settings/chromeos/fingerprint_handler.h", + "webui/settings/chromeos/google_assistant_handler.cc", + "webui/settings/chromeos/google_assistant_handler.h", "webui/settings/chromeos/internet_handler.cc", "webui/settings/chromeos/internet_handler.h", "webui/settings/downloads_handler.cc", @@ -1186,8 +1095,6 @@ split_static_library("ui") { "webui/system_info_ui.h", "webui/theme_handler.cc", "webui/theme_handler.h", - "webui/uber/uber_ui.cc", - "webui/uber/uber_ui.h", "window_sizer/window_sizer.cc", "window_sizer/window_sizer.h", "zoom/chrome_zoom_level_otr_delegate.cc", @@ -1196,21 +1103,29 @@ split_static_library("ui") { "zoom/chrome_zoom_level_prefs.h", ] deps += [ - "//apps", - "//apps/ui/views", "//chrome/app/vector_icons", "//chrome/browser/profile_resetter:profile_reset_report_proto", "//chrome/common:features", "//components/feedback/proto", + "//components/network_session_configurator/common", "//components/proximity_auth/webui", + "//components/ui_metrics", + "//components/vector_icons", + "//components/vector_icons", "//components/web_modal", "//components/zoom", "//device/bluetooth", - "//extensions/common:mojo", "//mash/public/interfaces", "//services/device/public/interfaces", - "//ui/vector_icons", ] + + if (enable_extensions) { + deps += [ + "//apps", + "//apps/ui/views", + "//extensions/common:mojo", + ] + } } if (enable_basic_printing || enable_print_preview) { @@ -1262,6 +1177,8 @@ split_static_library("ui") { "app_list/search/launcher_search/launcher_search_provider.h", "app_list/search/launcher_search/launcher_search_result.cc", "app_list/search/launcher_search/launcher_search_result.h", + "ash/ime_controller_client.cc", + "ash/ime_controller_client.h", "ash/lock_screen_client.cc", "ash/lock_screen_client.h", "ash/session_controller_client.cc", @@ -1282,6 +1199,108 @@ split_static_library("ui") { "views/select_file_dialog_extension.h", "views/select_file_dialog_extension_factory.cc", "views/select_file_dialog_extension_factory.h", + "webui/chromeos/bluetooth_pairing_ui.cc", + "webui/chromeos/bluetooth_pairing_ui.h", + "webui/chromeos/certificate_manager_dialog_ui.cc", + "webui/chromeos/certificate_manager_dialog_ui.h", + "webui/chromeos/proxy_settings_ui.cc", + "webui/chromeos/proxy_settings_ui.h", + "webui/chromeos/user_image_source.cc", + "webui/chromeos/user_image_source.h", + "webui/help/help_handler.cc", + "webui/help/help_handler.h", + "webui/help/help_utils_chromeos.cc", + "webui/help/help_utils_chromeos.h", + "webui/options/autofill_options_handler.cc", + "webui/options/autofill_options_handler.h", + "webui/options/automatic_settings_reset_handler.cc", + "webui/options/automatic_settings_reset_handler.h", + "webui/options/browser_options_handler.cc", + "webui/options/browser_options_handler.h", + "webui/options/chromeos/accounts_options_handler.cc", + "webui/options/chromeos/accounts_options_handler.h", + "webui/options/chromeos/bluetooth_options_handler.cc", + "webui/options/chromeos/bluetooth_options_handler.h", + "webui/options/chromeos/change_picture_options_handler.cc", + "webui/options/chromeos/change_picture_options_handler.h", + "webui/options/chromeos/core_chromeos_options_handler.cc", + "webui/options/chromeos/core_chromeos_options_handler.h", + "webui/options/chromeos/cros_language_options_handler.cc", + "webui/options/chromeos/cros_language_options_handler.h", + "webui/options/chromeos/date_time_options_handler.cc", + "webui/options/chromeos/date_time_options_handler.h", + "webui/options/chromeos/display_options_handler.cc", + "webui/options/chromeos/display_options_handler.h", + "webui/options/chromeos/display_overscan_handler.cc", + "webui/options/chromeos/display_overscan_handler.h", + "webui/options/chromeos/internet_options_handler.cc", + "webui/options/chromeos/internet_options_handler.h", + "webui/options/chromeos/internet_options_handler_strings.cc", + "webui/options/chromeos/internet_options_handler_strings.h", + "webui/options/chromeos/keyboard_handler.cc", + "webui/options/chromeos/keyboard_handler.h", + "webui/options/chromeos/options_stylus_handler.cc", + "webui/options/chromeos/options_stylus_handler.h", + "webui/options/chromeos/pointer_handler.cc", + "webui/options/chromeos/pointer_handler.h", + "webui/options/chromeos/power_handler.cc", + "webui/options/chromeos/power_handler.h", + "webui/options/chromeos/proxy_handler.cc", + "webui/options/chromeos/proxy_handler.h", + "webui/options/chromeos/stats_options_handler.cc", + "webui/options/chromeos/stats_options_handler.h", + "webui/options/chromeos/storage_manager_handler.cc", + "webui/options/chromeos/storage_manager_handler.h", + "webui/options/clear_browser_data_handler.cc", + "webui/options/clear_browser_data_handler.h", + "webui/options/content_settings_handler.cc", + "webui/options/content_settings_handler.h", + "webui/options/cookies_view_handler.cc", + "webui/options/cookies_view_handler.h", + "webui/options/core_options_handler.cc", + "webui/options/core_options_handler.h", + "webui/options/create_profile_handler.cc", + "webui/options/create_profile_handler.h", + "webui/options/easy_unlock_handler.cc", + "webui/options/easy_unlock_handler.h", + "webui/options/font_settings_handler.cc", + "webui/options/font_settings_handler.h", + "webui/options/handler_options_handler.cc", + "webui/options/handler_options_handler.h", + "webui/options/help_overlay_handler.cc", + "webui/options/help_overlay_handler.h", + "webui/options/home_page_overlay_handler.cc", + "webui/options/home_page_overlay_handler.h", + "webui/options/import_data_handler.cc", + "webui/options/import_data_handler.h", + "webui/options/language_dictionary_overlay_handler.cc", + "webui/options/language_dictionary_overlay_handler.h", + "webui/options/language_options_handler.cc", + "webui/options/language_options_handler.h", + "webui/options/language_options_handler_common.cc", + "webui/options/language_options_handler_common.h", + "webui/options/manage_profile_handler.cc", + "webui/options/manage_profile_handler.h", + "webui/options/media_devices_selection_handler.cc", + "webui/options/media_devices_selection_handler.h", + "webui/options/options_ui.cc", + "webui/options/options_ui.h", + "webui/options/password_manager_handler.cc", + "webui/options/password_manager_handler.h", + "webui/options/reset_profile_settings_handler.cc", + "webui/options/reset_profile_settings_handler.h", + "webui/options/search_engine_manager_handler.cc", + "webui/options/search_engine_manager_handler.h", + "webui/options/startup_pages_handler.cc", + "webui/options/startup_pages_handler.h", + "webui/options/supervised_user_create_confirm_handler.cc", + "webui/options/supervised_user_create_confirm_handler.h", + "webui/options/supervised_user_import_handler.cc", + "webui/options/supervised_user_import_handler.h", + "webui/options/supervised_user_learn_more_handler.cc", + "webui/options/supervised_user_learn_more_handler.h", + "webui/options/sync_setup_handler.cc", + "webui/options/sync_setup_handler.h", ] deps += [ "//chrome/browser/chromeos", @@ -1289,7 +1308,7 @@ split_static_library("ui") { "//components/drive:drive_chromeos", "//components/exo", "//components/login", - "//device/power_save_blocker", + "//services/device/public/interfaces", "//ui/base/ime", "//ui/chromeos", "//ui/chromeos/events", @@ -1297,6 +1316,7 @@ split_static_library("ui") { if (enable_rlz) { deps += [ "//chrome/browser:rlz" ] } + allow_circular_includes_from = [ "//chrome/browser/chromeos" ] } if (use_cups) { configs += [ "//printing:cups" ] @@ -1401,16 +1421,16 @@ split_static_library("ui") { "ash/networking_config_delegate_chromeos.h", "ash/palette_delegate_chromeos.cc", "ash/palette_delegate_chromeos.h", - "ash/session_state_delegate_chromeos.cc", - "ash/session_state_delegate_chromeos.h", "ash/session_util.cc", "ash/session_util.h", + "ash/sort_windows_by_z_index.cc", "ash/system_tray_delegate_chromeos.cc", "ash/system_tray_delegate_chromeos.h", "ash/volume_controller.cc", "ash/volume_controller.h", "ash/vpn_list_forwarder.cc", "ash/vpn_list_forwarder.h", + "sort_windows_by_z_index.h", "views/ash/chrome_browser_main_extra_parts_ash.cc", "views/ash/chrome_browser_main_extra_parts_ash.h", "views/ash/tab_scrubber.cc", @@ -1427,6 +1447,7 @@ split_static_library("ui") { "//ash/strings", "//components/session_manager/core", "//components/user_manager", + "//services/data_decoder/public/cpp", "//services/ui/public/cpp", "//services/ui/public/interfaces", "//ui/app_list/presenter", @@ -1444,7 +1465,12 @@ split_static_library("ui") { "autofill/save_card_bubble_controller_impl.cc", "autofill/save_card_bubble_controller_impl.h", "autofill/save_card_bubble_view.h", + "bubble_anchor_util.h", "desktop_ios_promotion/desktop_ios_promotion_footnote_delegate.h", + + # This test header is included because it contains forward declarations + # needed for "friend" statements for use in tests. + "translate/translate_bubble_test_utils.h", "views/apps/app_info_dialog/app_info_dialog_container.cc", "views/apps/app_info_dialog/app_info_dialog_container.h", "views/apps/app_info_dialog/app_info_dialog_views.cc", @@ -1475,6 +1501,7 @@ split_static_library("ui") { "views/bookmarks/bookmark_bubble_view.h", "views/bookmarks/bookmark_editor_view.cc", "views/bookmarks/bookmark_editor_view.h", + "views/bubble_anchor_util_views.h", "views/chrome_browser_main_extra_parts_views.cc", "views/chrome_browser_main_extra_parts_views.h", "views/chrome_constrained_window_views_client.cc", @@ -1499,6 +1526,8 @@ split_static_library("ui") { "views/exclusive_access_bubble_views.cc", "views/exclusive_access_bubble_views.h", "views/exclusive_access_bubble_views_context.h", + "views/extensions/bookmark_app_confirmation_view.cc", + "views/extensions/bookmark_app_confirmation_view.h", "views/extensions/chooser_dialog_view.cc", "views/extensions/chooser_dialog_view.h", "views/extensions/extension_install_dialog_view.cc", @@ -1507,6 +1536,10 @@ split_static_library("ui") { "views/extensions/extension_keybinding_registry_views.h", "views/frame/native_widget_mac_frameless_nswindow.h", "views/frame/native_widget_mac_frameless_nswindow.mm", + "views/fullscreen_control/fullscreen_control_host.cc", + "views/fullscreen_control/fullscreen_control_host.h", + "views/fullscreen_control/fullscreen_control_view.cc", + "views/fullscreen_control/fullscreen_control_view.h", "views/global_error_bubble_view.cc", "views/global_error_bubble_view.h", "views/harmony/chrome_layout_provider.cc", @@ -1517,6 +1550,10 @@ split_static_library("ui") { "views/harmony/harmony_layout_provider.h", "views/harmony/harmony_typography_provider.cc", "views/harmony/harmony_typography_provider.h", + "views/harmony/textfield_layout.cc", + "views/harmony/textfield_layout.h", + "views/importer/import_lock_dialog_view.cc", + "views/importer/import_lock_dialog_view.h", "views/location_bar/location_bar_bubble_delegate_view.cc", "views/location_bar/location_bar_bubble_delegate_view.h", "views/location_bar/zoom_bubble_view.cc", @@ -1526,6 +1563,8 @@ split_static_library("ui") { "views/login_view.h", "views/new_back_shortcut_bubble.cc", "views/new_back_shortcut_bubble.h", + "views/overlay/overlay_window_views.cc", + "views/overlay/overlay_window_views.h", "views/page_info/chosen_object_row.cc", "views/page_info/chosen_object_row.h", "views/page_info/chosen_object_row_observer.h", @@ -1593,6 +1632,8 @@ split_static_library("ui") { "views/permission_bubble/chooser_bubble_ui.h", "views/permission_bubble/permission_prompt_impl.cc", "views/permission_bubble/permission_prompt_impl.h", + "views/simple_message_box_views.cc", + "views/simple_message_box_views.h", "views/subtle_notification_view.cc", "views/subtle_notification_view.h", "views/sync/bubble_sync_promo_view.cc", @@ -1603,6 +1644,8 @@ split_static_library("ui") { "views/task_manager_view.h", "views/toolbar/toolbar_actions_bar_bubble_views.cc", "views/toolbar/toolbar_actions_bar_bubble_views.h", + "views/translate/translate_bubble_view.cc", + "views/translate/translate_bubble_view.h", "views/update_recommended_message_box.cc", "views/update_recommended_message_box.h", ] @@ -1613,6 +1656,11 @@ split_static_library("ui") { "//components/payments/core", "//services/ui/public/cpp/input_devices", ] + + if (use_aura) { + deps += [ "//components/ui_devtools/views" ] + } + allow_circular_includes_from += [ "//chrome/browser/ui/views" ] if (enable_extensions) { @@ -1635,6 +1683,8 @@ split_static_library("ui") { "views/frame/opaque_browser_frame_view_linux.h", "views/frame/opaque_browser_frame_view_platform_specific.cc", "views/frame/opaque_browser_frame_view_platform_specific.h", + "views/profiles/forced_reauthentication_dialog_view.cc", + "views/profiles/forced_reauthentication_dialog_view.h", "views/profiles/profile_chooser_view.cc", "views/profiles/profile_chooser_view.h", "views/screen_capture_notification_ui_views.cc", @@ -1656,8 +1706,6 @@ split_static_library("ui") { } if (enable_extensions && (!is_mac || mac_views_browser)) { sources += [ - "views/extensions/bookmark_app_confirmation_view.cc", - "views/extensions/bookmark_app_confirmation_view.h", "views/extensions/browser_action_drag_data.cc", "views/extensions/browser_action_drag_data.h", "views/extensions/extension_action_platform_delegate_views.cc", @@ -1682,6 +1730,7 @@ split_static_library("ui") { "views/extensions/extension_popup_aura.cc", "views/extensions/extension_popup_aura.h", ] + deps += [ "//ui/wm/public" ] } if (is_chromeos) { sources += [ @@ -1693,10 +1742,6 @@ split_static_library("ui") { if (!is_mac || mac_views_browser) { sources += [ "javascript_dialogs/javascript_dialog.cc", - - # This test header is included because it contains forward declarations - # needed for "friend" statements for use in tests. - "translate/translate_bubble_test_utils.h", "views/accessibility/invert_bubble_view.cc", "views/accessibility/invert_bubble_view.h", "views/autofill/autofill_popup_base_view.cc", @@ -1724,6 +1769,7 @@ split_static_library("ui") { "views/bookmarks/bookmark_menu_delegate.cc", "views/bookmarks/bookmark_menu_delegate.h", "views/browser_dialogs_views.cc", + "views/bubble_anchor_util_views.cc", "views/certificate_selector.cc", "views/certificate_selector.h", "views/certificate_viewer_win.cc", @@ -1734,8 +1780,6 @@ split_static_library("ui") { "views/conflicting_module_view_win.cc", "views/conflicting_module_view_win.h", "views/constrained_web_dialog_delegate_views.cc", - "views/create_application_shortcut_view.cc", - "views/create_application_shortcut_view.h", "views/download/download_feedback_dialog_view.cc", "views/download/download_feedback_dialog_view.h", "views/download/download_in_progress_dialog_view.cc", @@ -1804,8 +1848,6 @@ split_static_library("ui") { "views/hung_renderer_view.h", "views/ime/ime_warning_bubble_view.cc", "views/ime/ime_warning_bubble_view.h", - "views/importer/import_lock_dialog_view.cc", - "views/importer/import_lock_dialog_view.h", "views/infobars/alternate_nav_infobar_view.cc", "views/infobars/alternate_nav_infobar_view.h", "views/infobars/confirm_infobar.cc", @@ -1861,7 +1903,6 @@ split_static_library("ui") { "views/proximity_auth/proximity_auth_error_bubble_view.h", "views/session_crashed_bubble_view.cc", "views/session_crashed_bubble_view.h", - "views/simple_message_box_views.cc", "views/ssl_client_certificate_selector.cc", "views/ssl_client_certificate_selector.h", "views/status_bubble_views.cc", @@ -1884,6 +1925,10 @@ split_static_library("ui") { "views/tabs/alert_indicator_button.h", "views/tabs/browser_tab_strip_controller.cc", "views/tabs/browser_tab_strip_controller.h", + "views/tabs/new_tab_button.cc", + "views/tabs/new_tab_button.h", + "views/tabs/new_tab_promo.cc", + "views/tabs/new_tab_promo.h", "views/tabs/stacked_tab_strip_layout.cc", "views/tabs/stacked_tab_strip_layout.h", "views/tabs/tab.cc", @@ -1923,8 +1968,6 @@ split_static_library("ui") { "views/toolbar/toolbar_view.cc", "views/toolbar/toolbar_view.h", "views/touch_uma/touch_uma.h", - "views/translate/translate_bubble_view.cc", - "views/translate/translate_bubble_view.h", "views/translate/translate_icon_view.cc", "views/translate/translate_icon_view.h", "views/validation_message_bubble_view.cc", @@ -1947,10 +1990,13 @@ split_static_library("ui") { ] } - # TODO(ellyjones): Mus is not supported on Mac (there is no ui::Window - # apart from aura::Window, which is also not supported). if (!is_mac) { sources += [ + "views/create_application_shortcut_view.cc", + "views/create_application_shortcut_view.h", + + # TODO(ellyjones): Mus is not supported on Mac (there is no ui::Window + # apart from aura::Window, which is also not supported). "views/ime_driver/ime_driver_mus.cc", "views/ime_driver/ime_driver_mus.h", "views/ime_driver/input_method_bridge_chromeos.cc", @@ -1973,6 +2019,7 @@ split_static_library("ui") { ] } } + if (use_ash) { sources += [ "views/frame/browser_frame_ash.cc", @@ -2078,6 +2125,20 @@ split_static_library("ui") { "webui/welcome_ui.cc", "webui/welcome_ui.h", ] + if (enable_dice_support) { + sources += [ + "webui/signin/signin_dice_internals_handler.cc", + "webui/signin/signin_dice_internals_handler.h", + "webui/signin/signin_dice_internals_ui.cc", + "webui/signin/signin_dice_internals_ui.h", + ] + } + if (enable_oop_heap_profiling) { + sources += [ + "webui/memory_internals_ui.cc", + "webui/memory_internals_ui.h", + ] + } if (is_mac && !mac_views_browser) { sources -= [ # This is not explicitly excluded in GYP, but I think the static @@ -2178,11 +2239,15 @@ split_static_library("ui") { "crypto_module_delegate_nss.h", "crypto_module_password_dialog_nss.cc", "crypto_module_password_dialog_nss.h", - "webui/options/certificate_manager_handler.cc", - "webui/options/certificate_manager_handler.h", "webui/settings/certificates_handler.cc", "webui/settings/certificates_handler.h", ] + if (is_chromeos) { + sources += [ + "webui/options/certificate_manager_handler.cc", + "webui/options/certificate_manager_handler.h", + ] + } } if (is_mac || is_win) { sources += [ @@ -2243,12 +2308,14 @@ split_static_library("ui") { "android/chrome_http_auth_handler.cc", "android/chrome_http_auth_handler.h", "android/color_chooser_dialog_android.cc", + "android/content_settings/ads_blocked_infobar_delegate.cc", + "android/content_settings/ads_blocked_infobar_delegate.h", "android/content_settings/popup_blocked_infobar_delegate.cc", "android/content_settings/popup_blocked_infobar_delegate.h", - "android/content_settings/subresource_filter_infobar_delegate.cc", - "android/content_settings/subresource_filter_infobar_delegate.h", "android/context_menu_helper.cc", "android/context_menu_helper.h", + "android/infobars/ads_blocked_infobar.cc", + "android/infobars/ads_blocked_infobar.h", "android/infobars/app_banner_infobar_android.cc", "android/infobars/app_banner_infobar_android.h", "android/infobars/autofill_credit_card_filling_infobar.cc", @@ -2280,9 +2347,6 @@ split_static_library("ui") { "android/infobars/search_geolocation_disclosure_infobar.cc", "android/infobars/search_geolocation_disclosure_infobar.h", "android/infobars/simple_confirm_infobar_builder.cc", - "android/infobars/simple_confirm_infobar_builder.h", - "android/infobars/subresource_filter_infobar.cc", - "android/infobars/subresource_filter_infobar.h", "android/infobars/translate_compact_infobar.cc", "android/infobars/translate_compact_infobar.h", "android/infobars/translate_infobar.cc", @@ -2297,9 +2361,7 @@ split_static_library("ui") { "android/omnibox/omnibox_view_util.cc", "android/omnibox/omnibox_view_util.h", "android/page_info/certificate_chain_helper.cc", - "android/page_info/certificate_chain_helper.h", "android/page_info/certificate_viewer_android.cc", - "android/page_info/certificate_viewer_android.h", "android/page_info/connection_info_popup_android.cc", "android/page_info/connection_info_popup_android.h", "android/page_info/page_info_popup_android.cc", @@ -2308,19 +2370,18 @@ split_static_library("ui") { "android/snackbars/auto_signin_prompt_controller.cc", "android/snackbars/auto_signin_prompt_controller.h", "android/ssl_client_certificate_request.cc", - "android/ssl_client_certificate_request.h", "android/tab_contents/chrome_web_contents_view_delegate_android.cc", "android/tab_contents/chrome_web_contents_view_delegate_android.h", "android/tab_model/android_live_tab_context.cc", "android/tab_model/android_live_tab_context.h", "android/tab_model/single_tab_model.cc", - "android/tab_model/single_tab_model.h", "android/tab_model/tab_model.cc", "android/tab_model/tab_model.h", "android/tab_model/tab_model_jni_bridge.cc", "android/tab_model/tab_model_jni_bridge.h", "android/tab_model/tab_model_list.cc", "android/tab_model/tab_model_list.h", + "android/tab_model/tab_model_list_observer.h", "android/toolbar/toolbar_model_android.cc", "android/toolbar/toolbar_model_android.h", "android/usb_chooser_dialog_android.cc", @@ -2333,8 +2394,6 @@ split_static_library("ui") { "webui/offline/offline_internals_ui.h", "webui/offline/offline_internals_ui_message_handler.cc", "webui/offline/offline_internals_ui_message_handler.h", - "webui/popular_sites_internals_ui.cc", - "webui/popular_sites_internals_ui.h", "webui/snippets_internals_message_handler.cc", "webui/snippets_internals_message_handler.h", "webui/snippets_internals_ui.cc", @@ -2347,6 +2406,7 @@ split_static_library("ui") { deps += [ "//chrome/browser:jni_headers", "//components/web_contents_delegate_android", + "//device/usb/public/cpp", ] deps -= [ "//ui/events" ] } else { @@ -2366,6 +2426,8 @@ split_static_library("ui") { "cocoa/accelerator_utils_cocoa.mm", "cocoa/accelerators_cocoa.h", "cocoa/accelerators_cocoa.mm", + "cocoa/animated_icon.h", + "cocoa/animated_icon.mm", "cocoa/applescript/apple_event_util.h", "cocoa/applescript/apple_event_util.mm", "cocoa/applescript/bookmark_folder_applescript.h", @@ -2627,6 +2689,7 @@ split_static_library("ui") { "cocoa/browser_window_touch_bar.mm", "cocoa/browser_window_utils.h", "cocoa/browser_window_utils.mm", + "cocoa/bubble_anchor_util_views_mac.mm", "cocoa/bubble_combobox.h", "cocoa/bubble_combobox.mm", "cocoa/bubble_sync_promo_controller.h", @@ -2666,6 +2729,8 @@ split_static_library("ui") { "cocoa/constrained_window/constrained_window_sheet_info.mm", "cocoa/constrained_window/constrained_window_web_dialog_sheet.h", "cocoa/constrained_window/constrained_window_web_dialog_sheet.mm", + "cocoa/content_settings/blocked_plugin_bubble_controller.h", + "cocoa/content_settings/blocked_plugin_bubble_controller.mm", "cocoa/content_settings/collected_cookies_mac.h", "cocoa/content_settings/collected_cookies_mac.mm", "cocoa/content_settings/content_setting_bubble_cocoa.h", @@ -2678,7 +2743,6 @@ split_static_library("ui") { "cocoa/content_settings/cookie_tree_node.mm", "cocoa/content_settings/cookies_tree_controller_bridge.h", "cocoa/content_settings/cookies_tree_controller_bridge.mm", - "cocoa/create_application_shortcut_cocoa.mm", "cocoa/create_native_web_modal_manager_cocoa.mm", "cocoa/custom_frame_view.h", "cocoa/custom_frame_view.mm", @@ -2686,6 +2750,8 @@ split_static_library("ui") { "cocoa/dev_tools_controller.mm", "cocoa/device_chooser_content_view_cocoa.h", "cocoa/device_chooser_content_view_cocoa.mm", + "cocoa/dialog_text_field_editor.h", + "cocoa/dialog_text_field_editor.mm", "cocoa/download/background_theme.h", "cocoa/download/background_theme.mm", "cocoa/download/download_danger_prompt_impl.cc", @@ -2971,7 +3037,9 @@ split_static_library("ui") { "cocoa/screen_capture_notification_ui_cocoa.h", "cocoa/screen_capture_notification_ui_cocoa.mm", "cocoa/session_crashed_bubble.mm", - "cocoa/simple_message_box_mac.mm", + "cocoa/simple_message_box_bridge_views.mm", + "cocoa/simple_message_box_cocoa.h", + "cocoa/simple_message_box_cocoa.mm", "cocoa/single_web_contents_dialog_manager_cocoa.h", "cocoa/single_web_contents_dialog_manager_cocoa.mm", "cocoa/spinner_view.h", @@ -3039,6 +3107,8 @@ split_static_library("ui") { "cocoa/toolbar/toolbar_controller.mm", "cocoa/toolbar/toolbar_view_cocoa.h", "cocoa/toolbar/toolbar_view_cocoa.mm", + "cocoa/translate/translate_bubble_bridge_views.h", + "cocoa/translate/translate_bubble_bridge_views.mm", "cocoa/translate/translate_bubble_controller.h", "cocoa/translate/translate_bubble_controller.mm", "cocoa/url_drop_target.h", @@ -3053,6 +3123,8 @@ split_static_library("ui") { "cocoa/view_resizer.h", "cocoa/web_contents_modal_dialog_manager_views_mac.h", "cocoa/web_contents_modal_dialog_manager_views_mac.mm", + "cocoa/web_textfield_touch_bar_controller.h", + "cocoa/web_textfield_touch_bar_controller.mm", "cocoa/window_size_autosaver.h", "cocoa/window_size_autosaver.mm", @@ -3117,12 +3189,14 @@ split_static_library("ui") { "views/settings_reset_prompt_dialog.h", "views/uninstall_view.cc", "views/uninstall_view.h", - "webui/cleanup_tool/cleanup_action_handler.cc", - "webui/cleanup_tool/cleanup_action_handler.h", - "webui/cleanup_tool/cleanup_tool_ui.cc", - "webui/cleanup_tool/cleanup_tool_ui.h", + "webui/conflicts_handler.cc", + "webui/conflicts_handler.h", "webui/conflicts_ui.cc", "webui/conflicts_ui.h", + "webui/module_database_conflicts_handler.cc", + "webui/module_database_conflicts_handler.h", + "webui/settings/chrome_cleanup_handler.cc", + "webui/settings/chrome_cleanup_handler.h", "webui/welcome_win10_handler.cc", "webui/welcome_win10_handler.h", "webui/welcome_win10_ui.cc", @@ -3218,7 +3292,7 @@ split_static_library("ui") { "webui/certificate_viewer_webui.h", ] if (use_aura) { - deps += [ "//build/linux:fontconfig" ] + deps += [ "//third_party/fontconfig" ] if (use_dbus) { deps += [ "//dbus" ] } @@ -3284,10 +3358,22 @@ split_static_library("ui") { "app_list/profile_loader.cc", "app_list/profile_loader.h", "app_list/profile_store.h", + "app_list/search/answer_card/answer_card_contents.cc", + "app_list/search/answer_card/answer_card_contents.h", + "app_list/search/answer_card/answer_card_result.cc", + "app_list/search/answer_card/answer_card_result.h", + "app_list/search/answer_card/answer_card_search_provider.cc", + "app_list/search/answer_card/answer_card_search_provider.h", + "app_list/search/answer_card/answer_card_web_contents.cc", + "app_list/search/answer_card/answer_card_web_contents.h", "app_list/search/app_result.cc", "app_list/search/app_result.h", "app_list/search/app_search_provider.cc", "app_list/search/app_search_provider.h", + "app_list/search/arc/arc_playstore_search_provider.cc", + "app_list/search/arc/arc_playstore_search_provider.h", + "app_list/search/arc/arc_playstore_search_result.cc", + "app_list/search/arc/arc_playstore_search_result.h", "app_list/search/common/json_response_fetcher.cc", "app_list/search/common/json_response_fetcher.h", "app_list/search/common/url_icon_source.cc", @@ -3324,8 +3410,6 @@ split_static_library("ui") { "app_list/search/webstore/webstore_provider.h", "app_list/search/webstore/webstore_result.cc", "app_list/search/webstore/webstore_result.h", - "app_list/search_answer_web_contents_delegate.cc", - "app_list/search_answer_web_contents_delegate.h", "app_list/speech_auth_helper.cc", "app_list/speech_auth_helper.h", "app_list/speech_recognizer.cc", @@ -3371,6 +3455,10 @@ split_static_library("ui") { "app_list/arc/arc_package_syncable_service.h", "app_list/arc/arc_package_syncable_service_factory.cc", "app_list/arc/arc_package_syncable_service_factory.h", + "app_list/arc/arc_pai_starter.cc", + "app_list/arc/arc_pai_starter.h", + "app_list/arc/arc_playstore_app_context_menu.cc", + "app_list/arc/arc_playstore_app_context_menu.h", "app_list/search/arc_app_result.cc", "app_list/search/arc_app_result.h", "ash/launcher/arc_app_deferred_launcher_controller.cc", @@ -3392,7 +3480,10 @@ split_static_library("ui") { "views/arc_app_dialog_view.cc", ] } - deps += [ "//ui/app_list" ] + deps += [ + "//ui/app_list", + "//ui/app_list/vector_icons", + ] } else { sources += [ "app_list/app_list_service.h", @@ -3481,6 +3572,8 @@ split_static_library("ui") { "webui/media_router/media_cast_mode.h", "webui/media_router/media_router_dialog_controller_impl.cc", "webui/media_router/media_router_dialog_controller_impl.h", + "webui/media_router/media_router_file_dialog.cc", + "webui/media_router/media_router_file_dialog.h", "webui/media_router/media_router_localized_strings_provider.cc", "webui/media_router/media_router_localized_strings_provider.h", "webui/media_router/media_router_resources_provider.cc", @@ -3538,6 +3631,8 @@ static_library("test_support") { sources = [ "cocoa/test/cocoa_test_helper.h", "cocoa/test/cocoa_test_helper.mm", + "cocoa/test/menu_test_observer.h", + "cocoa/test/menu_test_observer.mm", "cocoa/test/run_loop_testing.h", "cocoa/test/run_loop_testing.mm", "cocoa/test/scoped_force_rtl_mac.h", @@ -3588,6 +3683,7 @@ static_library("test_support") { "cocoa/extensions/browser_action_test_util_mac.mm", "cocoa/find_bar/find_bar_host_unittest_util_cocoa.mm", ] + deps += [ "//ui/base:test_support" ] } } |