Pin Chrome's shortcut to the Win10 Start menu on install and OS upgrade.
[chromium-blink-merge.git] / chrome / chrome_browser_ui.gypi
blob8d5580c43c16f2261182ae540efc431857fb71f2
1 # Copyright 2012 The Chromium Authors. All rights reserved.
2 # Use of this source code is governed by a BSD-style license that can be
3 # found in the LICENSE file.
6   'variables': {
7     # There are two sections of sources:
8     # * "Platform"-based sources (OS, toolkit, etc.)
9     # * Feature/directory-based sources (e.g., history, printing)
11     ### Platform-based sources ###
12     'chrome_browser_ui_non_ios_sources': [
13       'browser/ui/accelerator_utils.h',
14       'browser/ui/android/android_about_app_info.cc',
15       'browser/ui/android/android_about_app_info.h',
16       'browser/ui/android/autofill/autofill_dialog_controller_android.cc',
17       'browser/ui/android/autofill/autofill_dialog_controller_android.h',
18       'browser/ui/android/autofill/autofill_dialog_result.cc',
19       'browser/ui/android/autofill/autofill_dialog_result.h',
20       'browser/ui/android/autofill/autofill_keyboard_accessory_view.cc',
21       'browser/ui/android/autofill/autofill_keyboard_accessory_view.h',
22       'browser/ui/android/autofill/autofill_logger_android.cc',
23       'browser/ui/android/autofill/autofill_logger_android.h',
24       'browser/ui/android/autofill/autofill_popup_view_android.cc',
25       'browser/ui/android/autofill/autofill_popup_view_android.h',
26       'browser/ui/android/autofill/card_unmask_prompt_view_android.cc',
27       'browser/ui/android/autofill/card_unmask_prompt_view_android.h',
28       'browser/ui/android/autofill/password_generation_popup_view_android.cc',
29       'browser/ui/android/autofill/password_generation_popup_view_android.h',
30       'browser/ui/android/certificate_viewer_android.cc',
31       'browser/ui/android/certificate_viewer_android.h',
32       'browser/ui/android/chrome_http_auth_handler.cc',
33       'browser/ui/android/chrome_http_auth_handler.h',
34       'browser/ui/android/color_chooser_dialog_android.cc',
35       'browser/ui/android/connection_info_popup_android.cc',
36       'browser/ui/android/connection_info_popup_android.h',
37       'browser/ui/android/content_settings/popup_blocked_infobar_delegate.cc',
38       'browser/ui/android/content_settings/popup_blocked_infobar_delegate.h',
39       'browser/ui/android/context_menu_helper.cc',
40       'browser/ui/android/context_menu_helper.h',
41       'browser/ui/android/external_protocol_dialog_android.cc',
42       'browser/ui/android/infobars/app_banner_infobar_android.cc',
43       'browser/ui/android/infobars/app_banner_infobar_android.h',
44       'browser/ui/android/infobars/confirm_infobar.cc',
45       'browser/ui/android/infobars/confirm_infobar.h',
46       'browser/ui/android/infobars/data_reduction_proxy_infobar.cc',
47       'browser/ui/android/infobars/data_reduction_proxy_infobar.h',
48       'browser/ui/android/infobars/download_overwrite_infobar.cc',
49       'browser/ui/android/infobars/download_overwrite_infobar.h',
50       'browser/ui/android/infobars/infobar_android.cc',
51       'browser/ui/android/infobars/infobar_android.h',
52       'browser/ui/android/infobars/infobar_container_android.cc',
53       'browser/ui/android/infobars/infobar_container_android.h',
54       'browser/ui/android/infobars/save_password_infobar.cc',
55       'browser/ui/android/infobars/save_password_infobar.h',
56       'browser/ui/android/infobars/translate_infobar.cc',
57       'browser/ui/android/infobars/translate_infobar.h',
58       'browser/ui/android/javascript_app_modal_dialog_android.cc',
59       'browser/ui/android/login_prompt_android.cc',
60       'browser/ui/android/navigation_popup.cc',
61       'browser/ui/android/navigation_popup.h',
62       'browser/ui/android/omnibox/omnibox_url_emphasizer.cc',
63       'browser/ui/android/omnibox/omnibox_url_emphasizer.h',
64       'browser/ui/android/omnibox/omnibox_view_util.cc',
65       'browser/ui/android/omnibox/omnibox_view_util.h',
66       'browser/ui/android/simple_message_box_android.cc',
67       'browser/ui/android/ssl_client_certificate_request.cc',
68       'browser/ui/android/ssl_client_certificate_request.h',
69       'browser/ui/android/status_tray_android.cc',
70       'browser/ui/android/tab_contents/chrome_web_contents_view_delegate_android.cc',
71       'browser/ui/android/tab_contents/chrome_web_contents_view_delegate_android.h',
72       'browser/ui/android/tab_model/single_tab_model.cc',
73       'browser/ui/android/tab_model/single_tab_model.h',
74       'browser/ui/android/tab_model/tab_model.cc',
75       'browser/ui/android/tab_model/tab_model.h',
76       'browser/ui/android/tab_model/tab_model_jni_bridge.cc',
77       'browser/ui/android/tab_model/tab_model_jni_bridge.h',
78       'browser/ui/android/tab_model/tab_model_list.cc',
79       'browser/ui/android/tab_model/tab_model_list.h',
80       'browser/ui/android/tab_restore_service_delegate_android.cc',
81       'browser/ui/android/website_settings_popup_android.cc',
82       'browser/ui/android/website_settings_popup_android.h',
83       'browser/ui/android/window_android_helper.cc',
84       'browser/ui/android/window_android_helper.h',
85       'browser/ui/app_list/app_list_util.cc',
86       'browser/ui/app_list/app_list_util.h',
87       # All other browser/ui/app_list files go in chrome_browser_ui_app_list_sources.
88       'browser/ui/app_modal/chrome_javascript_native_dialog_factory.h',
89       'browser/ui/autofill/autofill_dialog_controller.cc',
90       'browser/ui/autofill/autofill_dialog_controller.h',
91       'browser/ui/autofill/autofill_dialog_models.cc',
92       'browser/ui/autofill/autofill_dialog_models.h',
93       'browser/ui/autofill/autofill_dialog_types.cc',
94       'browser/ui/autofill/autofill_dialog_types.h',
95       'browser/ui/autofill/autofill_popup_controller.h',
96       'browser/ui/autofill/autofill_popup_controller_impl.cc',
97       'browser/ui/autofill/autofill_popup_controller_impl.h',
98       'browser/ui/autofill/autofill_popup_view.h',
99       'browser/ui/autofill/autofill_popup_view_delegate.h',
100       'browser/ui/autofill/chrome_autofill_client.cc',
101       'browser/ui/autofill/chrome_autofill_client.h',
102       'browser/ui/autofill/chrome_autofill_client_mac.mm',
103       'browser/ui/autofill/country_combobox_model.cc',
104       'browser/ui/autofill/country_combobox_model.h',
105       'browser/ui/autofill/create_card_unmask_prompt_view.h',
106       'browser/ui/autofill/credit_card_scanner_controller.cc',
107       'browser/ui/autofill/credit_card_scanner_controller.h',
108       'browser/ui/autofill/credit_card_scanner_view.cc',
109       'browser/ui/autofill/credit_card_scanner_view.h',
110       'browser/ui/autofill/credit_card_scanner_view_delegate.h',
111       'browser/ui/autofill/loading_animation.cc',
112       'browser/ui/autofill/loading_animation.h',
113       'browser/ui/autofill/password_generation_popup_controller.h',
114       'browser/ui/autofill/password_generation_popup_controller_impl.cc',
115       'browser/ui/autofill/password_generation_popup_controller_impl.h',
116       'browser/ui/autofill/password_generation_popup_observer.h',
117       'browser/ui/autofill/password_generation_popup_view.cc',
118       'browser/ui/autofill/password_generation_popup_view.h',
119       'browser/ui/autofill/popup_controller_common.cc',
120       'browser/ui/autofill/popup_controller_common.h',
121       'browser/ui/blocked_content/app_modal_dialog_helper.cc',
122       'browser/ui/blocked_content/app_modal_dialog_helper.h',
123       'browser/ui/blocked_content/blocked_window_params.cc',
124       'browser/ui/blocked_content/blocked_window_params.h',
125       'browser/ui/blocked_content/popup_blocker_tab_helper.cc',
126       'browser/ui/blocked_content/popup_blocker_tab_helper.h',
127       'browser/ui/bookmarks/bookmark_bar.h',
128       'browser/ui/bookmarks/bookmark_bar_constants.h',
129       'browser/ui/bookmarks/bookmark_bar_instructions_delegate.h',
130       'browser/ui/bookmarks/bookmark_bubble_delegate.h',
131       'browser/ui/bookmarks/bookmark_editor.cc',
132       'browser/ui/bookmarks/bookmark_editor.h',
133       'browser/ui/bookmarks/bookmark_tab_helper.cc',
134       'browser/ui/bookmarks/bookmark_tab_helper.h',
135       'browser/ui/bookmarks/bookmark_utils.cc',
136       'browser/ui/bookmarks/bookmark_utils.h',
137       'browser/ui/bookmarks/recently_used_folders_combo_model.cc',
138       'browser/ui/bookmarks/recently_used_folders_combo_model.h',
139       'browser/ui/browser_commands_chromeos.cc',
140       'browser/ui/browser_commands_chromeos.h',
141       'browser/ui/browser_commands_mac.cc',
142       'browser/ui/browser_commands_mac.h',
143       'browser/ui/browser_dialogs.h',
144       'browser/ui/browser_mac.cc',
145       'browser/ui/browser_mac.h',
146       'browser/ui/browser_navigator.cc',
147       'browser/ui/browser_navigator.h',
148       'browser/ui/browser_otr_state_android.cc',
149       'browser/ui/browser_ui_prefs.cc',
150       'browser/ui/browser_ui_prefs.h',
151       'browser/ui/browser_win.cc',
152       'browser/ui/browser_window.h',
153       'browser/ui/chrome_select_file_policy.cc',
154       'browser/ui/chrome_select_file_policy.h',
155       'browser/ui/confirm_bubble.h',
156       'browser/ui/crypto_module_password_dialog.h',
157       'browser/ui/find_bar/find_bar.h',
158       'browser/ui/find_bar/find_bar_state.h',
159       'browser/ui/find_bar/find_bar_state_factory.cc',
160       'browser/ui/find_bar/find_bar_state_factory.h',
161       'browser/ui/find_bar/find_notification_details.h',
162       'browser/ui/find_bar/find_tab_helper.cc',
163       'browser/ui/find_bar/find_tab_helper.h',
164       'browser/ui/global_error/global_error.cc',
165       'browser/ui/global_error/global_error.h',
166       'browser/ui/global_error/global_error_bubble_view_base.h',
167       'browser/ui/global_error/global_error_service.cc',
168       'browser/ui/global_error/global_error_service.h',
169       'browser/ui/global_error/global_error_service_factory.cc',
170       'browser/ui/global_error/global_error_service_factory.h',
171       'browser/ui/host_desktop.cc',
172       'browser/ui/host_desktop.h',
173       'browser/ui/login/login_interstitial_delegate.cc',
174       'browser/ui/login/login_interstitial_delegate.h',
175       'browser/ui/login/login_prompt.cc',
176       'browser/ui/login/login_prompt.h',
177       'browser/ui/media_utils.cc',
178       'browser/ui/media_utils.h',
179       'browser/ui/metro_pin_tab_helper_win.cc',
180       'browser/ui/metro_pin_tab_helper_win.h',
181       'browser/ui/navigation_correction_tab_observer.cc',
182       'browser/ui/navigation_correction_tab_observer.h',
183       'browser/ui/omnibox/omnibox_view.cc',
184       'browser/ui/omnibox/omnibox_view.h',
185       'browser/ui/passwords/account_avatar_fetcher.cc',
186       'browser/ui/passwords/account_avatar_fetcher.h',
187       'browser/ui/passwords/account_chooser_more_combobox_model.cc',
188       'browser/ui/passwords/account_chooser_more_combobox_model.h',
189       'browser/ui/passwords/manage_passwords_bubble.cc',
190       'browser/ui/passwords/manage_passwords_bubble.h',
191       'browser/ui/passwords/manage_passwords_bubble_model.cc',
192       'browser/ui/passwords/manage_passwords_bubble_model.h',
193       'browser/ui/passwords/manage_passwords_icon.cc',
194       'browser/ui/passwords/manage_passwords_icon.h',
195       'browser/ui/passwords/manage_passwords_state.cc',
196       'browser/ui/passwords/manage_passwords_state.h',
197       'browser/ui/passwords/manage_passwords_ui_controller.cc',
198       'browser/ui/passwords/manage_passwords_ui_controller.h',
199       'browser/ui/passwords/manage_passwords_view_utils.cc',
200       'browser/ui/passwords/manage_passwords_view_utils.h',
201       'browser/ui/passwords/password_manager_presenter.cc',
202       'browser/ui/passwords/password_manager_presenter.h',
203       'browser/ui/passwords/password_ui_view.h',
204       'browser/ui/passwords/save_password_refusal_combobox_model.cc',
205       'browser/ui/passwords/save_password_refusal_combobox_model.h',
206       'browser/ui/platform_keys_certificate_selector_chromeos.h',
207       'browser/ui/prefs/prefs_tab_helper.cc',
208       'browser/ui/prefs/prefs_tab_helper.h',
209       'browser/ui/process_singleton_dialog_linux.h',
210       'browser/ui/profile_chooser_constants.h',
211       'browser/ui/profile_error_dialog.cc',
212       'browser/ui/profile_error_dialog.h',
213       'browser/ui/protocol_dialog_delegate.h',
214       'browser/ui/proximity_auth/proximity_auth_error_bubble.cc',
215       'browser/ui/proximity_auth/proximity_auth_error_bubble.h',
216       'browser/ui/screen_capture_notification_ui.h',
217       'browser/ui/search/instant_page.cc',
218       'browser/ui/search/instant_page.h',
219       'browser/ui/search/instant_search_prerenderer.cc',
220       'browser/ui/search/instant_search_prerenderer.h',
221       'browser/ui/search/instant_tab.cc',
222       'browser/ui/search/instant_tab.h',
223       'browser/ui/search/new_tab_page_interceptor_service.cc',
224       'browser/ui/search/new_tab_page_interceptor_service.h',
225       'browser/ui/search/new_tab_page_interceptor_service_factory.cc',
226       'browser/ui/search/new_tab_page_interceptor_service_factory.h',
227       'browser/ui/search/search_ipc_router.cc',
228       'browser/ui/search/search_ipc_router.h',
229       'browser/ui/search/search_ipc_router_policy_impl.cc',
230       'browser/ui/search/search_ipc_router_policy_impl.h',
231       'browser/ui/search/search_model.cc',
232       'browser/ui/search/search_model.h',
233       'browser/ui/search/search_model_observer.h',
234       'browser/ui/search/search_tab_helper.cc',
235       'browser/ui/search/search_tab_helper.h',
236       'browser/ui/search/search_tab_helper_delegate.cc',
237       'browser/ui/search/search_tab_helper_delegate.h',
238       'browser/ui/search_engines/edit_search_engine_controller.cc',
239       'browser/ui/search_engines/edit_search_engine_controller.h',
240       'browser/ui/search_engines/keyword_editor_controller.cc',
241       'browser/ui/search_engines/keyword_editor_controller.h',
242       'browser/ui/search_engines/search_engine_tab_helper.cc',
243       'browser/ui/search_engines/search_engine_tab_helper.h',
244       'browser/ui/search_engines/template_url_table_model.cc',
245       'browser/ui/search_engines/template_url_table_model.h',
246       'browser/ui/settings_window_manager.cc',
247       'browser/ui/settings_window_manager.h',
248       'browser/ui/settings_window_manager_observer.h',
249       'browser/ui/simple_message_box.h',
250       'browser/ui/simple_message_box_internal.cc',
251       'browser/ui/simple_message_box_internal.h',
252       'browser/ui/status_bubble.h',
253       'browser/ui/sync/inline_login_dialog.cc',
254       'browser/ui/sync/inline_login_dialog.h',
255       'browser/ui/sync/profile_signin_confirmation_helper.cc',
256       'browser/ui/sync/profile_signin_confirmation_helper.h',
257       'browser/ui/sync/tab_contents_synced_tab_delegate.cc',
258       'browser/ui/sync/tab_contents_synced_tab_delegate.h',
259       'browser/ui/tab_contents/chrome_web_contents_view_delegate.h',
260       'browser/ui/tab_contents/core_tab_helper.cc',
261       'browser/ui/tab_contents/core_tab_helper.h',
262       'browser/ui/tab_contents/core_tab_helper_delegate.cc',
263       'browser/ui/tab_contents/core_tab_helper_delegate.h',
264       'browser/ui/tab_dialogs.cc',
265       'browser/ui/tab_dialogs.h',
266       'browser/ui/tab_helpers.cc',
267       'browser/ui/tab_helpers.h',
268       'browser/ui/tab_modal_confirm_dialog.h',
269       'browser/ui/tabs/tab_utils.cc',
270       'browser/ui/tabs/tab_utils.h',
271       'browser/ui/translate/language_combobox_model.cc',
272       'browser/ui/translate/language_combobox_model.h',
273       'browser/ui/translate/translate_bubble_factory.cc',
274       'browser/ui/translate/translate_bubble_factory.h',
275       'browser/ui/translate/translate_bubble_model.h',
276       'browser/ui/translate/translate_bubble_model_impl.cc',
277       'browser/ui/translate/translate_bubble_model_impl.h',
278       'browser/ui/translate/translate_bubble_view_state_transition.cc',
279       'browser/ui/translate/translate_bubble_view_state_transition.h',
280       'browser/ui/uninstall_browser_prompt.h',
281       'browser/ui/user_manager.h',
282       'browser/ui/validation_message_bubble.h',
283       'browser/ui/view_ids.h',
284       'browser/ui/views/platform_keys_certificate_selector_chromeos.cc',
285       'browser/ui/views/platform_keys_certificate_selector_chromeos.h',
286       'browser/ui/web_contents_sizer.h',
287       'browser/ui/website_settings/permission_bubble_manager.cc',
288       'browser/ui/website_settings/permission_bubble_manager.h',
289       'browser/ui/website_settings/permission_bubble_request.cc',
290       'browser/ui/website_settings/permission_bubble_request.h',
291       'browser/ui/website_settings/permission_bubble_view.h',
292       'browser/ui/website_settings/website_settings.cc',
293       'browser/ui/website_settings/website_settings.h',
294       'browser/ui/website_settings/website_settings_infobar_delegate.cc',
295       'browser/ui/website_settings/website_settings_infobar_delegate.h',
296       'browser/ui/website_settings/website_settings_ui.cc',
297       'browser/ui/website_settings/website_settings_ui.h',
298       'browser/ui/webui/about_ui.cc',
299       'browser/ui/webui/about_ui.h',
300       'browser/ui/webui/chrome_web_ui_controller_factory.cc',
301       'browser/ui/webui/chrome_web_ui_controller_factory.h',
302       'browser/ui/webui/chromeos/bluetooth_pairing_ui.cc',
303       'browser/ui/webui/chromeos/bluetooth_pairing_ui.h',
304       'browser/ui/webui/chromeos/certificate_manager_dialog_ui.cc',
305       'browser/ui/webui/chromeos/certificate_manager_dialog_ui.h',
306       'browser/ui/webui/chromeos/choose_mobile_network_ui.cc',
307       'browser/ui/webui/chromeos/choose_mobile_network_ui.h',
308       'browser/ui/webui/chromeos/cryptohome_ui.cc',
309       'browser/ui/webui/chromeos/cryptohome_ui.h',
310       'browser/ui/webui/chromeos/cryptohome_web_ui_handler.cc',
311       'browser/ui/webui/chromeos/cryptohome_web_ui_handler.h',
312       'browser/ui/webui/chromeos/drive_internals_ui.cc',
313       'browser/ui/webui/chromeos/drive_internals_ui.h',
314       'browser/ui/webui/chromeos/emulator/device_emulator_message_handler.cc',
315       'browser/ui/webui/chromeos/emulator/device_emulator_message_handler.h',
316       'browser/ui/webui/chromeos/emulator/device_emulator_ui.cc',
317       'browser/ui/webui/chromeos/emulator/device_emulator_ui.h',
318       'browser/ui/webui/chromeos/first_run/first_run_actor.cc',
319       'browser/ui/webui/chromeos/first_run/first_run_actor.h',
320       'browser/ui/webui/chromeos/first_run/first_run_handler.cc',
321       'browser/ui/webui/chromeos/first_run/first_run_handler.h',
322       'browser/ui/webui/chromeos/first_run/first_run_ui.cc',
323       'browser/ui/webui/chromeos/first_run/first_run_ui.h',
324       'browser/ui/webui/chromeos/image_source.cc',
325       'browser/ui/webui/chromeos/image_source.h',
326       'browser/ui/webui/chromeos/imageburner/imageburner_ui.cc',
327       'browser/ui/webui/chromeos/imageburner/imageburner_ui.h',
328       'browser/ui/webui/chromeos/keyboard_overlay_ui.cc',
329       'browser/ui/webui/chromeos/keyboard_overlay_ui.h',
330       'browser/ui/webui/chromeos/login/app_launch_splash_screen_handler.cc',
331       'browser/ui/webui/chromeos/login/app_launch_splash_screen_handler.h',
332       'browser/ui/webui/chromeos/login/authenticated_user_email_retriever.cc',
333       'browser/ui/webui/chromeos/login/authenticated_user_email_retriever.h',
334       'browser/ui/webui/chromeos/login/auto_enrollment_check_screen_handler.cc',
335       'browser/ui/webui/chromeos/login/auto_enrollment_check_screen_handler.h',
336       'browser/ui/webui/chromeos/login/base_screen_handler.cc',
337       'browser/ui/webui/chromeos/login/base_screen_handler.h',
338       'browser/ui/webui/chromeos/login/controller_pairing_screen_handler.cc',
339       'browser/ui/webui/chromeos/login/controller_pairing_screen_handler.h',
340       'browser/ui/webui/chromeos/login/core_oobe_handler.cc',
341       'browser/ui/webui/chromeos/login/core_oobe_handler.h',
342       'browser/ui/webui/chromeos/login/demo_mode_detector.cc',
343       'browser/ui/webui/chromeos/login/demo_mode_detector.h',
344       'browser/ui/webui/chromeos/login/device_disabled_screen_handler.cc',
345       'browser/ui/webui/chromeos/login/device_disabled_screen_handler.h',
346       'browser/ui/webui/chromeos/login/enable_debugging_screen_handler.cc',
347       'browser/ui/webui/chromeos/login/enable_debugging_screen_handler.h',
348       'browser/ui/webui/chromeos/login/enrollment_screen_handler.cc',
349       'browser/ui/webui/chromeos/login/enrollment_screen_handler.h',
350       'browser/ui/webui/chromeos/login/error_screen_handler.cc',
351       'browser/ui/webui/chromeos/login/error_screen_handler.h',
352       'browser/ui/webui/chromeos/login/eula_screen_handler.cc',
353       'browser/ui/webui/chromeos/login/eula_screen_handler.h',
354       'browser/ui/webui/chromeos/login/gaia_screen_handler.cc',
355       'browser/ui/webui/chromeos/login/gaia_screen_handler.h',
356       'browser/ui/webui/chromeos/login/hid_detection_screen_handler.cc',
357       'browser/ui/webui/chromeos/login/hid_detection_screen_handler.h',
358       'browser/ui/webui/chromeos/login/host_pairing_screen_handler.cc',
359       'browser/ui/webui/chromeos/login/host_pairing_screen_handler.h',
360       'browser/ui/webui/chromeos/login/inline_login_handler_chromeos.cc',
361       'browser/ui/webui/chromeos/login/inline_login_handler_chromeos.h',
362       'browser/ui/webui/chromeos/login/kiosk_app_menu_handler.cc',
363       'browser/ui/webui/chromeos/login/kiosk_app_menu_handler.h',
364       'browser/ui/webui/chromeos/login/kiosk_autolaunch_screen_handler.cc',
365       'browser/ui/webui/chromeos/login/kiosk_autolaunch_screen_handler.h',
366       'browser/ui/webui/chromeos/login/kiosk_enable_screen_handler.cc',
367       'browser/ui/webui/chromeos/login/kiosk_enable_screen_handler.h',
368       'browser/ui/webui/chromeos/login/l10n_util.cc',
369       'browser/ui/webui/chromeos/login/l10n_util.h',
370       'browser/ui/webui/chromeos/login/network_dropdown.cc',
371       'browser/ui/webui/chromeos/login/network_dropdown.h',
372       'browser/ui/webui/chromeos/login/network_dropdown_handler.cc',
373       'browser/ui/webui/chromeos/login/network_dropdown_handler.h',
374       'browser/ui/webui/chromeos/login/network_screen_handler.cc',
375       'browser/ui/webui/chromeos/login/network_screen_handler.h',
376       'browser/ui/webui/chromeos/login/network_state_informer.cc',
377       'browser/ui/webui/chromeos/login/network_state_informer.h',
378       'browser/ui/webui/chromeos/login/oobe_ui.cc',
379       'browser/ui/webui/chromeos/login/oobe_ui.h',
380       'browser/ui/webui/chromeos/login/reset_screen_handler.cc',
381       'browser/ui/webui/chromeos/login/reset_screen_handler.h',
382       'browser/ui/webui/chromeos/login/screenlock_icon_provider.cc',
383       'browser/ui/webui/chromeos/login/screenlock_icon_provider.h',
384       'browser/ui/webui/chromeos/login/screenlock_icon_source.cc',
385       'browser/ui/webui/chromeos/login/screenlock_icon_source.h',
386       'browser/ui/webui/chromeos/login/signin_screen_handler.cc',
387       'browser/ui/webui/chromeos/login/signin_screen_handler.h',
388       'browser/ui/webui/chromeos/login/supervised_user_creation_screen_handler.cc',
389       'browser/ui/webui/chromeos/login/supervised_user_creation_screen_handler.h',
390       'browser/ui/webui/chromeos/login/terms_of_service_screen_handler.cc',
391       'browser/ui/webui/chromeos/login/terms_of_service_screen_handler.h',
392       'browser/ui/webui/chromeos/login/update_screen_handler.cc',
393       'browser/ui/webui/chromeos/login/update_screen_handler.h',
394       'browser/ui/webui/chromeos/login/user_board_screen_handler.cc',
395       'browser/ui/webui/chromeos/login/user_board_screen_handler.h',
396       'browser/ui/webui/chromeos/login/user_image_screen_handler.cc',
397       'browser/ui/webui/chromeos/login/user_image_screen_handler.h',
398       'browser/ui/webui/chromeos/login/wrong_hwid_screen_handler.cc',
399       'browser/ui/webui/chromeos/login/wrong_hwid_screen_handler.h',
400       'browser/ui/webui/chromeos/mobile_setup_dialog.cc',
401       'browser/ui/webui/chromeos/mobile_setup_dialog.h',
402       'browser/ui/webui/chromeos/mobile_setup_ui.cc',
403       'browser/ui/webui/chromeos/mobile_setup_ui.h',
404       'browser/ui/webui/chromeos/network_ui.cc',
405       'browser/ui/webui/chromeos/network_ui.h',
406       'browser/ui/webui/chromeos/nfc_debug_ui.cc',
407       'browser/ui/webui/chromeos/nfc_debug_ui.h',
408       'browser/ui/webui/chromeos/power_ui.cc',
409       'browser/ui/webui/chromeos/power_ui.h',
410       'browser/ui/webui/chromeos/proxy_settings_ui.cc',
411       'browser/ui/webui/chromeos/proxy_settings_ui.h',
412       'browser/ui/webui/chromeos/salsa_ui.cc',
413       'browser/ui/webui/chromeos/salsa_ui.h',
414       'browser/ui/webui/chromeos/set_time_ui.cc',
415       'browser/ui/webui/chromeos/set_time_ui.h',
416       'browser/ui/webui/chromeos/sim_unlock_ui.cc',
417       'browser/ui/webui/chromeos/sim_unlock_ui.h',
418       'browser/ui/webui/chromeos/slow_trace_ui.cc',
419       'browser/ui/webui/chromeos/slow_trace_ui.h',
420       'browser/ui/webui/chromeos/slow_ui.cc',
421       'browser/ui/webui/chromeos/slow_ui.h',
422       'browser/ui/webui/chromeos/touch_view_controller_delegate.cc',
423       'browser/ui/webui/chromeos/touch_view_controller_delegate.h',
424       'browser/ui/webui/chromeos/ui_account_tweaks.cc',
425       'browser/ui/webui/chromeos/ui_account_tweaks.h',
426       'browser/ui/webui/components_ui.cc',
427       'browser/ui/webui/components_ui.h',
428       'browser/ui/webui/constrained_web_dialog_delegate_base.cc',
429       'browser/ui/webui/constrained_web_dialog_delegate_base.h',
430       'browser/ui/webui/constrained_web_dialog_ui.cc',
431       'browser/ui/webui/constrained_web_dialog_ui.h',
432       'browser/ui/webui/cookies_tree_model_util.cc',
433       'browser/ui/webui/cookies_tree_model_util.h',
434       'browser/ui/webui/crashes_ui.cc',
435       'browser/ui/webui/crashes_ui.h',
436       'browser/ui/webui/device_log_ui.cc',
437       'browser/ui/webui/device_log_ui.h',
438       'browser/ui/webui/domain_reliability_internals_ui.cc',
439       'browser/ui/webui/domain_reliability_internals_ui.h',
440       'browser/ui/webui/fallback_icon_source.cc',
441       'browser/ui/webui/fallback_icon_source.h',
442       'browser/ui/webui/favicon_source.cc',
443       'browser/ui/webui/favicon_source.h',
444       'browser/ui/webui/fileicon_source.cc',
445       'browser/ui/webui/fileicon_source.h',
446       'browser/ui/webui/flags_ui.cc',
447       'browser/ui/webui/flags_ui.h',
448       'browser/ui/webui/foreign_session_handler.cc',
449       'browser/ui/webui/foreign_session_handler.h',
450       'browser/ui/webui/gcm_internals_ui.cc',
451       'browser/ui/webui/gcm_internals_ui.h',
452       'browser/ui/webui/history_ui.cc',
453       'browser/ui/webui/history_ui.h',
454       'browser/ui/webui/instant_ui.cc',
455       'browser/ui/webui/instant_ui.h',
456       'browser/ui/webui/interstitials/interstitial_ui.cc',
457       'browser/ui/webui/interstitials/interstitial_ui.h',
458       'browser/ui/webui/invalidations_message_handler.cc',
459       'browser/ui/webui/invalidations_message_handler.h',
460       'browser/ui/webui/invalidations_ui.cc',
461       'browser/ui/webui/invalidations_ui.h',
462       'browser/ui/webui/large_icon_source.cc',
463       'browser/ui/webui/large_icon_source.h',
464       'browser/ui/webui/local_state/local_state_ui.cc',
465       'browser/ui/webui/local_state/local_state_ui.h',
466       'browser/ui/webui/memory_internals/memory_internals_handler.cc',
467       'browser/ui/webui/memory_internals/memory_internals_handler.h',
468       'browser/ui/webui/memory_internals/memory_internals_proxy.cc',
469       'browser/ui/webui/memory_internals/memory_internals_proxy.h',
470       'browser/ui/webui/memory_internals/memory_internals_ui.cc',
471       'browser/ui/webui/memory_internals/memory_internals_ui.h',
472       'browser/ui/webui/metrics_handler.cc',
473       'browser/ui/webui/metrics_handler.h',
474       'browser/ui/webui/mojo_web_ui_controller.cc',
475       'browser/ui/webui/mojo_web_ui_controller.h',
476       'browser/ui/webui/mojo_web_ui_handler.h',
477       'browser/ui/webui/net_export_ui.cc',
478       'browser/ui/webui/net_export_ui.h',
479       'browser/ui/webui/net_internals/net_internals_ui.cc',
480       'browser/ui/webui/net_internals/net_internals_ui.h',
481       'browser/ui/webui/ntp/ntp_user_data_logger.cc',
482       'browser/ui/webui/ntp/ntp_user_data_logger.h',
483       'browser/ui/webui/omnibox/omnibox_ui.cc',
484       'browser/ui/webui/omnibox/omnibox_ui.h',
485       'browser/ui/webui/omnibox/omnibox_ui_handler.cc',
486       'browser/ui/webui/omnibox/omnibox_ui_handler.h',
487       'browser/ui/webui/password_manager_internals/password_manager_internals_ui.cc',
488       'browser/ui/webui/password_manager_internals/password_manager_internals_ui.h',
489       'browser/ui/webui/predictors/predictors_handler.cc',
490       'browser/ui/webui/predictors/predictors_handler.h',
491       'browser/ui/webui/predictors/predictors_ui.cc',
492       'browser/ui/webui/predictors/predictors_ui.h',
493       'browser/ui/webui/profiler_ui.cc',
494       'browser/ui/webui/profiler_ui.h',
495       'browser/ui/webui/signin_internals_ui.cc',
496       'browser/ui/webui/signin_internals_ui.h',
497       'browser/ui/webui/sync_internals_message_handler.cc',
498       'browser/ui/webui/sync_internals_message_handler.h',
499       'browser/ui/webui/sync_internals_ui.cc',
500       'browser/ui/webui/sync_internals_ui.h',
501       'browser/ui/webui/theme_source.cc',
502       'browser/ui/webui/theme_source.h',
503       'browser/ui/webui/translate_internals/translate_internals_handler.cc',
504       'browser/ui/webui/translate_internals/translate_internals_handler.h',
505       'browser/ui/webui/translate_internals/translate_internals_ui.cc',
506       'browser/ui/webui/translate_internals/translate_internals_ui.h',
507       'browser/ui/webui/user_actions/user_actions_ui.cc',
508       'browser/ui/webui/user_actions/user_actions_ui.h',
509       'browser/ui/webui/user_actions/user_actions_ui_handler.cc',
510       'browser/ui/webui/user_actions/user_actions_ui_handler.h',
511       'browser/ui/webui/version_handler.cc',
512       'browser/ui/webui/version_handler.h',
513       'browser/ui/webui/version_handler_chromeos.cc',
514       'browser/ui/webui/version_handler_chromeos.h',
515       'browser/ui/webui/version_ui.cc',
516       'browser/ui/webui/version_ui.h',
517       'browser/ui/window_sizer/window_sizer_mac.mm',
518       'browser/ui/zoom/chrome_zoom_level_otr_delegate.cc',
519       'browser/ui/zoom/chrome_zoom_level_otr_delegate.h',
520       'browser/ui/zoom/chrome_zoom_level_prefs.cc',
521       'browser/ui/zoom/chrome_zoom_level_prefs.h',
522     ],
523     'chrome_browser_ui_android_sources': [
524       'browser/ui/android/autofill/credit_card_scanner_view_android.cc',
525       'browser/ui/android/autofill/credit_card_scanner_view_android.h',
526       'browser/ui/android/infobars/account_chooser_infobar.cc',
527       'browser/ui/android/infobars/account_chooser_infobar.h',
528       'browser/ui/android/infobars/generated_password_saved_infobar.cc',
529       'browser/ui/android/infobars/generated_password_saved_infobar.h',
530       'browser/ui/auto_login_infobar_delegate.cc',
531       'browser/ui/auto_login_infobar_delegate.h',
532       'browser/ui/screen_capture_notification_ui_stub.cc',
533     ],
534     # Cross-platform ash sources.
535     'chrome_browser_ui_ash_sources': [
536       'browser/ui/ash/app_list/app_list_controller_ash.cc',
537       'browser/ui/ash/app_list/app_list_controller_ash.h',
538       'browser/ui/ash/app_list/app_list_service_ash.cc',
539       'browser/ui/ash/app_list/app_list_service_ash.h',
540       'browser/ui/ash/app_list/app_sync_ui_state_watcher.cc',
541       'browser/ui/ash/app_list/app_sync_ui_state_watcher.h',
542       'browser/ui/ash/app_sync_ui_state.cc',
543       'browser/ui/ash/app_sync_ui_state.h',
544       'browser/ui/ash/app_sync_ui_state_factory.cc',
545       'browser/ui/ash/app_sync_ui_state_factory.h',
546       'browser/ui/ash/app_sync_ui_state_observer.h',
547       'browser/ui/ash/ash_init.cc',
548       'browser/ui/ash/ash_init.h',
549       'browser/ui/ash/ash_keyboard_controller_proxy.cc',
550       'browser/ui/ash/ash_keyboard_controller_proxy.h',
551       'browser/ui/ash/ash_util.cc',
552       'browser/ui/ash/ash_util.h',
553       'browser/ui/ash/cast_config_delegate_chromeos.cc',
554       'browser/ui/ash/cast_config_delegate_chromeos.h',
555       'browser/ui/ash/chrome_launcher_prefs.cc',
556       'browser/ui/ash/chrome_launcher_prefs.h',
557       'browser/ui/ash/chrome_new_window_delegate.cc',
558       'browser/ui/ash/chrome_new_window_delegate.h',
559       'browser/ui/ash/chrome_new_window_delegate_chromeos.cc',
560       'browser/ui/ash/chrome_new_window_delegate_chromeos.h',
561       'browser/ui/ash/chrome_screenshot_grabber.cc',
562       'browser/ui/ash/chrome_screenshot_grabber.h',
563       'browser/ui/ash/chrome_shell_delegate.cc',
564       'browser/ui/ash/chrome_shell_delegate.h',
565       'browser/ui/ash/chrome_shell_delegate_chromeos.cc',
566       'browser/ui/ash/ime_controller_chromeos.cc',
567       'browser/ui/ash/ime_controller_chromeos.h',
568       'browser/ui/ash/launcher/app_shortcut_launcher_item_controller.cc',
569       'browser/ui/ash/launcher/app_shortcut_launcher_item_controller.h',
570       'browser/ui/ash/launcher/app_window_launcher_controller.cc',
571       'browser/ui/ash/launcher/app_window_launcher_controller.h',
572       'browser/ui/ash/launcher/app_window_launcher_item_controller.cc',
573       'browser/ui/ash/launcher/app_window_launcher_item_controller.h',
574       'browser/ui/ash/launcher/browser_shortcut_launcher_item_controller.cc',
575       'browser/ui/ash/launcher/browser_shortcut_launcher_item_controller.h',
576       'browser/ui/ash/launcher/browser_status_monitor.cc',
577       'browser/ui/ash/launcher/browser_status_monitor.h',
578       'browser/ui/ash/launcher/chrome_launcher_app_menu_item.cc',
579       'browser/ui/ash/launcher/chrome_launcher_app_menu_item.h',
580       'browser/ui/ash/launcher/chrome_launcher_app_menu_item_browser.cc',
581       'browser/ui/ash/launcher/chrome_launcher_app_menu_item_browser.h',
582       'browser/ui/ash/launcher/chrome_launcher_app_menu_item_tab.cc',
583       'browser/ui/ash/launcher/chrome_launcher_app_menu_item_tab.h',
584       'browser/ui/ash/launcher/chrome_launcher_app_menu_item_v2app.cc',
585       'browser/ui/ash/launcher/chrome_launcher_app_menu_item_v2app.h',
586       'browser/ui/ash/launcher/chrome_launcher_controller.cc',
587       'browser/ui/ash/launcher/chrome_launcher_controller.h',
588       'browser/ui/ash/launcher/chrome_launcher_controller_chromeos.cc',
589       'browser/ui/ash/launcher/chrome_launcher_controller_win.cc',
590       'browser/ui/ash/launcher/launcher_app_tab_helper.cc',
591       'browser/ui/ash/launcher/launcher_app_tab_helper.h',
592       'browser/ui/ash/launcher/launcher_application_menu_item_model.cc',
593       'browser/ui/ash/launcher/launcher_application_menu_item_model.h',
594       'browser/ui/ash/launcher/launcher_context_menu.cc',
595       'browser/ui/ash/launcher/launcher_context_menu.h',
596       'browser/ui/ash/launcher/launcher_favicon_loader.cc',
597       'browser/ui/ash/launcher/launcher_favicon_loader.h',
598       'browser/ui/ash/launcher/launcher_item_controller.cc',
599       'browser/ui/ash/launcher/launcher_item_controller.h',
600       'browser/ui/ash/launcher/multi_profile_app_window_launcher_controller.cc',
601       'browser/ui/ash/launcher/multi_profile_app_window_launcher_controller.h',
602       'browser/ui/ash/launcher/multi_profile_browser_status_monitor.cc',
603       'browser/ui/ash/launcher/multi_profile_browser_status_monitor.h',
604       'browser/ui/ash/media_delegate_chromeos.cc',
605       'browser/ui/ash/media_delegate_chromeos.h',
606       'browser/ui/ash/metrics/chrome_user_metrics_recorder.cc',
607       'browser/ui/ash/metrics/chrome_user_metrics_recorder.h',
608       'browser/ui/ash/multi_user/multi_user_context_menu_chromeos.cc',
609       'browser/ui/ash/multi_user/multi_user_notification_blocker_chromeos.cc',
610       'browser/ui/ash/multi_user/multi_user_notification_blocker_chromeos.h',
611       'browser/ui/ash/multi_user/multi_user_util.cc',
612       'browser/ui/ash/multi_user/multi_user_util.h',
613       'browser/ui/ash/multi_user/multi_user_warning_dialog.cc',
614       'browser/ui/ash/multi_user/multi_user_warning_dialog.h',
615       'browser/ui/ash/multi_user/multi_user_window_manager.cc',
616       'browser/ui/ash/multi_user/multi_user_window_manager.h',
617       'browser/ui/ash/multi_user/multi_user_window_manager_chromeos.cc',
618       'browser/ui/ash/multi_user/multi_user_window_manager_chromeos.h',
619       'browser/ui/ash/multi_user/multi_user_window_manager_stub.cc',
620       'browser/ui/ash/multi_user/multi_user_window_manager_stub.h',
621       'browser/ui/ash/multi_user/user_switch_animator_chromeos.cc',
622       'browser/ui/ash/multi_user/user_switch_animator_chromeos.h',
623       'browser/ui/ash/network_connect_delegate_chromeos.cc',
624       'browser/ui/ash/network_connect_delegate_chromeos.h',
625       'browser/ui/ash/networking_config_delegate_chromeos.cc',
626       'browser/ui/ash/networking_config_delegate_chromeos.h',
627       'browser/ui/ash/session_state_delegate_chromeos.cc',
628       'browser/ui/ash/session_state_delegate_chromeos.h',
629       'browser/ui/ash/solid_color_user_wallpaper_delegate.cc',
630       'browser/ui/ash/solid_color_user_wallpaper_delegate.h',
631       'browser/ui/ash/system_tray_delegate_chromeos.cc',
632       'browser/ui/ash/system_tray_delegate_chromeos.h',
633       'browser/ui/ash/system_tray_delegate_common.cc',
634       'browser/ui/ash/system_tray_delegate_common.h',
635       'browser/ui/ash/system_tray_delegate_utils.cc',
636       'browser/ui/ash/system_tray_delegate_utils.h',
637       'browser/ui/ash/user_accounts_delegate_chromeos.cc',
638       'browser/ui/ash/user_accounts_delegate_chromeos.h',
639       'browser/ui/ash/volume_controller_chromeos.cc',
640       'browser/ui/ash/volume_controller_chromeos.h',
641       'browser/ui/ash/vpn_delegate_chromeos.cc',
642       'browser/ui/ash/vpn_delegate_chromeos.h',
643       'browser/ui/views/ash/chrome_browser_main_extra_parts_ash.cc',
644       'browser/ui/views/ash/chrome_browser_main_extra_parts_ash.h',
645       'browser/ui/views/touch_uma/touch_uma_ash.cc',
646       'browser/ui/window_sizer/window_sizer_ash.cc',
647     ],
648     # Used when Ash is enabled but not ChromeOS.
649     'chrome_browser_ui_ash_non_chromeos': [
650       'browser/ui/ash/chrome_shell_delegate_views.cc',
651       'browser/ui/ash/multi_user/multi_user_context_menu.cc',
652       'browser/ui/ash/multi_user/multi_user_context_menu.h',
653       'browser/ui/ash/session_state_delegate_views.cc',
654       'browser/ui/ash/session_state_delegate_views.h',
655     ],
656     # Ash + Views.
657     'chrome_browser_ui_ash_views_sources': [
658       'browser/ui/views/frame/browser_frame_ash.cc',
659       'browser/ui/views/frame/browser_frame_ash.h',
660       'browser/ui/views/frame/browser_header_painter_ash.cc',
661       'browser/ui/views/frame/browser_header_painter_ash.h',
662       'browser/ui/views/frame/browser_non_client_frame_view_ash.cc',
663       'browser/ui/views/frame/browser_non_client_frame_view_ash.h',
664       'browser/ui/views/frame/immersive_mode_controller_ash.cc',
665       'browser/ui/views/frame/immersive_mode_controller_ash.h',
666       'browser/ui/views/frame/web_app_left_header_view_ash.cc',
667       'browser/ui/views/frame/web_app_left_header_view_ash.h',
668       'browser/ui/views/tabs/window_finder_ash.cc',
669     ],
670     # Used when ash is disabled.
671     'chrome_browser_ui_non_ash_sources': [
672       'browser/ui/views/touch_uma/touch_uma.cc',
673     ],
674     # Cross-platform aura sources.
675     'chrome_browser_ui_aura_sources': [
676       'browser/ui/aura/accessibility/automation_manager_aura.cc',
677       'browser/ui/aura/accessibility/automation_manager_aura.h',
678       'browser/ui/aura/accessibility/ax_root_obj_wrapper.cc',
679       'browser/ui/aura/accessibility/ax_root_obj_wrapper.h',
680       'browser/ui/aura/accessibility/ax_tree_source_aura.cc',
681       'browser/ui/aura/accessibility/ax_tree_source_aura.h',
682       'browser/ui/aura/chrome_browser_main_extra_parts_aura.cc',
683       'browser/ui/aura/chrome_browser_main_extra_parts_aura.h',
684       'browser/ui/aura/native_window_tracker_aura.cc',
685       'browser/ui/aura/native_window_tracker_aura.h',
686       'browser/ui/aura/tab_contents/web_drag_bookmark_handler_aura.cc',
687       'browser/ui/aura/tab_contents/web_drag_bookmark_handler_aura.h',
688       'browser/ui/gesture_prefs_observer_factory_aura.cc',
689       'browser/ui/gesture_prefs_observer_factory_aura.h',
690       'browser/ui/views/crypto_module_password_dialog_view.cc',
691       'browser/ui/views/crypto_module_password_dialog_view.h',
692       'browser/ui/views/desktop_media_picker_views.cc',
693       'browser/ui/views/desktop_media_picker_views.h',
694       'browser/ui/views/link_disambiguation/link_disambiguation_popup.cc',
695       'browser/ui/views/link_disambiguation/link_disambiguation_popup.h',
696       'browser/ui/views/renderer_context_menu/render_view_context_menu_views.cc',
697       'browser/ui/views/renderer_context_menu/render_view_context_menu_views.h',
698       'browser/ui/views/tab_contents/chrome_web_contents_view_delegate_views.cc',
699       'browser/ui/views/tab_contents/chrome_web_contents_view_delegate_views.h',
700       'browser/ui/webui/gesture_config_ui.cc',
701       'browser/ui/webui/gesture_config_ui.h',
702       'browser/ui/window_sizer/window_sizer_aura.cc',
703     ],
704     # Aura but not ChromeOS.
705     'chrome_browser_ui_aura_non_chromeos': [
706       'browser/ui/aura/active_desktop_monitor.cc',
707       'browser/ui/aura/active_desktop_monitor.h',
708       'browser/ui/views/chrome_views_delegate_aura.cc',
709       'browser/ui/views/frame/desktop_browser_frame_aura.cc',
710       'browser/ui/views/frame/desktop_browser_frame_aura.h',
711       'browser/ui/views/message_center/message_center_frame_view.cc',
712       'browser/ui/views/message_center/message_center_frame_view.h',
713       'browser/ui/views/message_center/message_center_widget_delegate.cc',
714       'browser/ui/views/message_center/message_center_widget_delegate.h',
715       'browser/ui/views/message_center/web_notification_tray.cc',
716       'browser/ui/views/message_center/web_notification_tray.h',
717       'browser/ui/views/message_center/web_notification_tray_win.cc',
718     ],
719     # ChromeOS-only sources that don't end in _chromeos or live in a chromeos
720     # directory.
721     'chrome_browser_ui_chromeos_sources': [
722       'browser/ui/app_list/search/launcher_search/launcher_search_icon_image_loader.cc',
723       'browser/ui/app_list/search/launcher_search/launcher_search_icon_image_loader.h',
724       'browser/ui/app_list/search/launcher_search/launcher_search_icon_image_loader_impl.cc',
725       'browser/ui/app_list/search/launcher_search/launcher_search_icon_image_loader_impl.h',
726       'browser/ui/app_list/search/launcher_search/launcher_search_provider.cc',
727       'browser/ui/app_list/search/launcher_search/launcher_search_provider.h',
728       'browser/ui/app_list/search/launcher_search/launcher_search_result.cc',
729       'browser/ui/app_list/search/launcher_search/launcher_search_result.h',
730       # On chromeos, file manager extension handles the file open/save dialog.
731       'browser/ui/views/select_file_dialog_extension.cc',
732       'browser/ui/views/select_file_dialog_extension.h',
733       'browser/ui/views/select_file_dialog_extension_factory.cc',
734       'browser/ui/views/select_file_dialog_extension_factory.h',
735     ],
736     # Used everywhere but ChromeOS.
737     'chrome_browser_ui_non_chromeos_sources': [
738       'browser/ui/external_protocol_dialog_delegate.cc',
739       'browser/ui/external_protocol_dialog_delegate.h',
740       'browser/ui/startup/default_browser_prompt.cc',
741     ],
742     # Mac sources, except when mac_views_browser==1
743     'chrome_browser_ui_cocoa_sources': [
744       'browser/ui/cocoa/animatable_image.h',
745       'browser/ui/cocoa/animatable_image.mm',
746       'browser/ui/cocoa/animatable_view.h',
747       'browser/ui/cocoa/animatable_view.mm',
748       'browser/ui/cocoa/applescript/apple_event_util.h',
749       'browser/ui/cocoa/applescript/apple_event_util.mm',
750       'browser/ui/cocoa/applescript/bookmark_folder_applescript.h',
751       'browser/ui/cocoa/applescript/bookmark_folder_applescript.mm',
752       'browser/ui/cocoa/applescript/bookmark_item_applescript.h',
753       'browser/ui/cocoa/applescript/bookmark_item_applescript.mm',
754       'browser/ui/cocoa/applescript/bookmark_node_applescript.h',
755       'browser/ui/cocoa/applescript/bookmark_node_applescript.mm',
756       'browser/ui/cocoa/applescript/browsercrapplication+applescript.h',
757       'browser/ui/cocoa/applescript/browsercrapplication+applescript.mm',
758       'browser/ui/cocoa/applescript/constants_applescript.h',
759       'browser/ui/cocoa/applescript/constants_applescript.mm',
760       'browser/ui/cocoa/applescript/element_applescript.h',
761       'browser/ui/cocoa/applescript/element_applescript.mm',
762       'browser/ui/cocoa/applescript/error_applescript.h',
763       'browser/ui/cocoa/applescript/error_applescript.mm',
764       'browser/ui/cocoa/applescript/tab_applescript.h',
765       'browser/ui/cocoa/applescript/tab_applescript.mm',
766       'browser/ui/cocoa/applescript/window_applescript.h',
767       'browser/ui/cocoa/applescript/window_applescript.mm',
768       'browser/ui/cocoa/apps/chrome_app_window_client_views_cocoa.mm',
769       'browser/ui/cocoa/apps/native_app_window_cocoa.h',
770       'browser/ui/cocoa/apps/native_app_window_cocoa.mm',
771       'browser/ui/cocoa/autofill/autofill_account_chooser.h',
772       'browser/ui/cocoa/autofill/autofill_account_chooser.mm',
773       'browser/ui/cocoa/autofill/autofill_bubble_controller.h',
774       'browser/ui/cocoa/autofill/autofill_bubble_controller.mm',
775       'browser/ui/cocoa/autofill/autofill_details_container.h',
776       'browser/ui/cocoa/autofill/autofill_details_container.mm',
777       'browser/ui/cocoa/autofill/autofill_dialog_cocoa.h',
778       'browser/ui/cocoa/autofill/autofill_dialog_cocoa.mm',
779       'browser/ui/cocoa/autofill/autofill_dialog_constants.h',
780       'browser/ui/cocoa/autofill/autofill_dialog_window_controller.h',
781       'browser/ui/cocoa/autofill/autofill_dialog_window_controller.mm',
782       'browser/ui/cocoa/autofill/autofill_header.h',
783       'browser/ui/cocoa/autofill/autofill_header.mm',
784       'browser/ui/cocoa/autofill/autofill_layout.h',
785       'browser/ui/cocoa/autofill/autofill_loading_shield_controller.h',
786       'browser/ui/cocoa/autofill/autofill_loading_shield_controller.mm',
787       'browser/ui/cocoa/autofill/autofill_main_container.h',
788       'browser/ui/cocoa/autofill/autofill_main_container.mm',
789       'browser/ui/cocoa/autofill/autofill_notification_container.h',
790       'browser/ui/cocoa/autofill/autofill_notification_container.mm',
791       'browser/ui/cocoa/autofill/autofill_notification_controller.h',
792       'browser/ui/cocoa/autofill/autofill_notification_controller.mm',
793       'browser/ui/cocoa/autofill/autofill_overlay_controller.h',
794       'browser/ui/cocoa/autofill/autofill_overlay_controller.mm',
795       'browser/ui/cocoa/autofill/autofill_pop_up_button.h',
796       'browser/ui/cocoa/autofill/autofill_pop_up_button.mm',
797       'browser/ui/cocoa/autofill/autofill_popup_base_view_cocoa.h',
798       'browser/ui/cocoa/autofill/autofill_popup_base_view_cocoa.mm',
799       'browser/ui/cocoa/autofill/autofill_popup_view_bridge.h',
800       'browser/ui/cocoa/autofill/autofill_popup_view_bridge.mm',
801       'browser/ui/cocoa/autofill/autofill_popup_view_cocoa.h',
802       'browser/ui/cocoa/autofill/autofill_popup_view_cocoa.mm',
803       'browser/ui/cocoa/autofill/autofill_section_container.h',
804       'browser/ui/cocoa/autofill/autofill_section_container.mm',
805       'browser/ui/cocoa/autofill/autofill_section_view.h',
806       'browser/ui/cocoa/autofill/autofill_section_view.mm',
807       'browser/ui/cocoa/autofill/autofill_sign_in_container.h',
808       'browser/ui/cocoa/autofill/autofill_sign_in_container.mm',
809       'browser/ui/cocoa/autofill/autofill_suggestion_container.h',
810       'browser/ui/cocoa/autofill/autofill_suggestion_container.mm',
811       'browser/ui/cocoa/autofill/autofill_textfield.h',
812       'browser/ui/cocoa/autofill/autofill_textfield.mm',
813       'browser/ui/cocoa/autofill/autofill_tooltip_controller.h',
814       'browser/ui/cocoa/autofill/autofill_tooltip_controller.mm',
815       'browser/ui/cocoa/autofill/card_unmask_prompt_view_bridge.h',
816       'browser/ui/cocoa/autofill/card_unmask_prompt_view_bridge.mm',
817       'browser/ui/cocoa/autofill/down_arrow_popup_menu_cell.h',
818       'browser/ui/cocoa/autofill/down_arrow_popup_menu_cell.mm',
819       'browser/ui/cocoa/autofill/generated_credit_card_bubble_cocoa.h',
820       'browser/ui/cocoa/autofill/generated_credit_card_bubble_cocoa.mm',
821       'browser/ui/cocoa/autofill/layout_view.h',
822       'browser/ui/cocoa/autofill/layout_view.mm',
823       'browser/ui/cocoa/autofill/new_credit_card_bubble_cocoa.h',
824       'browser/ui/cocoa/autofill/new_credit_card_bubble_cocoa.mm',
825       'browser/ui/cocoa/autofill/password_generation_popup_view_bridge.h',
826       'browser/ui/cocoa/autofill/password_generation_popup_view_bridge.mm',
827       'browser/ui/cocoa/autofill/password_generation_popup_view_cocoa.h',
828       'browser/ui/cocoa/autofill/password_generation_popup_view_cocoa.mm',
829       'browser/ui/cocoa/autofill/simple_grid_layout.h',
830       'browser/ui/cocoa/autofill/simple_grid_layout.mm',
831       'browser/ui/cocoa/background_gradient_view.h',
832       'browser/ui/cocoa/background_gradient_view.mm',
833       'browser/ui/cocoa/base_bubble_controller.h',
834       'browser/ui/cocoa/base_bubble_controller.mm',
835       'browser/ui/cocoa/bookmarks/bookmark_all_tabs_controller.h',
836       'browser/ui/cocoa/bookmarks/bookmark_all_tabs_controller.mm',
837       'browser/ui/cocoa/bookmarks/bookmark_bar_bridge.h',
838       'browser/ui/cocoa/bookmarks/bookmark_bar_bridge.mm',
839       'browser/ui/cocoa/bookmarks/bookmark_bar_constants.h',
840       'browser/ui/cocoa/bookmarks/bookmark_bar_controller.h',
841       'browser/ui/cocoa/bookmarks/bookmark_bar_controller.mm',
842       'browser/ui/cocoa/bookmarks/bookmark_bar_folder_button_cell.h',
843       'browser/ui/cocoa/bookmarks/bookmark_bar_folder_button_cell.mm',
844       'browser/ui/cocoa/bookmarks/bookmark_bar_folder_controller.h',
845       'browser/ui/cocoa/bookmarks/bookmark_bar_folder_controller.mm',
846       'browser/ui/cocoa/bookmarks/bookmark_bar_folder_hover_state.h',
847       'browser/ui/cocoa/bookmarks/bookmark_bar_folder_hover_state.mm',
848       'browser/ui/cocoa/bookmarks/bookmark_bar_folder_view.h',
849       'browser/ui/cocoa/bookmarks/bookmark_bar_folder_view.mm',
850       'browser/ui/cocoa/bookmarks/bookmark_bar_folder_window.h',
851       'browser/ui/cocoa/bookmarks/bookmark_bar_folder_window.mm',
852       'browser/ui/cocoa/bookmarks/bookmark_bar_state.h',
853       'browser/ui/cocoa/bookmarks/bookmark_bar_toolbar_view.h',
854       'browser/ui/cocoa/bookmarks/bookmark_bar_toolbar_view.mm',
855       'browser/ui/cocoa/bookmarks/bookmark_bar_view_cocoa.h',
856       'browser/ui/cocoa/bookmarks/bookmark_bar_view_cocoa.mm',
857       'browser/ui/cocoa/bookmarks/bookmark_bubble_controller.h',
858       'browser/ui/cocoa/bookmarks/bookmark_bubble_controller.mm',
859       'browser/ui/cocoa/bookmarks/bookmark_button.h',
860       'browser/ui/cocoa/bookmarks/bookmark_button.mm',
861       'browser/ui/cocoa/bookmarks/bookmark_button_cell.h',
862       'browser/ui/cocoa/bookmarks/bookmark_button_cell.mm',
863       'browser/ui/cocoa/bookmarks/bookmark_context_menu_cocoa_controller.h',
864       'browser/ui/cocoa/bookmarks/bookmark_context_menu_cocoa_controller.mm',
865       'browser/ui/cocoa/bookmarks/bookmark_drag_drop_cocoa.mm',
866       'browser/ui/cocoa/bookmarks/bookmark_editor_base_controller.h',
867       'browser/ui/cocoa/bookmarks/bookmark_editor_base_controller.mm',
868       'browser/ui/cocoa/bookmarks/bookmark_editor_controller.h',
869       'browser/ui/cocoa/bookmarks/bookmark_editor_controller.mm',
870       'browser/ui/cocoa/bookmarks/bookmark_folder_target.h',
871       'browser/ui/cocoa/bookmarks/bookmark_folder_target.mm',
872       'browser/ui/cocoa/bookmarks/bookmark_model_observer_for_cocoa.h',
873       'browser/ui/cocoa/bookmarks/bookmark_model_observer_for_cocoa.mm',
874       'browser/ui/cocoa/bookmarks/bookmark_name_folder_controller.h',
875       'browser/ui/cocoa/bookmarks/bookmark_name_folder_controller.mm',
876       'browser/ui/cocoa/bookmarks/bookmark_sync_promo_controller.h',
877       'browser/ui/cocoa/bookmarks/bookmark_sync_promo_controller.mm',
878       'browser/ui/cocoa/bookmarks/bookmark_tree_browser_cell.h',
879       'browser/ui/cocoa/bookmarks/bookmark_tree_browser_cell.mm',
880       'browser/ui/cocoa/browser/edit_search_engine_cocoa_controller.h',
881       'browser/ui/cocoa/browser/edit_search_engine_cocoa_controller.mm',
882       'browser/ui/cocoa/browser/zoom_bubble_controller.h',
883       'browser/ui/cocoa/browser/zoom_bubble_controller.mm',
884       'browser/ui/cocoa/browser_command_executor.h',
885       'browser/ui/cocoa/browser_window_cocoa.h',
886       'browser/ui/cocoa/browser_window_cocoa.mm',
887       'browser/ui/cocoa/browser_window_controller.h',
888       'browser/ui/cocoa/browser_window_controller.mm',
889       'browser/ui/cocoa/browser_window_controller_private.h',
890       'browser/ui/cocoa/browser_window_controller_private.mm',
891       'browser/ui/cocoa/browser_window_enter_fullscreen_transition.h',
892       'browser/ui/cocoa/browser_window_enter_fullscreen_transition.mm',
893       'browser/ui/cocoa/browser_window_factory_cocoa.mm',
894       'browser/ui/cocoa/browser_window_layout.h',
895       'browser/ui/cocoa/browser_window_layout.mm',
896       'browser/ui/cocoa/browser_window_utils.h',
897       'browser/ui/cocoa/browser_window_utils.mm',
898       'browser/ui/cocoa/bubble_combobox.h',
899       'browser/ui/cocoa/bubble_combobox.mm',
900       'browser/ui/cocoa/bubble_view.h',
901       'browser/ui/cocoa/bubble_view.mm',
902       'browser/ui/cocoa/chrome_browser_window.h',
903       'browser/ui/cocoa/chrome_browser_window.mm',
904       'browser/ui/cocoa/chrome_event_processing_window.h',
905       'browser/ui/cocoa/chrome_event_processing_window.mm',
906       'browser/ui/cocoa/clickhold_button_cell.h',
907       'browser/ui/cocoa/clickhold_button_cell.mm',
908       'browser/ui/cocoa/confirm_bubble_cocoa.h',
909       'browser/ui/cocoa/confirm_bubble_cocoa.mm',
910       'browser/ui/cocoa/confirm_bubble_controller.h',
911       'browser/ui/cocoa/confirm_bubble_controller.mm',
912       'browser/ui/cocoa/constrained_web_dialog_delegate_mac.mm',
913       'browser/ui/cocoa/constrained_window/constrained_window_alert.h',
914       'browser/ui/cocoa/constrained_window/constrained_window_alert.mm',
915       'browser/ui/cocoa/constrained_window/constrained_window_button.h',
916       'browser/ui/cocoa/constrained_window/constrained_window_button.mm',
917       'browser/ui/cocoa/constrained_window/constrained_window_control_utils.h',
918       'browser/ui/cocoa/constrained_window/constrained_window_control_utils.mm',
919       'browser/ui/cocoa/constrained_window/constrained_window_custom_sheet.h',
920       'browser/ui/cocoa/constrained_window/constrained_window_custom_sheet.mm',
921       'browser/ui/cocoa/constrained_window/constrained_window_custom_window.h',
922       'browser/ui/cocoa/constrained_window/constrained_window_custom_window.mm',
923       'browser/ui/cocoa/constrained_window/constrained_window_web_dialog_sheet.h',
924       'browser/ui/cocoa/constrained_window/constrained_window_web_dialog_sheet.mm',
925       'browser/ui/cocoa/content_settings/collected_cookies_mac.h',
926       'browser/ui/cocoa/content_settings/collected_cookies_mac.mm',
927       'browser/ui/cocoa/content_settings/content_setting_bubble_cocoa.h',
928       'browser/ui/cocoa/content_settings/content_setting_bubble_cocoa.mm',
929       'browser/ui/cocoa/content_settings/cookie_details.h',
930       'browser/ui/cocoa/content_settings/cookie_details.mm',
931       'browser/ui/cocoa/content_settings/cookie_details_view_controller.h',
932       'browser/ui/cocoa/content_settings/cookie_details_view_controller.mm',
933       'browser/ui/cocoa/content_settings/cookie_tree_node.h',
934       'browser/ui/cocoa/content_settings/cookie_tree_node.mm',
935       'browser/ui/cocoa/content_settings/cookies_tree_controller_bridge.h',
936       'browser/ui/cocoa/content_settings/cookies_tree_controller_bridge.mm',
937       'browser/ui/cocoa/create_native_web_modal_manager_cocoa.mm',
938       'browser/ui/cocoa/custom_frame_view.h',
939       'browser/ui/cocoa/custom_frame_view.mm',
940       'browser/ui/cocoa/dev_tools_controller.h',
941       'browser/ui/cocoa/dev_tools_controller.mm',
942       'browser/ui/cocoa/download/background_theme.h',
943       'browser/ui/cocoa/download/background_theme.mm',
944       'browser/ui/cocoa/download/download_item_button.h',
945       'browser/ui/cocoa/download/download_item_button.mm',
946       'browser/ui/cocoa/download/download_item_cell.h',
947       'browser/ui/cocoa/download/download_item_cell.mm',
948       'browser/ui/cocoa/download/download_item_controller.h',
949       'browser/ui/cocoa/download/download_item_controller.mm',
950       'browser/ui/cocoa/download/download_item_mac.h',
951       'browser/ui/cocoa/download/download_item_mac.mm',
952       'browser/ui/cocoa/download/download_shelf_context_menu_controller.h',
953       'browser/ui/cocoa/download/download_shelf_context_menu_controller.mm',
954       'browser/ui/cocoa/download/download_shelf_controller.h',
955       'browser/ui/cocoa/download/download_shelf_controller.mm',
956       'browser/ui/cocoa/download/download_shelf_mac.h',
957       'browser/ui/cocoa/download/download_shelf_mac.mm',
958       'browser/ui/cocoa/download/download_shelf_view_cocoa.h',
959       'browser/ui/cocoa/download/download_shelf_view_cocoa.mm',
960       'browser/ui/cocoa/download/download_show_all_button.h',
961       'browser/ui/cocoa/download/download_show_all_button.mm',
962       'browser/ui/cocoa/download/download_show_all_cell.h',
963       'browser/ui/cocoa/download/download_show_all_cell.mm',
964       'browser/ui/cocoa/download/download_started_animation_mac.mm',
965       'browser/ui/cocoa/drag_util.h',
966       'browser/ui/cocoa/drag_util.mm',
967       'browser/ui/cocoa/draggable_button.h',
968       'browser/ui/cocoa/draggable_button.mm',
969       'browser/ui/cocoa/draggable_button_mixin.h',
970       'browser/ui/cocoa/draggable_button_mixin.mm',
971       'browser/ui/cocoa/exclusive_access_bubble_view.h',
972       'browser/ui/cocoa/exclusive_access_bubble_view.mm',
973       'browser/ui/cocoa/exclusive_access_bubble_window_controller.h',
974       'browser/ui/cocoa/exclusive_access_bubble_window_controller.mm',
975       'browser/ui/cocoa/extensions/browser_action_button.h',
976       'browser/ui/cocoa/extensions/browser_action_button.mm',
977       'browser/ui/cocoa/extensions/browser_actions_container_view.h',
978       'browser/ui/cocoa/extensions/browser_actions_container_view.mm',
979       'browser/ui/cocoa/extensions/browser_actions_controller.h',
980       'browser/ui/cocoa/extensions/browser_actions_controller.mm',
981       'browser/ui/cocoa/extensions/bundle_util.h',
982       'browser/ui/cocoa/extensions/bundle_util.mm',
983       'browser/ui/cocoa/extensions/device_permissions_dialog_controller.h',
984       'browser/ui/cocoa/extensions/device_permissions_dialog_controller.mm',
985       'browser/ui/cocoa/extensions/device_permissions_view_controller.h',
986       'browser/ui/cocoa/extensions/device_permissions_view_controller.mm',
987       'browser/ui/cocoa/extensions/extension_action_platform_delegate_cocoa.h',
988       'browser/ui/cocoa/extensions/extension_action_platform_delegate_cocoa.mm',
989       'browser/ui/cocoa/extensions/extension_install_dialog_controller.h',
990       'browser/ui/cocoa/extensions/extension_install_dialog_controller.mm',
991       'browser/ui/cocoa/extensions/extension_install_view_controller.h',
992       'browser/ui/cocoa/extensions/extension_install_view_controller.mm',
993       'browser/ui/cocoa/extensions/extension_installed_bubble_bridge.mm',
994       'browser/ui/cocoa/extensions/extension_installed_bubble_controller.h',
995       'browser/ui/cocoa/extensions/extension_installed_bubble_controller.mm',
996       'browser/ui/cocoa/extensions/extension_keybinding_registry_cocoa.h',
997       'browser/ui/cocoa/extensions/extension_keybinding_registry_cocoa.mm',
998       'browser/ui/cocoa/extensions/extension_message_bubble_bridge.h',
999       'browser/ui/cocoa/extensions/extension_message_bubble_bridge.mm',
1000       'browser/ui/cocoa/extensions/extension_popup_controller.h',
1001       'browser/ui/cocoa/extensions/extension_popup_controller.mm',
1002       'browser/ui/cocoa/extensions/extension_uninstall_dialog_cocoa.mm',
1003       'browser/ui/cocoa/extensions/extension_view_mac.h',
1004       'browser/ui/cocoa/extensions/extension_view_mac.mm',
1005       'browser/ui/cocoa/extensions/media_galleries_dialog_cocoa.h',
1006       'browser/ui/cocoa/extensions/media_galleries_dialog_cocoa.mm',
1007       'browser/ui/cocoa/extensions/media_gallery_list_entry_view.h',
1008       'browser/ui/cocoa/extensions/media_gallery_list_entry_view.mm',
1009       'browser/ui/cocoa/extensions/toolbar_actions_bar_bubble_mac.h',
1010       'browser/ui/cocoa/extensions/toolbar_actions_bar_bubble_mac.mm',
1011       'browser/ui/cocoa/extensions/windowed_install_dialog_controller.h',
1012       'browser/ui/cocoa/extensions/windowed_install_dialog_controller.mm',
1013       'browser/ui/cocoa/external_protocol_dialog.h',
1014       'browser/ui/cocoa/external_protocol_dialog.mm',
1015       'browser/ui/cocoa/fast_resize_view.h',
1016       'browser/ui/cocoa/fast_resize_view.mm',
1017       'browser/ui/cocoa/find_bar/find_bar_bridge.h',
1018       'browser/ui/cocoa/find_bar/find_bar_bridge.mm',
1019       'browser/ui/cocoa/find_bar/find_bar_cocoa_controller.h',
1020       'browser/ui/cocoa/find_bar/find_bar_cocoa_controller.mm',
1021       'browser/ui/cocoa/find_bar/find_bar_text_field.h',
1022       'browser/ui/cocoa/find_bar/find_bar_text_field.mm',
1023       'browser/ui/cocoa/find_bar/find_bar_text_field_cell.h',
1024       'browser/ui/cocoa/find_bar/find_bar_text_field_cell.mm',
1025       'browser/ui/cocoa/find_bar/find_bar_view_cocoa.h',
1026       'browser/ui/cocoa/find_bar/find_bar_view_cocoa.mm',
1027       'browser/ui/cocoa/first_run_bubble_controller.h',
1028       'browser/ui/cocoa/first_run_bubble_controller.mm',
1029       'browser/ui/cocoa/floating_bar_backing_view.h',
1030       'browser/ui/cocoa/floating_bar_backing_view.mm',
1031       'browser/ui/cocoa/framed_browser_window.h',
1032       'browser/ui/cocoa/framed_browser_window.mm',
1033       'browser/ui/cocoa/full_size_content_window.h',
1034       'browser/ui/cocoa/full_size_content_window.mm',
1035       'browser/ui/cocoa/fullscreen_window.h',
1036       'browser/ui/cocoa/fullscreen_window.mm',
1037       'browser/ui/cocoa/global_error_bubble_controller.h',
1038       'browser/ui/cocoa/global_error_bubble_controller.mm',
1039       'browser/ui/cocoa/gradient_button_cell.h',
1040       'browser/ui/cocoa/gradient_button_cell.mm',
1041       'browser/ui/cocoa/has_weak_browser_pointer.h',
1042       'browser/ui/cocoa/hover_close_button.h',
1043       'browser/ui/cocoa/hover_close_button.mm',
1044       'browser/ui/cocoa/hung_renderer_controller.h',
1045       'browser/ui/cocoa/hung_renderer_controller.mm',
1046       'browser/ui/cocoa/image_button_cell.h',
1047       'browser/ui/cocoa/image_button_cell.mm',
1048       'browser/ui/cocoa/importer/import_lock_dialog_cocoa.mm',
1049       'browser/ui/cocoa/info_bubble_view.h',
1050       'browser/ui/cocoa/info_bubble_view.mm',
1051       'browser/ui/cocoa/info_bubble_window.h',
1052       'browser/ui/cocoa/info_bubble_window.mm',
1053       'browser/ui/cocoa/infobars/after_translate_infobar_controller.h',
1054       'browser/ui/cocoa/infobars/after_translate_infobar_controller.mm',
1055       'browser/ui/cocoa/infobars/alternate_nav_infobar_controller.h',
1056       'browser/ui/cocoa/infobars/alternate_nav_infobar_controller.mm',
1057       'browser/ui/cocoa/infobars/before_translate_infobar_controller.h',
1058       'browser/ui/cocoa/infobars/before_translate_infobar_controller.mm',
1059       'browser/ui/cocoa/infobars/confirm_infobar_controller.h',
1060       'browser/ui/cocoa/infobars/confirm_infobar_controller.mm',
1061       'browser/ui/cocoa/infobars/infobar_cocoa.h',
1062       'browser/ui/cocoa/infobars/infobar_cocoa.mm',
1063       'browser/ui/cocoa/infobars/infobar_container_cocoa.h',
1064       'browser/ui/cocoa/infobars/infobar_container_cocoa.mm',
1065       'browser/ui/cocoa/infobars/infobar_container_controller.h',
1066       'browser/ui/cocoa/infobars/infobar_container_controller.mm',
1067       'browser/ui/cocoa/infobars/infobar_controller.h',
1068       'browser/ui/cocoa/infobars/infobar_controller.mm',
1069       'browser/ui/cocoa/infobars/infobar_gradient_view.h',
1070       'browser/ui/cocoa/infobars/infobar_gradient_view.mm',
1071       'browser/ui/cocoa/infobars/infobar_utilities.h',
1072       'browser/ui/cocoa/infobars/infobar_utilities.mm',
1073       'browser/ui/cocoa/infobars/save_password_infobar_controller.mm',
1074       'browser/ui/cocoa/infobars/translate_infobar_base.h',
1075       'browser/ui/cocoa/infobars/translate_infobar_base.mm',
1076       'browser/ui/cocoa/infobars/translate_message_infobar_controller.h',
1077       'browser/ui/cocoa/infobars/translate_message_infobar_controller.mm',
1078       'browser/ui/cocoa/javascript_app_modal_dialog_cocoa.h',
1079       'browser/ui/cocoa/javascript_app_modal_dialog_cocoa.mm',
1080       'browser/ui/cocoa/location_bar/autocomplete_text_field.h',
1081       'browser/ui/cocoa/location_bar/autocomplete_text_field.mm',
1082       'browser/ui/cocoa/location_bar/autocomplete_text_field_cell.h',
1083       'browser/ui/cocoa/location_bar/autocomplete_text_field_cell.mm',
1084       'browser/ui/cocoa/location_bar/autocomplete_text_field_editor.h',
1085       'browser/ui/cocoa/location_bar/autocomplete_text_field_editor.mm',
1086       'browser/ui/cocoa/location_bar/bubble_decoration.h',
1087       'browser/ui/cocoa/location_bar/bubble_decoration.mm',
1088       'browser/ui/cocoa/location_bar/content_setting_decoration.h',
1089       'browser/ui/cocoa/location_bar/content_setting_decoration.mm',
1090       'browser/ui/cocoa/location_bar/ev_bubble_decoration.h',
1091       'browser/ui/cocoa/location_bar/ev_bubble_decoration.mm',
1092       'browser/ui/cocoa/location_bar/generated_credit_card_decoration.h',
1093       'browser/ui/cocoa/location_bar/generated_credit_card_decoration.mm',
1094       'browser/ui/cocoa/location_bar/image_decoration.h',
1095       'browser/ui/cocoa/location_bar/image_decoration.mm',
1096       'browser/ui/cocoa/location_bar/keyword_hint_decoration.h',
1097       'browser/ui/cocoa/location_bar/keyword_hint_decoration.mm',
1098       'browser/ui/cocoa/location_bar/location_bar_decoration.h',
1099       'browser/ui/cocoa/location_bar/location_bar_decoration.mm',
1100       'browser/ui/cocoa/location_bar/location_bar_view_mac.h',
1101       'browser/ui/cocoa/location_bar/location_bar_view_mac.mm',
1102       'browser/ui/cocoa/location_bar/location_icon_decoration.h',
1103       'browser/ui/cocoa/location_bar/location_icon_decoration.mm',
1104       'browser/ui/cocoa/location_bar/manage_passwords_decoration.h',
1105       'browser/ui/cocoa/location_bar/manage_passwords_decoration.mm',
1106       'browser/ui/cocoa/location_bar/mic_search_decoration.h',
1107       'browser/ui/cocoa/location_bar/mic_search_decoration.mm',
1108       'browser/ui/cocoa/location_bar/page_action_decoration.h',
1109       'browser/ui/cocoa/location_bar/page_action_decoration.mm',
1110       'browser/ui/cocoa/location_bar/selected_keyword_decoration.h',
1111       'browser/ui/cocoa/location_bar/selected_keyword_decoration.mm',
1112       'browser/ui/cocoa/location_bar/star_decoration.h',
1113       'browser/ui/cocoa/location_bar/star_decoration.mm',
1114       'browser/ui/cocoa/location_bar/translate_decoration.h',
1115       'browser/ui/cocoa/location_bar/translate_decoration.mm',
1116       'browser/ui/cocoa/location_bar/zoom_decoration.h',
1117       'browser/ui/cocoa/location_bar/zoom_decoration.mm',
1118       'browser/ui/cocoa/login_prompt_cocoa.h',
1119       'browser/ui/cocoa/login_prompt_cocoa.mm',
1120       'browser/ui/cocoa/main_menu_item.h',
1121       'browser/ui/cocoa/menu_button.h',
1122       'browser/ui/cocoa/menu_button.mm',
1123       'browser/ui/cocoa/multi_key_equivalent_button.h',
1124       'browser/ui/cocoa/multi_key_equivalent_button.mm',
1125       'browser/ui/cocoa/new_tab_button.h',
1126       'browser/ui/cocoa/new_tab_button.mm',
1127       'browser/ui/cocoa/nsmenuitem_additions.h',
1128       'browser/ui/cocoa/nsmenuitem_additions.mm',
1129       'browser/ui/cocoa/omnibox/omnibox_popup_cell.h',
1130       'browser/ui/cocoa/omnibox/omnibox_popup_cell.mm',
1131       'browser/ui/cocoa/omnibox/omnibox_popup_matrix.h',
1132       'browser/ui/cocoa/omnibox/omnibox_popup_matrix.mm',
1133       'browser/ui/cocoa/omnibox/omnibox_popup_separator_view.h',
1134       'browser/ui/cocoa/omnibox/omnibox_popup_separator_view.mm',
1135       'browser/ui/cocoa/omnibox/omnibox_popup_view_mac.h',
1136       'browser/ui/cocoa/omnibox/omnibox_popup_view_mac.mm',
1137       'browser/ui/cocoa/omnibox/omnibox_view_mac.h',
1138       'browser/ui/cocoa/omnibox/omnibox_view_mac.mm',
1139       'browser/ui/cocoa/one_click_signin_bubble_controller.h',
1140       'browser/ui/cocoa/one_click_signin_bubble_controller.mm',
1141       'browser/ui/cocoa/one_click_signin_dialog_controller.h',
1142       'browser/ui/cocoa/one_click_signin_dialog_controller.mm',
1143       'browser/ui/cocoa/one_click_signin_view_controller.h',
1144       'browser/ui/cocoa/one_click_signin_view_controller.mm',
1145       'browser/ui/cocoa/panels/mouse_drag_controller.h',
1146       'browser/ui/cocoa/panels/mouse_drag_controller.mm',
1147       'browser/ui/cocoa/panels/panel_cocoa.h',
1148       'browser/ui/cocoa/panels/panel_cocoa.mm',
1149       'browser/ui/cocoa/panels/panel_stack_window_cocoa.h',
1150       'browser/ui/cocoa/panels/panel_stack_window_cocoa.mm',
1151       'browser/ui/cocoa/panels/panel_titlebar_view_cocoa.h',
1152       'browser/ui/cocoa/panels/panel_titlebar_view_cocoa.mm',
1153       'browser/ui/cocoa/panels/panel_utils_cocoa.h',
1154       'browser/ui/cocoa/panels/panel_utils_cocoa.mm',
1155       'browser/ui/cocoa/panels/panel_window_controller_cocoa.h',
1156       'browser/ui/cocoa/panels/panel_window_controller_cocoa.mm',
1157       'browser/ui/cocoa/passwords/account_avatar_fetcher_manager.h',
1158       'browser/ui/cocoa/passwords/account_avatar_fetcher_manager.mm',
1159       'browser/ui/cocoa/passwords/credential_item_view.h',
1160       'browser/ui/cocoa/passwords/credential_item_view.mm',
1161       'browser/ui/cocoa/passwords/manage_credential_item_view_controller.h',
1162       'browser/ui/cocoa/passwords/manage_credential_item_view_controller.mm',
1163       'browser/ui/cocoa/passwords/manage_password_item_view_controller.h',
1164       'browser/ui/cocoa/passwords/manage_password_item_view_controller.mm',
1165       'browser/ui/cocoa/passwords/manage_passwords_bubble_account_chooser_view_controller.h',
1166       'browser/ui/cocoa/passwords/manage_passwords_bubble_account_chooser_view_controller.mm',
1167       'browser/ui/cocoa/passwords/manage_passwords_bubble_auto_signin_view_controller.h',
1168       'browser/ui/cocoa/passwords/manage_passwords_bubble_auto_signin_view_controller.mm',
1169       'browser/ui/cocoa/passwords/manage_passwords_bubble_blacklist_view_controller.h',
1170       'browser/ui/cocoa/passwords/manage_passwords_bubble_blacklist_view_controller.mm',
1171       'browser/ui/cocoa/passwords/manage_passwords_bubble_cocoa.h',
1172       'browser/ui/cocoa/passwords/manage_passwords_bubble_cocoa.mm',
1173       'browser/ui/cocoa/passwords/manage_passwords_bubble_confirmation_view_controller.h',
1174       'browser/ui/cocoa/passwords/manage_passwords_bubble_confirmation_view_controller.mm',
1175       'browser/ui/cocoa/passwords/manage_passwords_bubble_content_view_controller.h',
1176       'browser/ui/cocoa/passwords/manage_passwords_bubble_content_view_controller.mm',
1177       'browser/ui/cocoa/passwords/manage_passwords_bubble_controller.h',
1178       'browser/ui/cocoa/passwords/manage_passwords_bubble_controller.mm',
1179       'browser/ui/cocoa/passwords/manage_passwords_bubble_manage_credentials_view_controller.h',
1180       'browser/ui/cocoa/passwords/manage_passwords_bubble_manage_credentials_view_controller.mm',
1181       'browser/ui/cocoa/passwords/manage_passwords_bubble_manage_view_controller.h',
1182       'browser/ui/cocoa/passwords/manage_passwords_bubble_manage_view_controller.mm',
1183       'browser/ui/cocoa/passwords/manage_passwords_bubble_never_save_view_controller.h',
1184       'browser/ui/cocoa/passwords/manage_passwords_bubble_never_save_view_controller.mm',
1185       'browser/ui/cocoa/passwords/manage_passwords_bubble_pending_view_controller.h',
1186       'browser/ui/cocoa/passwords/manage_passwords_bubble_pending_view_controller.mm',
1187       'browser/ui/cocoa/presentation_mode_controller.h',
1188       'browser/ui/cocoa/presentation_mode_controller.mm',
1189       'browser/ui/cocoa/profiles/avatar_base_controller.h',
1190       'browser/ui/cocoa/profiles/avatar_base_controller.mm',
1191       'browser/ui/cocoa/profiles/avatar_button.h',
1192       'browser/ui/cocoa/profiles/avatar_button.mm',
1193       'browser/ui/cocoa/profiles/avatar_button_controller.h',
1194       'browser/ui/cocoa/profiles/avatar_button_controller.mm',
1195       'browser/ui/cocoa/profiles/avatar_icon_controller.h',
1196       'browser/ui/cocoa/profiles/avatar_icon_controller.mm',
1197       'browser/ui/cocoa/profiles/avatar_label_button.h',
1198       'browser/ui/cocoa/profiles/avatar_label_button.mm',
1199       'browser/ui/cocoa/profiles/avatar_menu_bubble_controller.h',
1200       'browser/ui/cocoa/profiles/avatar_menu_bubble_controller.mm',
1201       'browser/ui/cocoa/profiles/profile_chooser_controller.h',
1202       'browser/ui/cocoa/profiles/profile_chooser_controller.mm',
1203       'browser/ui/cocoa/profiles/profile_signin_confirmation_dialog_cocoa.h',
1204       'browser/ui/cocoa/profiles/profile_signin_confirmation_dialog_cocoa.mm',
1205       'browser/ui/cocoa/profiles/profile_signin_confirmation_view_controller.h',
1206       'browser/ui/cocoa/profiles/profile_signin_confirmation_view_controller.mm',
1207       'browser/ui/cocoa/profiles/user_manager_mac.h',
1208       'browser/ui/cocoa/profiles/user_manager_mac.mm',
1209       'browser/ui/cocoa/rect_path_utils.h',
1210       'browser/ui/cocoa/rect_path_utils.mm',
1211       'browser/ui/cocoa/restart_browser.h',
1212       'browser/ui/cocoa/restart_browser.mm',
1213       'browser/ui/cocoa/screen_capture_notification_ui_cocoa.h',
1214       'browser/ui/cocoa/screen_capture_notification_ui_cocoa.mm',
1215       'browser/ui/cocoa/simple_message_box_mac.mm',
1216       'browser/ui/cocoa/spinner_view.h',
1217       'browser/ui/cocoa/spinner_view.mm',
1218       'browser/ui/cocoa/sprite_view.h',
1219       'browser/ui/cocoa/sprite_view.mm',
1220       'browser/ui/cocoa/ssl_client_certificate_selector_cocoa.h',
1221       'browser/ui/cocoa/ssl_client_certificate_selector_cocoa.mm',
1222       'browser/ui/cocoa/status_bubble_mac.h',
1223       'browser/ui/cocoa/status_bubble_mac.mm',
1224       'browser/ui/cocoa/styled_text_field.h',
1225       'browser/ui/cocoa/styled_text_field.mm',
1226       'browser/ui/cocoa/styled_text_field_cell.h',
1227       'browser/ui/cocoa/styled_text_field_cell.mm',
1228       'browser/ui/cocoa/tab_contents/favicon_util_mac.h',
1229       'browser/ui/cocoa/tab_contents/favicon_util_mac.mm',
1230       'browser/ui/cocoa/tab_contents/overlayable_contents_controller.h',
1231       'browser/ui/cocoa/tab_contents/overlayable_contents_controller.mm',
1232       'browser/ui/cocoa/tab_contents/sad_tab_controller.h',
1233       'browser/ui/cocoa/tab_contents/sad_tab_controller.mm',
1234       'browser/ui/cocoa/tab_contents/sad_tab_view_cocoa.h',
1235       'browser/ui/cocoa/tab_contents/sad_tab_view_cocoa.mm',
1236       'browser/ui/cocoa/tab_contents/tab_contents_controller.h',
1237       'browser/ui/cocoa/tab_contents/tab_contents_controller.mm',
1238       'browser/ui/cocoa/tab_dialogs_cocoa.h',
1239       'browser/ui/cocoa/tab_dialogs_cocoa.mm',
1240       'browser/ui/cocoa/tab_modal_confirm_dialog_mac.h',
1241       'browser/ui/cocoa/tab_modal_confirm_dialog_mac.mm',
1242       'browser/ui/cocoa/table_row_nsimage_cache.h',
1243       'browser/ui/cocoa/table_row_nsimage_cache.mm',
1244       'browser/ui/cocoa/tabs/media_indicator_button_cocoa.h',
1245       'browser/ui/cocoa/tabs/media_indicator_button_cocoa.mm',
1246       'browser/ui/cocoa/tabs/tab_controller.h',
1247       'browser/ui/cocoa/tabs/tab_controller.mm',
1248       'browser/ui/cocoa/tabs/tab_strip_background_view.h',
1249       'browser/ui/cocoa/tabs/tab_strip_background_view.mm',
1250       'browser/ui/cocoa/tabs/tab_strip_controller.h',
1251       'browser/ui/cocoa/tabs/tab_strip_controller.mm',
1252       'browser/ui/cocoa/tabs/tab_strip_drag_controller.h',
1253       'browser/ui/cocoa/tabs/tab_strip_drag_controller.mm',
1254       'browser/ui/cocoa/tabs/tab_strip_model_observer_bridge.h',
1255       'browser/ui/cocoa/tabs/tab_strip_model_observer_bridge.mm',
1256       'browser/ui/cocoa/tabs/tab_strip_view.h',
1257       'browser/ui/cocoa/tabs/tab_strip_view.mm',
1258       'browser/ui/cocoa/tabs/tab_view.h',
1259       'browser/ui/cocoa/tabs/tab_view.mm',
1260       'browser/ui/cocoa/tabs/tab_window_controller.h',
1261       'browser/ui/cocoa/tabs/tab_window_controller.mm',
1262       'browser/ui/cocoa/task_manager_mac.h',
1263       'browser/ui/cocoa/task_manager_mac.mm',
1264       'browser/ui/cocoa/themed_window.h',
1265       'browser/ui/cocoa/themed_window.mm',
1266       'browser/ui/cocoa/toolbar/back_forward_menu_controller.h',
1267       'browser/ui/cocoa/toolbar/back_forward_menu_controller.mm',
1268       'browser/ui/cocoa/toolbar/reload_button_cocoa.h',
1269       'browser/ui/cocoa/toolbar/reload_button_cocoa.mm',
1270       'browser/ui/cocoa/toolbar/toolbar_button_cocoa.h',
1271       'browser/ui/cocoa/toolbar/toolbar_button_cocoa.mm',
1272       'browser/ui/cocoa/toolbar/toolbar_controller.h',
1273       'browser/ui/cocoa/toolbar/toolbar_controller.mm',
1274       'browser/ui/cocoa/toolbar/toolbar_view_cocoa.h',
1275       'browser/ui/cocoa/toolbar/toolbar_view_cocoa.mm',
1276       'browser/ui/cocoa/toolbar/wrench_toolbar_button_cell.h',
1277       'browser/ui/cocoa/toolbar/wrench_toolbar_button_cell.mm',
1278       'browser/ui/cocoa/translate/translate_bubble_controller.h',
1279       'browser/ui/cocoa/translate/translate_bubble_controller.mm',
1280       'browser/ui/cocoa/url_drop_target.h',
1281       'browser/ui/cocoa/url_drop_target.mm',
1282       'browser/ui/cocoa/validation_message_bubble_cocoa.h',
1283       'browser/ui/cocoa/validation_message_bubble_cocoa.mm',
1284       'browser/ui/cocoa/validation_message_bubble_controller.h',
1285       'browser/ui/cocoa/vertical_gradient_view.h',
1286       'browser/ui/cocoa/vertical_gradient_view.mm',
1287       'browser/ui/cocoa/view_id_util.h',
1288       'browser/ui/cocoa/view_id_util.mm',
1289       'browser/ui/cocoa/view_resizer.h',
1290       'browser/ui/cocoa/web_contents_modal_dialog_manager_views_mac.h',
1291       'browser/ui/cocoa/web_contents_modal_dialog_manager_views_mac.mm',
1292       'browser/ui/cocoa/web_dialog_window_controller.h',
1293       'browser/ui/cocoa/web_dialog_window_controller.mm',
1294       'browser/ui/cocoa/website_settings/permission_bubble_cocoa.h',
1295       'browser/ui/cocoa/website_settings/permission_bubble_cocoa.mm',
1296       'browser/ui/cocoa/website_settings/permission_bubble_controller.h',
1297       'browser/ui/cocoa/website_settings/permission_bubble_controller.mm',
1298       'browser/ui/cocoa/website_settings/permission_selector_button.h',
1299       'browser/ui/cocoa/website_settings/permission_selector_button.mm',
1300       'browser/ui/cocoa/website_settings/split_block_button.h',
1301       'browser/ui/cocoa/website_settings/split_block_button.mm',
1302       'browser/ui/cocoa/website_settings/website_settings_bubble_controller.h',
1303       'browser/ui/cocoa/website_settings/website_settings_bubble_controller.mm',
1304       'browser/ui/cocoa/website_settings/website_settings_utils_cocoa.h',
1305       'browser/ui/cocoa/website_settings/website_settings_utils_cocoa.mm',
1306       'browser/ui/cocoa/window_size_autosaver.h',
1307       'browser/ui/cocoa/window_size_autosaver.mm',
1308       'browser/ui/cocoa/wrench_menu/menu_tracked_button.h',
1309       'browser/ui/cocoa/wrench_menu/menu_tracked_button.mm',
1310       'browser/ui/cocoa/wrench_menu/menu_tracked_root_view.h',
1311       'browser/ui/cocoa/wrench_menu/menu_tracked_root_view.mm',
1312       'browser/ui/cocoa/wrench_menu/recent_tabs_menu_model_delegate.h',
1313       'browser/ui/cocoa/wrench_menu/recent_tabs_menu_model_delegate.mm',
1314       'browser/ui/cocoa/wrench_menu/wrench_menu_button_cell.h',
1315       'browser/ui/cocoa/wrench_menu/wrench_menu_button_cell.mm',
1316       'browser/ui/cocoa/wrench_menu/wrench_menu_controller.h',
1317       'browser/ui/cocoa/wrench_menu/wrench_menu_controller.mm',
1318     ],
1319     # Files used only on desktop systems (not iOS, Android, ChromeOS).
1320     'chrome_browser_ui_desktop_sources': [
1321       'browser/ui/sync/one_click_signin_bubble_delegate.h',
1322       'browser/ui/sync/one_click_signin_bubble_links_delegate.cc',
1323       'browser/ui/sync/one_click_signin_bubble_links_delegate.h',
1324       'browser/ui/sync/one_click_signin_sync_observer.cc',
1325       'browser/ui/sync/one_click_signin_sync_observer.h',
1326       'browser/ui/sync/one_click_signin_sync_starter.cc',
1327       'browser/ui/sync/one_click_signin_sync_starter.h',
1328       'browser/ui/webui/app_launcher_page_ui.cc',
1329       'browser/ui/webui/app_launcher_page_ui.h',
1330       'browser/ui/webui/signin/inline_login_handler_impl.cc',
1331       'browser/ui/webui/signin/inline_login_handler_impl.h',
1332       'browser/ui/webui/signin/user_manager_screen_handler.cc',
1333       'browser/ui/webui/signin/user_manager_screen_handler.h',
1334       'browser/ui/webui/signin/user_manager_ui.cc',
1335       'browser/ui/webui/signin/user_manager_ui.h',
1336     ],
1337     # Desktop Linux. Assume aura/ash/views/x11.
1338     'chrome_browser_ui_desktop_linux_sources': [
1339       'browser/ui/views/app_list/linux/app_list_linux.cc',
1340       'browser/ui/views/app_list/linux/app_list_linux.h',
1341       'browser/ui/views/app_list/linux/app_list_service_linux.cc',
1342       'browser/ui/views/app_list/linux/app_list_service_linux.h',
1343       'browser/ui/views/first_run_dialog.cc',
1344       'browser/ui/views/first_run_dialog.h',
1345       'browser/ui/views/frame/browser_desktop_window_tree_host.h',
1346       'browser/ui/views/frame/browser_desktop_window_tree_host_x11.cc',
1347       'browser/ui/views/frame/browser_desktop_window_tree_host_x11.h',
1348       'browser/ui/views/frame/desktop_browser_frame_auralinux.cc',
1349       'browser/ui/views/frame/desktop_browser_frame_auralinux.h',
1350       'browser/ui/views/frame/global_menu_bar_registrar_x11.cc',
1351       'browser/ui/views/frame/global_menu_bar_registrar_x11.h',
1352       'browser/ui/views/frame/global_menu_bar_x11.cc',
1353       'browser/ui/views/frame/global_menu_bar_x11.h',
1354       'browser/ui/views/frame/native_browser_frame_factory_auralinux.cc',
1355       'browser/ui/views/frame/native_browser_frame_factory_desktop_ash.cc',
1356       'browser/ui/views/javascript_app_modal_dialog_views_x11.cc',
1357       'browser/ui/views/javascript_app_modal_dialog_views_x11.h',
1358       'browser/ui/views/status_icons/status_icon_linux_wrapper.cc',
1359       'browser/ui/views/status_icons/status_icon_linux_wrapper.h',
1360       'browser/ui/webui/help/version_updater_basic.cc',
1361       'browser/ui/webui/help/version_updater_basic.h',
1362     ],
1363     # Files used on iOS. iOS uses only these files and does not share other
1364     # lists, so a file may appear here and in the non_ios_sources also.
1365     'chrome_browser_ui_ios_sources': [
1366       'browser/ui/profile_error_dialog.cc',
1367       'browser/ui/profile_error_dialog.h',
1368     ],
1369     # Counts desktop Linux and ChromeOS.
1370     'chrome_browser_ui_linux_sources': [
1371       'browser/ui/certificate_dialogs.cc',
1372       'browser/ui/certificate_dialogs.h',
1373       'browser/ui/startup/autolaunch_prompt.cc',
1374       'browser/ui/views/apps/chrome_app_window_client_views.cc',
1375       'browser/ui/webui/certificate_viewer_ui.cc',
1376       'browser/ui/webui/certificate_viewer_ui.h',
1377       'browser/ui/webui/certificate_viewer_webui.cc',
1378       'browser/ui/webui/certificate_viewer_webui.h',
1379     ],
1380     'chrome_browser_ui_mac_sources': [
1381       'browser/ui/cocoa/accelerator_utils_cocoa.mm',
1382       'browser/ui/cocoa/accelerators_cocoa.h',
1383       'browser/ui/cocoa/accelerators_cocoa.mm',
1384       'browser/ui/cocoa/apps/app_shim_menu_controller_mac.h',
1385       'browser/ui/cocoa/apps/app_shim_menu_controller_mac.mm',
1386       'browser/ui/cocoa/apps/quit_with_apps_controller_mac.cc',
1387       'browser/ui/cocoa/apps/quit_with_apps_controller_mac.h',
1388       'browser/ui/cocoa/apps/titlebar_background_view.h',
1389       'browser/ui/cocoa/apps/titlebar_background_view.mm',
1390       'browser/ui/cocoa/bookmarks/bookmark_menu_bridge.h',
1391       'browser/ui/cocoa/bookmarks/bookmark_menu_bridge.mm',
1392       'browser/ui/cocoa/bookmarks/bookmark_menu_cocoa_controller.h',
1393       'browser/ui/cocoa/bookmarks/bookmark_menu_cocoa_controller.mm',
1394       'browser/ui/cocoa/certificate_viewer_mac.mm',
1395       'browser/ui/cocoa/color_chooser_mac.mm',
1396       'browser/ui/cocoa/confirm_quit.h',
1397       'browser/ui/cocoa/confirm_quit_panel_controller.h',
1398       'browser/ui/cocoa/confirm_quit_panel_controller.mm',
1399       'browser/ui/cocoa/constrained_window/constrained_window_mac.h',
1400       'browser/ui/cocoa/constrained_window/constrained_window_mac.mm',
1401       'browser/ui/cocoa/constrained_window/constrained_window_sheet.h',
1402       'browser/ui/cocoa/constrained_window/constrained_window_sheet_controller.h',
1403       'browser/ui/cocoa/constrained_window/constrained_window_sheet_controller.mm',
1404       'browser/ui/cocoa/constrained_window/constrained_window_sheet_info.h',
1405       'browser/ui/cocoa/constrained_window/constrained_window_sheet_info.mm',
1406       'browser/ui/cocoa/dock_icon.h',
1407       'browser/ui/cocoa/dock_icon.mm',
1408       'browser/ui/cocoa/download/download_item_drag_mac.mm',
1409       'browser/ui/cocoa/download/download_util_mac.h',
1410       'browser/ui/cocoa/download/download_util_mac.mm',
1411       'browser/ui/cocoa/encoding_menu_controller_delegate_mac.h',
1412       'browser/ui/cocoa/encoding_menu_controller_delegate_mac.mm',
1413       'browser/ui/cocoa/first_run_dialog.h',
1414       'browser/ui/cocoa/first_run_dialog.mm',
1415       'browser/ui/cocoa/handoff_active_url_observer.cc',
1416       'browser/ui/cocoa/handoff_active_url_observer.h',
1417       'browser/ui/cocoa/handoff_active_url_observer_bridge.h',
1418       'browser/ui/cocoa/handoff_active_url_observer_bridge.mm',
1419       'browser/ui/cocoa/handoff_active_url_observer_delegate.h',
1420       'browser/ui/cocoa/history_menu_bridge.h',
1421       'browser/ui/cocoa/history_menu_bridge.mm',
1422       'browser/ui/cocoa/history_menu_cocoa_controller.h',
1423       'browser/ui/cocoa/history_menu_cocoa_controller.mm',
1424       'browser/ui/cocoa/history_overlay_controller.h',
1425       'browser/ui/cocoa/history_overlay_controller.mm',
1426       'browser/ui/cocoa/key_equivalent_constants.h',
1427       'browser/ui/cocoa/key_equivalent_constants.mm',
1428       'browser/ui/cocoa/keystone_infobar_delegate.h',
1429       'browser/ui/cocoa/keystone_infobar_delegate.mm',
1430       'browser/ui/cocoa/l10n_util.h',
1431       'browser/ui/cocoa/l10n_util.mm',
1432       'browser/ui/cocoa/last_active_browser_cocoa.cc',
1433       'browser/ui/cocoa/last_active_browser_cocoa.h',
1434       'browser/ui/cocoa/media_picker/desktop_media_picker_bridge.h',
1435       'browser/ui/cocoa/media_picker/desktop_media_picker_bridge.mm',
1436       'browser/ui/cocoa/media_picker/desktop_media_picker_cocoa.h',
1437       'browser/ui/cocoa/media_picker/desktop_media_picker_cocoa.mm',
1438       'browser/ui/cocoa/media_picker/desktop_media_picker_controller.h',
1439       'browser/ui/cocoa/media_picker/desktop_media_picker_controller.mm',
1440       'browser/ui/cocoa/media_picker/desktop_media_picker_item.h',
1441       'browser/ui/cocoa/media_picker/desktop_media_picker_item.mm',
1442       'browser/ui/cocoa/native_window_tracker_cocoa.h',
1443       'browser/ui/cocoa/native_window_tracker_cocoa.mm',
1444       'browser/ui/cocoa/notifications/message_center_tray_bridge.h',
1445       'browser/ui/cocoa/notifications/message_center_tray_bridge.mm',
1446       'browser/ui/cocoa/panels/display_settings_provider_cocoa.mm',
1447       'browser/ui/cocoa/profiles/profile_menu_controller.h',
1448       'browser/ui/cocoa/profiles/profile_menu_controller.mm',
1449       'browser/ui/cocoa/renderer_context_menu/render_view_context_menu_mac.h',
1450       'browser/ui/cocoa/renderer_context_menu/render_view_context_menu_mac.mm',
1451       'browser/ui/cocoa/single_web_contents_dialog_manager_cocoa.h',
1452       'browser/ui/cocoa/single_web_contents_dialog_manager_cocoa.mm',
1453       'browser/ui/cocoa/status_icons/status_icon_mac.h',
1454       'browser/ui/cocoa/status_icons/status_icon_mac.mm',
1455       'browser/ui/cocoa/status_icons/status_tray_mac.h',
1456       'browser/ui/cocoa/status_icons/status_tray_mac.mm',
1457       'browser/ui/cocoa/tab_contents/chrome_web_contents_view_delegate_mac.h',
1458       'browser/ui/cocoa/tab_contents/chrome_web_contents_view_delegate_mac.mm',
1459       'browser/ui/cocoa/tab_contents/web_drag_bookmark_handler_mac.h',
1460       'browser/ui/cocoa/tab_contents/web_drag_bookmark_handler_mac.mm',
1461       'browser/ui/cocoa/ui_localizer.h',
1462       'browser/ui/cocoa/ui_localizer.mm',
1463       'browser/ui/cocoa/web_contents_modal_dialog_host_cocoa.h',
1464       'browser/ui/cocoa/web_contents_modal_dialog_host_cocoa.mm',
1465       'browser/ui/cocoa/window_restore_utils.h',
1466       'browser/ui/cocoa/window_restore_utils.mm',
1467       'browser/ui/startup/autolaunch_prompt.cc',
1468       'browser/ui/web_contents_sizer.mm',
1469     ],
1470     'chrome_browser_ui_media_router_sources': [
1471       'browser/ui/toolbar/media_router_action.cc',
1472       'browser/ui/toolbar/media_router_action.h',
1473       'browser/ui/toolbar/media_router_contextual_menu.cc',
1474       'browser/ui/toolbar/media_router_contextual_menu.h',
1475       'browser/ui/toolbar/media_router_action_platform_delegate.cc',
1476       'browser/ui/toolbar/media_router_action_platform_delegate.h',
1477       'browser/ui/views/toolbar/media_router_action_platform_delegate_views.cc',
1478       'browser/ui/views/toolbar/media_router_action_platform_delegate_views.h',
1479       'browser/ui/webui/media_router/media_cast_mode.cc',
1480       'browser/ui/webui/media_router/media_cast_mode.h',
1481       'browser/ui/webui/media_router/media_router_dialog_controller_impl.cc',
1482       'browser/ui/webui/media_router/media_router_dialog_controller_impl.h',
1483       'browser/ui/webui/media_router/media_router_localized_strings_provider.cc',
1484       'browser/ui/webui/media_router/media_router_localized_strings_provider.h',
1485       'browser/ui/webui/media_router/media_router_resources_provider.cc',
1486       'browser/ui/webui/media_router/media_router_resources_provider.h',
1487       'browser/ui/webui/media_router/media_router_ui.cc',
1488       'browser/ui/webui/media_router/media_router_ui.h',
1489       'browser/ui/webui/media_router/media_router_webui_message_handler.cc',
1490       'browser/ui/webui/media_router/media_router_webui_message_handler.h',
1491       'browser/ui/webui/media_router/media_sink_with_cast_modes.cc',
1492       'browser/ui/webui/media_router/media_sink_with_cast_modes.h',
1493       'browser/ui/webui/media_router/query_result_manager.cc',
1494       'browser/ui/webui/media_router/query_result_manager.h',
1495     ],
1496     'chrome_browser_ui_non_mac_sources': [
1497       'browser/ui/web_contents_sizer.cc',
1498     ],
1499     'chrome_browser_ui_non_mobile_sources': [
1500       'browser/ui/apps/app_info_dialog.h',
1501       'browser/ui/apps/apps_metro_handler_win.cc',
1502       'browser/ui/apps/apps_metro_handler_win.h',
1503       'browser/ui/apps/chrome_app_delegate.cc',
1504       'browser/ui/apps/chrome_app_delegate.h',
1505       'browser/ui/apps/chrome_app_window_client.cc',
1506       'browser/ui/apps/chrome_app_window_client.h',
1507       'browser/ui/apps/directory_access_confirmation_dialog.cc',
1508       'browser/ui/apps/directory_access_confirmation_dialog.h',
1509       'browser/ui/autofill/account_chooser_model.cc',
1510       'browser/ui/autofill/account_chooser_model.h',
1511       'browser/ui/autofill/autofill_dialog_sign_in_delegate.cc',
1512       'browser/ui/autofill/autofill_dialog_sign_in_delegate.h',
1513       'browser/ui/autofill/generated_credit_card_bubble_controller.cc',
1514       'browser/ui/autofill/generated_credit_card_bubble_controller.h',
1515       'browser/ui/autofill/generated_credit_card_bubble_view.cc',
1516       'browser/ui/autofill/generated_credit_card_bubble_view.h',
1517       'browser/ui/autofill/new_credit_card_bubble_controller.cc',
1518       'browser/ui/autofill/new_credit_card_bubble_controller.h',
1519       'browser/ui/autofill/new_credit_card_bubble_view.cc',
1520       'browser/ui/autofill/new_credit_card_bubble_view.h',
1521       'browser/ui/bookmarks/bookmark_bubble_sign_in_delegate.cc',
1522       'browser/ui/bookmarks/bookmark_bubble_sign_in_delegate.h',
1523       'browser/ui/bookmarks/bookmark_context_menu_controller.cc',
1524       'browser/ui/bookmarks/bookmark_context_menu_controller.h',
1525       'browser/ui/bookmarks/bookmark_drag_drop.cc',
1526       'browser/ui/bookmarks/bookmark_drag_drop.h',
1527       'browser/ui/bookmarks/bookmark_tab_helper_delegate.cc',
1528       'browser/ui/bookmarks/bookmark_tab_helper_delegate.h',
1529       'browser/ui/bookmarks/enhanced_bookmark_key_service.cc',
1530       'browser/ui/bookmarks/enhanced_bookmark_key_service.h',
1531       'browser/ui/bookmarks/enhanced_bookmark_key_service_factory.cc',
1532       'browser/ui/bookmarks/enhanced_bookmark_key_service_factory.h',
1533       'browser/ui/browser.cc',
1534       'browser/ui/browser.h',
1535       'browser/ui/browser_command_controller.cc',
1536       'browser/ui/browser_command_controller.h',
1537       'browser/ui/browser_commands.cc',
1538       'browser/ui/browser_commands.h',
1539       'browser/ui/browser_content_setting_bubble_model_delegate.cc',
1540       'browser/ui/browser_content_setting_bubble_model_delegate.h',
1541       'browser/ui/browser_finder.cc',
1542       'browser/ui/browser_finder.h',
1543       'browser/ui/browser_instant_controller.cc',
1544       'browser/ui/browser_instant_controller.h',
1545       'browser/ui/browser_iterator.cc',
1546       'browser/ui/browser_iterator.h',
1547       'browser/ui/browser_list.cc',
1548       'browser/ui/browser_list.h',
1549       'browser/ui/browser_otr_state.cc',
1550       'browser/ui/browser_otr_state.h',
1551       'browser/ui/browser_tab_restore_service_delegate.cc',
1552       'browser/ui/browser_tab_restore_service_delegate.h',
1553       'browser/ui/browser_tab_restorer.cc',
1554       'browser/ui/browser_tab_strip_model_delegate.cc',
1555       'browser/ui/browser_tab_strip_model_delegate.h',
1556       'browser/ui/browser_tabrestore.cc',
1557       'browser/ui/browser_tabrestore.h',
1558       'browser/ui/browser_tabstrip.cc',
1559       'browser/ui/browser_tabstrip.h',
1560       'browser/ui/browser_toolbar_model_delegate.cc',
1561       'browser/ui/browser_toolbar_model_delegate.h',
1562       'browser/ui/browser_view_prefs.cc',
1563       'browser/ui/browser_view_prefs.h',
1564       'browser/ui/browser_window_state.cc',
1565       'browser/ui/browser_window_state.h',
1566       'browser/ui/chrome_pages.cc',
1567       'browser/ui/chrome_pages.h',
1568       'browser/ui/chrome_style.cc',
1569       'browser/ui/chrome_style.h',
1570       'browser/ui/chrome_web_modal_dialog_manager_delegate.cc',
1571       'browser/ui/chrome_web_modal_dialog_manager_delegate.h',
1572       'browser/ui/collected_cookies_infobar_delegate.cc',
1573       'browser/ui/collected_cookies_infobar_delegate.h',
1574       'browser/ui/confirm_bubble_model.cc',
1575       'browser/ui/confirm_bubble_model.h',
1576       'browser/ui/content_settings/content_setting_bubble_model.cc',
1577       'browser/ui/content_settings/content_setting_bubble_model.h',
1578       'browser/ui/content_settings/content_setting_bubble_model_delegate.h',
1579       'browser/ui/content_settings/content_setting_image_model.cc',
1580       'browser/ui/content_settings/content_setting_image_model.h',
1581       'browser/ui/content_settings/content_setting_media_menu_model.cc',
1582       'browser/ui/content_settings/content_setting_media_menu_model.h',
1583       'browser/ui/exclusive_access/exclusive_access_bubble.cc',
1584       'browser/ui/exclusive_access/exclusive_access_bubble.h',
1585       'browser/ui/exclusive_access/exclusive_access_bubble_type.cc',
1586       'browser/ui/exclusive_access/exclusive_access_bubble_type.h',
1587       'browser/ui/exclusive_access/exclusive_access_context.cc',
1588       'browser/ui/exclusive_access/exclusive_access_context.h',
1589       'browser/ui/exclusive_access/exclusive_access_controller_base.cc',
1590       'browser/ui/exclusive_access/exclusive_access_controller_base.h',
1591       'browser/ui/exclusive_access/exclusive_access_manager.cc',
1592       'browser/ui/exclusive_access/exclusive_access_manager.h',
1593       'browser/ui/exclusive_access/fullscreen_controller.cc',
1594       'browser/ui/exclusive_access/fullscreen_controller.h',
1595       'browser/ui/exclusive_access/fullscreen_within_tab_helper.cc',
1596       'browser/ui/exclusive_access/fullscreen_within_tab_helper.h',
1597       'browser/ui/exclusive_access/mouse_lock_controller.cc',
1598       'browser/ui/exclusive_access/mouse_lock_controller.h',
1599       'browser/ui/fast_unload_controller.cc',
1600       'browser/ui/fast_unload_controller.h',
1601       'browser/ui/find_bar/find_bar_controller.cc',
1602       'browser/ui/find_bar/find_bar_controller.h',
1603       'browser/ui/infobar_container_delegate.cc',
1604       'browser/ui/infobar_container_delegate.h',
1605       'browser/ui/location_bar/location_bar.cc',
1606       'browser/ui/location_bar/location_bar.h',
1607       'browser/ui/location_bar/location_bar_util.cc',
1608       'browser/ui/location_bar/location_bar_util.h',
1609       'browser/ui/native_window_tracker.h',
1610       'browser/ui/panels/detached_panel_collection.cc',
1611       'browser/ui/panels/detached_panel_collection.h',
1612       'browser/ui/panels/detached_panel_drag_handler.cc',
1613       'browser/ui/panels/detached_panel_drag_handler.h',
1614       'browser/ui/panels/display_settings_provider.cc',
1615       'browser/ui/panels/display_settings_provider.h',
1616       'browser/ui/panels/docked_panel_collection.cc',
1617       'browser/ui/panels/docked_panel_collection.h',
1618       'browser/ui/panels/docked_panel_drag_handler.cc',
1619       'browser/ui/panels/docked_panel_drag_handler.h',
1620       'browser/ui/panels/native_panel.h',
1621       'browser/ui/panels/native_panel_stack_window.h',
1622       'browser/ui/panels/panel.cc',
1623       'browser/ui/panels/panel.h',
1624       'browser/ui/panels/panel_bounds_animation.cc',
1625       'browser/ui/panels/panel_bounds_animation.h',
1626       'browser/ui/panels/panel_collection.cc',
1627       'browser/ui/panels/panel_collection.h',
1628       'browser/ui/panels/panel_constants.h',
1629       'browser/ui/panels/panel_drag_controller.cc',
1630       'browser/ui/panels/panel_drag_controller.h',
1631       'browser/ui/panels/panel_host.cc',
1632       'browser/ui/panels/panel_host.h',
1633       'browser/ui/panels/panel_manager.cc',
1634       'browser/ui/panels/panel_manager.h',
1635       'browser/ui/panels/panel_mouse_watcher.cc',
1636       'browser/ui/panels/panel_mouse_watcher.h',
1637       'browser/ui/panels/panel_mouse_watcher_observer.h',
1638       'browser/ui/panels/panel_mouse_watcher_timer.cc',
1639       'browser/ui/panels/panel_resize_controller.cc',
1640       'browser/ui/panels/panel_resize_controller.h',
1641       'browser/ui/panels/stacked_panel_collection.cc',
1642       'browser/ui/panels/stacked_panel_collection.h',
1643       'browser/ui/panels/stacked_panel_drag_handler.cc',
1644       'browser/ui/panels/stacked_panel_drag_handler.h',
1645       'browser/ui/passwords/save_account_more_combobox_model.cc',
1646       'browser/ui/passwords/save_account_more_combobox_model.h',
1647       'browser/ui/pdf/adobe_reader_info_win.cc',
1648       'browser/ui/pdf/adobe_reader_info_win.h',
1649       'browser/ui/pdf/chrome_pdf_web_contents_helper_client.cc',
1650       'browser/ui/pdf/chrome_pdf_web_contents_helper_client.h',
1651       'browser/ui/pdf/pdf_unsupported_feature.cc',
1652       'browser/ui/pdf/pdf_unsupported_feature.h',
1653       'browser/ui/sad_tab.cc',
1654       'browser/ui/sad_tab.h',
1655       'browser/ui/sad_tab_helper.cc',
1656       'browser/ui/sad_tab_helper.h',
1657       'browser/ui/sad_tab_types.h',
1658       'browser/ui/scoped_tabbed_browser_displayer.cc',
1659       'browser/ui/scoped_tabbed_browser_displayer.h',
1660       'browser/ui/search/instant_controller.cc',
1661       'browser/ui/search/instant_controller.h',
1662       'browser/ui/search/search_delegate.cc',
1663       'browser/ui/search/search_delegate.h',
1664       'browser/ui/search/search_ui.cc',
1665       'browser/ui/search/search_ui.h',
1666       'browser/ui/search_engines/search_engine_tab_helper_delegate.cc',
1667       'browser/ui/search_engines/search_engine_tab_helper_delegate.h',
1668       'browser/ui/singleton_tabs.cc',
1669       'browser/ui/singleton_tabs.h',
1670       'browser/ui/startup/autolaunch_prompt.h',
1671       'browser/ui/startup/autolaunch_prompt_win.cc',
1672       'browser/ui/startup/bad_flags_prompt.cc',
1673       'browser/ui/startup/bad_flags_prompt.h',
1674       'browser/ui/startup/default_browser_prompt.h',
1675       'browser/ui/startup/default_browser_prompt_win.cc',
1676       'browser/ui/startup/google_api_keys_infobar_delegate.cc',
1677       'browser/ui/startup/google_api_keys_infobar_delegate.h',
1678       'browser/ui/startup/obsolete_system_infobar_delegate.cc',
1679       'browser/ui/startup/obsolete_system_infobar_delegate.h',
1680       'browser/ui/startup/session_crashed_infobar_delegate.cc',
1681       'browser/ui/startup/session_crashed_infobar_delegate.h',
1682       'browser/ui/startup/startup_browser_creator.cc',
1683       'browser/ui/startup/startup_browser_creator.h',
1684       'browser/ui/startup/startup_browser_creator_impl.cc',
1685       'browser/ui/startup/startup_browser_creator_impl.h',
1686       'browser/ui/startup/startup_tab.cc',
1687       'browser/ui/startup/startup_tab.h',
1688       'browser/ui/startup/startup_types.h',
1689       'browser/ui/sync/browser_synced_window_delegate.cc',
1690       'browser/ui/sync/browser_synced_window_delegate.h',
1691       'browser/ui/sync/sync_promo_ui.cc',
1692       'browser/ui/sync/sync_promo_ui.h',
1693       'browser/ui/tab_contents/tab_contents_iterator.cc',
1694       'browser/ui/tab_contents/tab_contents_iterator.h',
1695       'browser/ui/tab_modal_confirm_dialog_delegate.cc',
1696       'browser/ui/tab_modal_confirm_dialog_delegate.h',
1697       'browser/ui/tabs/hover_tab_selector.cc',
1698       'browser/ui/tabs/hover_tab_selector.h',
1699       'browser/ui/tabs/pinned_tab_codec.cc',
1700       'browser/ui/tabs/pinned_tab_codec.h',
1701       'browser/ui/tabs/pinned_tab_service.cc',
1702       'browser/ui/tabs/pinned_tab_service.h',
1703       'browser/ui/tabs/pinned_tab_service_factory.cc',
1704       'browser/ui/tabs/pinned_tab_service_factory.h',
1705       'browser/ui/tabs/tab_menu_model.cc',
1706       'browser/ui/tabs/tab_menu_model.h',
1707       'browser/ui/tabs/tab_resources.cc',
1708       'browser/ui/tabs/tab_resources.h',
1709       'browser/ui/tabs/tab_strip_model.cc',
1710       'browser/ui/tabs/tab_strip_model.h',
1711       'browser/ui/tabs/tab_strip_model_delegate.h',
1712       'browser/ui/tabs/tab_strip_model_observer.cc',
1713       'browser/ui/tabs/tab_strip_model_observer.h',
1714       'browser/ui/tabs/tab_strip_model_order_controller.cc',
1715       'browser/ui/tabs/tab_strip_model_order_controller.h',
1716       'browser/ui/tabs/tab_strip_model_utils.cc',
1717       'browser/ui/tabs/tab_strip_model_utils.h',
1718       'browser/ui/toolbar/back_forward_menu_model.cc',
1719       'browser/ui/toolbar/back_forward_menu_model.h',
1720       'browser/ui/toolbar/bookmark_sub_menu_model.cc',
1721       'browser/ui/toolbar/bookmark_sub_menu_model.h',
1722       'browser/ui/toolbar/component_toolbar_actions_factory.cc',
1723       'browser/ui/toolbar/component_toolbar_actions_factory.h',
1724       'browser/ui/toolbar/encoding_menu_controller.cc',
1725       'browser/ui/toolbar/encoding_menu_controller.h',
1726       'browser/ui/toolbar/recent_tabs_sub_menu_model.cc',
1727       'browser/ui/toolbar/recent_tabs_sub_menu_model.h',
1728       'browser/ui/toolbar/toolbar_action_view_controller.h',
1729       'browser/ui/toolbar/toolbar_action_view_delegate.h',
1730       'browser/ui/toolbar/toolbar_actions_bar.cc',
1731       'browser/ui/toolbar/toolbar_actions_bar.h',
1732       'browser/ui/toolbar/toolbar_actions_bar_bubble_delegate.h',
1733       'browser/ui/toolbar/toolbar_actions_bar_delegate.h',
1734       'browser/ui/toolbar/wrench_icon_painter.cc',
1735       'browser/ui/toolbar/wrench_icon_painter.h',
1736       'browser/ui/toolbar/wrench_menu_badge_controller.cc',
1737       'browser/ui/toolbar/wrench_menu_badge_controller.h',
1738       'browser/ui/toolbar/wrench_menu_model.cc',
1739       'browser/ui/toolbar/wrench_menu_model.h',
1740       'browser/ui/uma_browsing_activity_observer.cc',
1741       'browser/ui/uma_browsing_activity_observer.h',
1742       'browser/ui/unload_controller.cc',
1743       'browser/ui/unload_controller.h',
1744       'browser/ui/website_settings/permission_menu_model.cc',
1745       'browser/ui/website_settings/permission_menu_model.h',
1746       'browser/ui/website_settings/website_settings_utils.cc',
1747       'browser/ui/website_settings/website_settings_utils.h',
1748       'browser/ui/webui/app_launcher_login_handler.cc',
1749       'browser/ui/webui/app_launcher_login_handler.h',
1750       'browser/ui/webui/bookmarks_ui.cc',
1751       'browser/ui/webui/bookmarks_ui.h',
1752       'browser/ui/webui/chrome_web_contents_handler.cc',
1753       'browser/ui/webui/chrome_web_contents_handler.h',
1754       'browser/ui/webui/copresence_ui.cc',
1755       'browser/ui/webui/copresence_ui.h',
1756       'browser/ui/webui/copresence_ui_handler.cc',
1757       'browser/ui/webui/copresence_ui_handler.h',
1758       'browser/ui/webui/devtools_ui.cc',
1759       'browser/ui/webui/devtools_ui.h',
1760       'browser/ui/webui/downloads_dom_handler.cc',
1761       'browser/ui/webui/downloads_dom_handler.h',
1762       'browser/ui/webui/downloads_ui.cc',
1763       'browser/ui/webui/downloads_ui.h',
1764       'browser/ui/webui/extensions/extension_loader_handler.cc',
1765       'browser/ui/webui/extensions/extension_loader_handler.h',
1766       'browser/ui/webui/extensions/extension_settings_handler.cc',
1767       'browser/ui/webui/extensions/extension_settings_handler.h',
1768       'browser/ui/webui/extensions/extensions_ui.cc',
1769       'browser/ui/webui/extensions/extensions_ui.h',
1770       'browser/ui/webui/extensions/install_extension_handler.cc',
1771       'browser/ui/webui/extensions/install_extension_handler.h',
1772       'browser/ui/webui/help/help_handler.cc',
1773       'browser/ui/webui/help/help_handler.h',
1774       'browser/ui/webui/help/help_ui.cc',
1775       'browser/ui/webui/help/help_ui.h',
1776       'browser/ui/webui/help/help_utils_chromeos.cc',
1777       'browser/ui/webui/help/help_utils_chromeos.h',
1778       'browser/ui/webui/help/version_updater.h',
1779       'browser/ui/webui/help/version_updater_chromeos.cc',
1780       'browser/ui/webui/help/version_updater_chromeos.h',
1781       'browser/ui/webui/help/version_updater_mac.h',
1782       'browser/ui/webui/help/version_updater_mac.mm',
1783       'browser/ui/webui/help/version_updater_win.cc',
1784       'browser/ui/webui/history_login_handler.cc',
1785       'browser/ui/webui/history_login_handler.h',
1786       'browser/ui/webui/identity_internals_ui.cc',
1787       'browser/ui/webui/identity_internals_ui.h',
1788       'browser/ui/webui/inspect_ui.cc',
1789       'browser/ui/webui/inspect_ui.h',
1790       'browser/ui/webui/ntp/app_launcher_handler.cc',
1791       'browser/ui/webui/ntp/app_launcher_handler.h',
1792       'browser/ui/webui/ntp/app_resource_cache_factory.cc',
1793       'browser/ui/webui/ntp/app_resource_cache_factory.h',
1794       'browser/ui/webui/ntp/core_app_launcher_handler.cc',
1795       'browser/ui/webui/ntp/core_app_launcher_handler.h',
1796       'browser/ui/webui/ntp/favicon_webui_handler.cc',
1797       'browser/ui/webui/ntp/favicon_webui_handler.h',
1798       'browser/ui/webui/ntp/new_tab_page_handler.cc',
1799       'browser/ui/webui/ntp/new_tab_page_handler.h',
1800       'browser/ui/webui/ntp/new_tab_page_sync_handler.cc',
1801       'browser/ui/webui/ntp/new_tab_page_sync_handler.h',
1802       'browser/ui/webui/ntp/new_tab_ui.cc',
1803       'browser/ui/webui/ntp/new_tab_ui.h',
1804       'browser/ui/webui/ntp/ntp_resource_cache.cc',
1805       'browser/ui/webui/ntp/ntp_resource_cache.h',
1806       'browser/ui/webui/ntp/ntp_resource_cache_factory.cc',
1807       'browser/ui/webui/ntp/ntp_resource_cache_factory.h',
1808       'browser/ui/webui/ntp/ntp_stats.h',
1809       'browser/ui/webui/options/advanced_options_utils.h',
1810       'browser/ui/webui/options/advanced_options_utils_linux.cc',
1811       'browser/ui/webui/options/advanced_options_utils_mac.mm',
1812       'browser/ui/webui/options/advanced_options_utils_win.cc',
1813       'browser/ui/webui/options/autofill_options_handler.cc',
1814       'browser/ui/webui/options/autofill_options_handler.h',
1815       'browser/ui/webui/options/automatic_settings_reset_handler.cc',
1816       'browser/ui/webui/options/automatic_settings_reset_handler.h',
1817       'browser/ui/webui/options/browser_options_handler.cc',
1818       'browser/ui/webui/options/browser_options_handler.h',
1819       'browser/ui/webui/options/chromeos/accounts_options_handler.cc',
1820       'browser/ui/webui/options/chromeos/accounts_options_handler.h',
1821       'browser/ui/webui/options/chromeos/bluetooth_options_handler.cc',
1822       'browser/ui/webui/options/chromeos/bluetooth_options_handler.h',
1823       'browser/ui/webui/options/chromeos/change_picture_options_handler.cc',
1824       'browser/ui/webui/options/chromeos/change_picture_options_handler.h',
1825       'browser/ui/webui/options/chromeos/consumer_management_handler.cc',
1826       'browser/ui/webui/options/chromeos/consumer_management_handler.h',
1827       'browser/ui/webui/options/chromeos/core_chromeos_options_handler.cc',
1828       'browser/ui/webui/options/chromeos/core_chromeos_options_handler.h',
1829       'browser/ui/webui/options/chromeos/cros_language_options_handler.cc',
1830       'browser/ui/webui/options/chromeos/cros_language_options_handler.h',
1831       'browser/ui/webui/options/chromeos/date_time_options_handler.cc',
1832       'browser/ui/webui/options/chromeos/date_time_options_handler.h',
1833       'browser/ui/webui/options/chromeos/display_options_handler.cc',
1834       'browser/ui/webui/options/chromeos/display_options_handler.h',
1835       'browser/ui/webui/options/chromeos/display_overscan_handler.cc',
1836       'browser/ui/webui/options/chromeos/display_overscan_handler.h',
1837       'browser/ui/webui/options/chromeos/internet_options_handler.cc',
1838       'browser/ui/webui/options/chromeos/internet_options_handler.h',
1839       'browser/ui/webui/options/chromeos/internet_options_handler_strings.cc',
1840       'browser/ui/webui/options/chromeos/internet_options_handler_strings.h',
1841       'browser/ui/webui/options/chromeos/keyboard_handler.cc',
1842       'browser/ui/webui/options/chromeos/keyboard_handler.h',
1843       'browser/ui/webui/options/chromeos/pointer_handler.cc',
1844       'browser/ui/webui/options/chromeos/pointer_handler.h',
1845       'browser/ui/webui/options/chromeos/power_handler.cc',
1846       'browser/ui/webui/options/chromeos/power_handler.h',
1847       'browser/ui/webui/options/chromeos/proxy_handler.cc',
1848       'browser/ui/webui/options/chromeos/proxy_handler.h',
1849       'browser/ui/webui/options/chromeos/stats_options_handler.cc',
1850       'browser/ui/webui/options/chromeos/stats_options_handler.h',
1851       'browser/ui/webui/options/chromeos/user_image_source.cc',
1852       'browser/ui/webui/options/chromeos/user_image_source.h',
1853       'browser/ui/webui/options/clear_browser_data_handler.cc',
1854       'browser/ui/webui/options/clear_browser_data_handler.h',
1855       'browser/ui/webui/options/content_settings_handler.cc',
1856       'browser/ui/webui/options/content_settings_handler.h',
1857       'browser/ui/webui/options/cookies_view_handler.cc',
1858       'browser/ui/webui/options/cookies_view_handler.h',
1859       'browser/ui/webui/options/core_options_handler.cc',
1860       'browser/ui/webui/options/core_options_handler.h',
1861       'browser/ui/webui/options/create_profile_handler.cc',
1862       'browser/ui/webui/options/create_profile_handler.h',
1863       'browser/ui/webui/options/easy_unlock_handler.cc',
1864       'browser/ui/webui/options/easy_unlock_handler.h',
1865       'browser/ui/webui/options/font_settings_handler.cc',
1866       'browser/ui/webui/options/font_settings_handler.h',
1867       'browser/ui/webui/options/font_settings_utils.h',
1868       'browser/ui/webui/options/font_settings_utils_linux.cc',
1869       'browser/ui/webui/options/font_settings_utils_mac.mm',
1870       'browser/ui/webui/options/font_settings_utils_win.cc',
1871       'browser/ui/webui/options/handler_options_handler.cc',
1872       'browser/ui/webui/options/handler_options_handler.h',
1873       'browser/ui/webui/options/help_overlay_handler.cc',
1874       'browser/ui/webui/options/help_overlay_handler.h',
1875       'browser/ui/webui/options/home_page_overlay_handler.cc',
1876       'browser/ui/webui/options/home_page_overlay_handler.h',
1877       'browser/ui/webui/options/import_data_handler.cc',
1878       'browser/ui/webui/options/import_data_handler.h',
1879       'browser/ui/webui/options/language_dictionary_overlay_handler.cc',
1880       'browser/ui/webui/options/language_dictionary_overlay_handler.h',
1881       'browser/ui/webui/options/language_options_handler.cc',
1882       'browser/ui/webui/options/language_options_handler.h',
1883       'browser/ui/webui/options/language_options_handler_common.cc',
1884       'browser/ui/webui/options/language_options_handler_common.h',
1885       'browser/ui/webui/options/manage_profile_handler.cc',
1886       'browser/ui/webui/options/manage_profile_handler.h',
1887       'browser/ui/webui/options/media_devices_selection_handler.cc',
1888       'browser/ui/webui/options/media_devices_selection_handler.h',
1889       'browser/ui/webui/options/options_handlers_helper.cc',
1890       'browser/ui/webui/options/options_handlers_helper.h',
1891       'browser/ui/webui/options/options_ui.cc',
1892       'browser/ui/webui/options/options_ui.h',
1893       'browser/ui/webui/options/password_manager_handler.cc',
1894       'browser/ui/webui/options/password_manager_handler.h',
1895       'browser/ui/webui/options/pepper_flash_content_settings_utils.cc',
1896       'browser/ui/webui/options/pepper_flash_content_settings_utils.h',
1897       'browser/ui/webui/options/reset_profile_settings_handler.cc',
1898       'browser/ui/webui/options/reset_profile_settings_handler.h',
1899       'browser/ui/webui/options/search_engine_manager_handler.cc',
1900       'browser/ui/webui/options/search_engine_manager_handler.h',
1901       'browser/ui/webui/options/startup_pages_handler.cc',
1902       'browser/ui/webui/options/startup_pages_handler.h',
1903       'browser/ui/webui/options/supervised_user_create_confirm_handler.cc',
1904       'browser/ui/webui/options/supervised_user_create_confirm_handler.h',
1905       'browser/ui/webui/options/supervised_user_import_handler.cc',
1906       'browser/ui/webui/options/supervised_user_import_handler.h',
1907       'browser/ui/webui/options/supervised_user_learn_more_handler.cc',
1908       'browser/ui/webui/options/supervised_user_learn_more_handler.h',
1909       'browser/ui/webui/options/sync_setup_handler.cc',
1910       'browser/ui/webui/options/sync_setup_handler.h',
1911       'browser/ui/webui/plugins_ui.cc',
1912       'browser/ui/webui/plugins_ui.h',
1913       'browser/ui/webui/profile_info_watcher.cc',
1914       'browser/ui/webui/profile_info_watcher.h',
1915       'browser/ui/webui/quota_internals/quota_internals_handler.cc',
1916       'browser/ui/webui/quota_internals/quota_internals_handler.h',
1917       'browser/ui/webui/quota_internals/quota_internals_proxy.cc',
1918       'browser/ui/webui/quota_internals/quota_internals_proxy.h',
1919       'browser/ui/webui/quota_internals/quota_internals_types.cc',
1920       'browser/ui/webui/quota_internals/quota_internals_types.h',
1921       'browser/ui/webui/quota_internals/quota_internals_ui.cc',
1922       'browser/ui/webui/quota_internals/quota_internals_ui.h',
1923       'browser/ui/webui/settings/appearance_handler.cc',
1924       'browser/ui/webui/settings/appearance_handler.h',
1925       'browser/ui/webui/settings/downloads_handler.cc',
1926       'browser/ui/webui/settings/downloads_handler.h',
1927       'browser/ui/webui/settings/md_settings_localized_strings_provider.cc',
1928       'browser/ui/webui/settings/md_settings_localized_strings_provider.h',
1929       'browser/ui/webui/settings/md_settings_ui.cc',
1930       'browser/ui/webui/settings/md_settings_ui.h',
1931       'browser/ui/webui/signin/inline_login_handler.cc',
1932       'browser/ui/webui/signin/inline_login_handler.h',
1933       'browser/ui/webui/signin/inline_login_ui.cc',
1934       'browser/ui/webui/signin/inline_login_ui.h',
1935       'browser/ui/webui/signin/login_ui_service.cc',
1936       'browser/ui/webui/signin/login_ui_service.h',
1937       'browser/ui/webui/signin/login_ui_service_factory.cc',
1938       'browser/ui/webui/signin/login_ui_service_factory.h',
1939       'browser/ui/webui/signin/profile_signin_confirmation_dialog.cc',
1940       'browser/ui/webui/signin/profile_signin_confirmation_dialog.h',
1941       'browser/ui/webui/signin/profile_signin_confirmation_ui.cc',
1942       'browser/ui/webui/signin/profile_signin_confirmation_ui.h',
1943       'browser/ui/webui/sync_file_system_internals/dump_database_handler.cc',
1944       'browser/ui/webui/sync_file_system_internals/dump_database_handler.h',
1945       'browser/ui/webui/sync_file_system_internals/extension_statuses_handler.cc',
1946       'browser/ui/webui/sync_file_system_internals/extension_statuses_handler.h',
1947       'browser/ui/webui/sync_file_system_internals/file_metadata_handler.cc',
1948       'browser/ui/webui/sync_file_system_internals/file_metadata_handler.h',
1949       'browser/ui/webui/sync_file_system_internals/sync_file_system_internals_handler.cc',
1950       'browser/ui/webui/sync_file_system_internals/sync_file_system_internals_handler.h',
1951       'browser/ui/webui/sync_file_system_internals/sync_file_system_internals_ui.cc',
1952       'browser/ui/webui/sync_file_system_internals/sync_file_system_internals_ui.h',
1953       'browser/ui/webui/system_info_ui.cc',
1954       'browser/ui/webui/system_info_ui.h',
1955       'browser/ui/webui/theme_handler.cc',
1956       'browser/ui/webui/theme_handler.h',
1957       'browser/ui/webui/uber/uber_ui.cc',
1958       'browser/ui/webui/uber/uber_ui.h',
1959       'browser/ui/window_sizer/window_sizer.cc',
1960       'browser/ui/window_sizer/window_sizer.h',
1961     ],
1962     # Cross-platform views sources also ready for toolkit-views on Mac.
1963     'chrome_browser_ui_views_sources': [
1964       'browser/ui/app_list/app_list_controller_delegate_views.cc',
1965       'browser/ui/app_list/app_list_controller_delegate_views.h',
1966       'browser/ui/app_list/app_list_service_views.cc',
1967       'browser/ui/app_list/app_list_service_views.h',
1968       'browser/ui/app_list/app_list_shower_views.cc',
1969       'browser/ui/app_list/app_list_shower_views.h',
1970       'browser/ui/views/apps/app_info_dialog/app_info_dialog_views.cc',
1971       'browser/ui/views/apps/app_info_dialog/app_info_dialog_views.h',
1972       'browser/ui/views/apps/app_info_dialog/app_info_footer_panel.cc',
1973       'browser/ui/views/apps/app_info_dialog/app_info_footer_panel.h',
1974       'browser/ui/views/apps/app_info_dialog/app_info_header_panel.cc',
1975       'browser/ui/views/apps/app_info_dialog/app_info_header_panel.h',
1976       'browser/ui/views/apps/app_info_dialog/app_info_panel.cc',
1977       'browser/ui/views/apps/app_info_dialog/app_info_panel.h',
1978       'browser/ui/views/apps/app_info_dialog/app_info_permissions_panel.cc',
1979       'browser/ui/views/apps/app_info_dialog/app_info_permissions_panel.h',
1980       'browser/ui/views/apps/app_info_dialog/app_info_summary_panel.cc',
1981       'browser/ui/views/apps/app_info_dialog/app_info_summary_panel.h',
1982       'browser/ui/views/apps/app_window_native_widget_mac.h',
1983       'browser/ui/views/apps/app_window_native_widget_mac.mm',
1984       'browser/ui/views/apps/chrome_native_app_window_views.cc',
1985       'browser/ui/views/apps/chrome_native_app_window_views.h',
1986       'browser/ui/views/apps/chrome_native_app_window_views_mac.h',
1987       'browser/ui/views/apps/chrome_native_app_window_views_mac.mm',
1988       'browser/ui/views/apps/desktop_keyboard_capture.cc',
1989       'browser/ui/views/apps/desktop_keyboard_capture.h',
1990       'browser/ui/views/apps/keyboard_hook_handler.cc',
1991       'browser/ui/views/apps/keyboard_hook_handler.h',
1992       'browser/ui/views/apps/native_app_window_frame_view_mac.h',
1993       'browser/ui/views/apps/native_app_window_frame_view_mac.mm',
1994       'browser/ui/views/chrome_browser_main_extra_parts_views.cc',
1995       'browser/ui/views/chrome_browser_main_extra_parts_views.h',
1996       'browser/ui/views/chrome_constrained_window_views_client.cc',
1997       'browser/ui/views/chrome_constrained_window_views_client.h',
1998       'browser/ui/views/chrome_views_delegate.cc',
1999       'browser/ui/views/chrome_views_delegate.h',
2000       'browser/ui/views/extensions/extension_keybinding_registry_views.cc',
2001       'browser/ui/views/extensions/extension_keybinding_registry_views.h',
2002       'browser/ui/views/frame/native_widget_mac_frameless_nswindow.h',
2003       'browser/ui/views/frame/native_widget_mac_frameless_nswindow.mm',
2004     ],
2005     # Views files for everywhere but ChromeOS.
2006     'chrome_browser_ui_views_non_chromeos_sources': [
2007       'browser/ui/views/external_protocol_dialog.cc',
2008       'browser/ui/views/external_protocol_dialog.h',
2009       'browser/ui/views/screen_capture_notification_ui_views.cc',
2010       'browser/ui/views/sync/one_click_signin_bubble_view.cc',
2011       'browser/ui/views/sync/one_click_signin_bubble_view.h',
2012     ],
2013     # Cross-platform (except Mac) views sources. We assume app list is enabled.
2014     'chrome_browser_ui_views_non_mac_sources': [
2015       'browser/ui/views/accelerator_utils_aura.cc',
2016       'browser/ui/views/accessibility/invert_bubble_view.cc',
2017       'browser/ui/views/accessibility/invert_bubble_view.h',
2018       'browser/ui/views/apps/app_window_desktop_native_widget_aura_win.cc',
2019       'browser/ui/views/apps/app_window_desktop_native_widget_aura_win.h',
2020       'browser/ui/views/apps/app_window_desktop_window_tree_host_win.cc',
2021       'browser/ui/views/apps/app_window_desktop_window_tree_host_win.h',
2022       'browser/ui/views/apps/app_window_easy_resize_window_targeter.cc',
2023       'browser/ui/views/apps/app_window_easy_resize_window_targeter.h',
2024       'browser/ui/views/apps/chrome_app_window_client_views_win.cc',
2025       'browser/ui/views/apps/chrome_native_app_window_views_aura.cc',
2026       'browser/ui/views/apps/chrome_native_app_window_views_aura.h',
2027       'browser/ui/views/apps/chrome_native_app_window_views_win.cc',
2028       'browser/ui/views/apps/chrome_native_app_window_views_win.h',
2029       'browser/ui/views/apps/glass_app_window_frame_view_win.cc',
2030       'browser/ui/views/apps/glass_app_window_frame_view_win.h',
2031       'browser/ui/views/apps/keyboard_hook_handler_win.cc',
2032       'browser/ui/views/apps/shaped_app_window_targeter.cc',
2033       'browser/ui/views/apps/shaped_app_window_targeter.h',
2034       'browser/ui/views/ash/tab_scrubber.cc',
2035       'browser/ui/views/ash/tab_scrubber.h',
2036       'browser/ui/views/auto_keep_alive.cc',
2037       'browser/ui/views/auto_keep_alive.h',
2038       'browser/ui/views/autofill/autofill_dialog_views.cc',
2039       'browser/ui/views/autofill/autofill_dialog_views.h',
2040       'browser/ui/views/autofill/autofill_popup_base_view.cc',
2041       'browser/ui/views/autofill/autofill_popup_base_view.h',
2042       'browser/ui/views/autofill/autofill_popup_view_views.cc',
2043       'browser/ui/views/autofill/autofill_popup_view_views.h',
2044       'browser/ui/views/autofill/card_unmask_prompt_views.cc',
2045       'browser/ui/views/autofill/card_unmask_prompt_views.h',
2046       'browser/ui/views/autofill/decorated_textfield.cc',
2047       'browser/ui/views/autofill/decorated_textfield.h',
2048       'browser/ui/views/autofill/expanding_textfield.cc',
2049       'browser/ui/views/autofill/expanding_textfield.h',
2050       'browser/ui/views/autofill/generated_credit_card_bubble_views.cc',
2051       'browser/ui/views/autofill/generated_credit_card_bubble_views.h',
2052       'browser/ui/views/autofill/info_bubble.cc',
2053       'browser/ui/views/autofill/info_bubble.h',
2054       'browser/ui/views/autofill/new_credit_card_bubble_views.cc',
2055       'browser/ui/views/autofill/new_credit_card_bubble_views.h',
2056       'browser/ui/views/autofill/password_generation_popup_view_views.cc',
2057       'browser/ui/views/autofill/password_generation_popup_view_views.h',
2058       'browser/ui/views/autofill/tooltip_icon.cc',
2059       'browser/ui/views/autofill/tooltip_icon.h',
2060       'browser/ui/views/bookmarks/bookmark_bar_instructions_view.cc',
2061       'browser/ui/views/bookmarks/bookmark_bar_instructions_view.h',
2062       'browser/ui/views/bookmarks/bookmark_bar_view.cc',
2063       'browser/ui/views/bookmarks/bookmark_bar_view.h',
2064       'browser/ui/views/bookmarks/bookmark_bar_view_observer.h',
2065       'browser/ui/views/bookmarks/bookmark_bubble_view.cc',
2066       'browser/ui/views/bookmarks/bookmark_bubble_view.h',
2067       'browser/ui/views/bookmarks/bookmark_bubble_view_observer.h',
2068       'browser/ui/views/bookmarks/bookmark_context_menu.cc',
2069       'browser/ui/views/bookmarks/bookmark_context_menu.h',
2070       'browser/ui/views/bookmarks/bookmark_drag_drop_views.cc',
2071       'browser/ui/views/bookmarks/bookmark_editor_view.cc',
2072       'browser/ui/views/bookmarks/bookmark_editor_view.h',
2073       'browser/ui/views/bookmarks/bookmark_menu_controller_observer.h',
2074       'browser/ui/views/bookmarks/bookmark_menu_controller_views.cc',
2075       'browser/ui/views/bookmarks/bookmark_menu_controller_views.h',
2076       'browser/ui/views/bookmarks/bookmark_menu_delegate.cc',
2077       'browser/ui/views/bookmarks/bookmark_menu_delegate.h',
2078       'browser/ui/views/bookmarks/bookmark_sync_promo_view.cc',
2079       'browser/ui/views/bookmarks/bookmark_sync_promo_view.h',
2080       'browser/ui/views/certificate_selector.cc',
2081       'browser/ui/views/certificate_selector.h',
2082       'browser/ui/views/certificate_viewer_win.cc',
2083       'browser/ui/views/chrome_javascript_native_dialog_factory_views.cc',
2084       'browser/ui/views/chrome_views_delegate_chromeos.cc',
2085       'browser/ui/views/chrome_web_dialog_view.cc',
2086       'browser/ui/views/collected_cookies_views.cc',
2087       'browser/ui/views/collected_cookies_views.h',
2088       'browser/ui/views/color_chooser_aura.cc',
2089       'browser/ui/views/color_chooser_aura.h',
2090       'browser/ui/views/color_chooser_win.cc',
2091       'browser/ui/views/confirm_bubble_views.cc',
2092       'browser/ui/views/confirm_bubble_views.h',
2093       'browser/ui/views/conflicting_module_view_win.cc',
2094       'browser/ui/views/conflicting_module_view_win.h',
2095       'browser/ui/views/constrained_web_dialog_delegate_views.cc',
2096       'browser/ui/views/content_setting_bubble_contents.cc',
2097       'browser/ui/views/content_setting_bubble_contents.h',
2098       'browser/ui/views/cookie_info_view.cc',
2099       'browser/ui/views/cookie_info_view.h',
2100       'browser/ui/views/create_application_shortcut_view.cc',
2101       'browser/ui/views/create_application_shortcut_view.h',
2102       'browser/ui/views/critical_notification_bubble_view.cc',
2103       'browser/ui/views/critical_notification_bubble_view.h',
2104       'browser/ui/views/download/download_danger_prompt_views.cc',
2105       'browser/ui/views/download/download_feedback_dialog_view.cc',
2106       'browser/ui/views/download/download_feedback_dialog_view.h',
2107       'browser/ui/views/download/download_in_progress_dialog_view.cc',
2108       'browser/ui/views/download/download_in_progress_dialog_view.h',
2109       'browser/ui/views/download/download_item_view.cc',
2110       'browser/ui/views/download/download_item_view.h',
2111       'browser/ui/views/download/download_shelf_context_menu_view.cc',
2112       'browser/ui/views/download/download_shelf_context_menu_view.h',
2113       'browser/ui/views/download/download_shelf_view.cc',
2114       'browser/ui/views/download/download_shelf_view.h',
2115       'browser/ui/views/download/download_started_animation_views.cc',
2116       'browser/ui/views/dropdown_bar_host.cc',
2117       'browser/ui/views/dropdown_bar_host.h',
2118       'browser/ui/views/dropdown_bar_host_aura.cc',
2119       'browser/ui/views/dropdown_bar_host_delegate.h',
2120       'browser/ui/views/dropdown_bar_host_mac.mm',
2121       'browser/ui/views/dropdown_bar_view.cc',
2122       'browser/ui/views/dropdown_bar_view.h',
2123       'browser/ui/views/edit_search_engine_dialog.cc',
2124       'browser/ui/views/edit_search_engine_dialog.h',
2125       'browser/ui/views/elevation_icon_setter.cc',
2126       'browser/ui/views/elevation_icon_setter.h',
2127       'browser/ui/views/exclusive_access_bubble_views.cc',
2128       'browser/ui/views/exclusive_access_bubble_views.h',
2129       'browser/ui/views/exclusive_access_bubble_views_context.h',
2130       'browser/ui/views/find_bar_host.cc',
2131       'browser/ui/views/find_bar_host.h',
2132       'browser/ui/views/find_bar_view.cc',
2133       'browser/ui/views/find_bar_view.h',
2134       'browser/ui/views/first_run_bubble.cc',
2135       'browser/ui/views/first_run_bubble.h',
2136       'browser/ui/views/frame/browser_command_handler_linux.cc',
2137       'browser/ui/views/frame/browser_command_handler_linux.h',
2138       'browser/ui/views/frame/browser_frame.cc',
2139       'browser/ui/views/frame/browser_frame.h',
2140       'browser/ui/views/frame/browser_frame_common_win.cc',
2141       'browser/ui/views/frame/browser_frame_common_win.h',
2142       'browser/ui/views/frame/browser_frame_mac.h',
2143       'browser/ui/views/frame/browser_frame_mac.mm',
2144       'browser/ui/views/frame/browser_non_client_frame_view.cc',
2145       'browser/ui/views/frame/browser_non_client_frame_view.h',
2146       'browser/ui/views/frame/browser_non_client_frame_view_factory_aura.cc',
2147       'browser/ui/views/frame/browser_non_client_frame_view_factory_mac.mm',
2148       'browser/ui/views/frame/browser_non_client_frame_view_mac.h',
2149       'browser/ui/views/frame/browser_non_client_frame_view_mac.mm',
2150       'browser/ui/views/frame/browser_root_view.cc',
2151       'browser/ui/views/frame/browser_root_view.h',
2152       'browser/ui/views/frame/browser_shutdown.cc',
2153       'browser/ui/views/frame/browser_shutdown.h',
2154       'browser/ui/views/frame/browser_view.cc',
2155       'browser/ui/views/frame/browser_view.h',
2156       'browser/ui/views/frame/browser_view_layout.cc',
2157       'browser/ui/views/frame/browser_view_layout.h',
2158       'browser/ui/views/frame/browser_view_layout_delegate.h',
2159       'browser/ui/views/frame/browser_window_factory.cc',
2160       'browser/ui/views/frame/browser_window_property_manager_win.cc',
2161       'browser/ui/views/frame/browser_window_property_manager_win.h',
2162       'browser/ui/views/frame/contents_layout_manager.cc',
2163       'browser/ui/views/frame/contents_layout_manager.h',
2164       'browser/ui/views/frame/contents_web_view.cc',
2165       'browser/ui/views/frame/contents_web_view.h',
2166       'browser/ui/views/frame/immersive_mode_controller.cc',
2167       'browser/ui/views/frame/immersive_mode_controller.h',
2168       'browser/ui/views/frame/immersive_mode_controller_factory_ash.cc',
2169       'browser/ui/views/frame/immersive_mode_controller_factory_mac.cc',
2170       'browser/ui/views/frame/immersive_mode_controller_stub.cc',
2171       'browser/ui/views/frame/immersive_mode_controller_stub.h',
2172       'browser/ui/views/frame/minimize_button_metrics_win.cc',
2173       'browser/ui/views/frame/minimize_button_metrics_win.h',
2174       'browser/ui/views/frame/native_browser_frame.h',
2175       'browser/ui/views/frame/native_browser_frame_factory.cc',
2176       'browser/ui/views/frame/native_browser_frame_factory.h',
2177       'browser/ui/views/frame/native_browser_frame_factory_chromeos.cc',
2178       'browser/ui/views/frame/native_browser_frame_factory_mac.cc',
2179       'browser/ui/views/frame/opaque_browser_frame_view.cc',
2180       'browser/ui/views/frame/opaque_browser_frame_view.h',
2181       'browser/ui/views/frame/opaque_browser_frame_view_layout.cc',
2182       'browser/ui/views/frame/opaque_browser_frame_view_layout.h',
2183       'browser/ui/views/frame/opaque_browser_frame_view_layout_delegate.h',
2184       'browser/ui/views/frame/opaque_browser_frame_view_linux.cc',
2185       'browser/ui/views/frame/opaque_browser_frame_view_linux.h',
2186       'browser/ui/views/frame/opaque_browser_frame_view_platform_specific.cc',
2187       'browser/ui/views/frame/opaque_browser_frame_view_platform_specific.h',
2188       'browser/ui/views/frame/system_menu_insertion_delegate_win.cc',
2189       'browser/ui/views/frame/system_menu_insertion_delegate_win.h',
2190       'browser/ui/views/frame/system_menu_model_builder.cc',
2191       'browser/ui/views/frame/system_menu_model_builder.h',
2192       'browser/ui/views/frame/system_menu_model_delegate.cc',
2193       'browser/ui/views/frame/system_menu_model_delegate.h',
2194       'browser/ui/views/frame/taskbar_decorator.cc',
2195       'browser/ui/views/frame/taskbar_decorator.h',
2196       'browser/ui/views/frame/taskbar_decorator_win.cc',
2197       'browser/ui/views/frame/top_container_view.cc',
2198       'browser/ui/views/frame/top_container_view.h',
2199       'browser/ui/views/frame/web_contents_close_handler.cc',
2200       'browser/ui/views/frame/web_contents_close_handler.h',
2201       'browser/ui/views/frame/web_contents_close_handler_delegate.h',
2202       'browser/ui/views/global_error_bubble_view.cc',
2203       'browser/ui/views/global_error_bubble_view.h',
2204       'browser/ui/views/hung_renderer_view.cc',
2205       'browser/ui/views/hung_renderer_view.h',
2206       'browser/ui/views/importer/import_lock_dialog_view.cc',
2207       'browser/ui/views/importer/import_lock_dialog_view.h',
2208       'browser/ui/views/infobars/alternate_nav_infobar_view.cc',
2209       'browser/ui/views/infobars/alternate_nav_infobar_view.h',
2210       'browser/ui/views/infobars/confirm_infobar.cc',
2211       'browser/ui/views/infobars/confirm_infobar.h',
2212       'browser/ui/views/infobars/infobar_background.cc',
2213       'browser/ui/views/infobars/infobar_background.h',
2214       'browser/ui/views/infobars/infobar_container_view.cc',
2215       'browser/ui/views/infobars/infobar_container_view.h',
2216       'browser/ui/views/infobars/infobar_view.cc',
2217       'browser/ui/views/infobars/infobar_view.h',
2218       'browser/ui/views/infobars/save_password_infobar.cc',
2219       'browser/ui/views/load_complete_listener.cc',
2220       'browser/ui/views/load_complete_listener.h',
2221       'browser/ui/views/location_bar/bubble_icon_view.cc',
2222       'browser/ui/views/location_bar/bubble_icon_view.h',
2223       'browser/ui/views/location_bar/content_setting_image_view.cc',
2224       'browser/ui/views/location_bar/content_setting_image_view.h',
2225       'browser/ui/views/location_bar/ev_bubble_view.cc',
2226       'browser/ui/views/location_bar/ev_bubble_view.h',
2227       'browser/ui/views/location_bar/generated_credit_card_view.cc',
2228       'browser/ui/views/location_bar/generated_credit_card_view.h',
2229       'browser/ui/views/location_bar/icon_label_bubble_view.cc',
2230       'browser/ui/views/location_bar/icon_label_bubble_view.h',
2231       'browser/ui/views/location_bar/keyword_hint_view.cc',
2232       'browser/ui/views/location_bar/keyword_hint_view.h',
2233       'browser/ui/views/location_bar/location_bar_decoration_view.cc',
2234       'browser/ui/views/location_bar/location_bar_decoration_view.h',
2235       'browser/ui/views/location_bar/location_bar_layout.cc',
2236       'browser/ui/views/location_bar/location_bar_layout.h',
2237       'browser/ui/views/location_bar/location_bar_view.cc',
2238       'browser/ui/views/location_bar/location_bar_view.h',
2239       'browser/ui/views/location_bar/location_icon_view.cc',
2240       'browser/ui/views/location_bar/location_icon_view.h',
2241       'browser/ui/views/location_bar/open_pdf_in_reader_view.cc',
2242       'browser/ui/views/location_bar/open_pdf_in_reader_view.h',
2243       'browser/ui/views/location_bar/page_action_image_view.cc',
2244       'browser/ui/views/location_bar/page_action_image_view.h',
2245       'browser/ui/views/location_bar/page_action_with_badge_view.cc',
2246       'browser/ui/views/location_bar/page_action_with_badge_view.h',
2247       'browser/ui/views/location_bar/page_info_helper.cc',
2248       'browser/ui/views/location_bar/page_info_helper.h',
2249       'browser/ui/views/location_bar/selected_keyword_view.cc',
2250       'browser/ui/views/location_bar/selected_keyword_view.h',
2251       'browser/ui/views/location_bar/star_view.cc',
2252       'browser/ui/views/location_bar/star_view.h',
2253       'browser/ui/views/location_bar/translate_icon_view.cc',
2254       'browser/ui/views/location_bar/translate_icon_view.h',
2255       'browser/ui/views/location_bar/zoom_bubble_view.cc',
2256       'browser/ui/views/location_bar/zoom_bubble_view.h',
2257       'browser/ui/views/location_bar/zoom_view.cc',
2258       'browser/ui/views/location_bar/zoom_view.h',
2259       'browser/ui/views/login_prompt_views.cc',
2260       'browser/ui/views/login_view.cc',
2261       'browser/ui/views/login_view.h',
2262       'browser/ui/views/managed_full_screen_bubble_delegate_view.cc',
2263       'browser/ui/views/managed_full_screen_bubble_delegate_view.h',
2264       'browser/ui/views/omnibox/omnibox_popup_contents_view.cc',
2265       'browser/ui/views/omnibox/omnibox_popup_contents_view.h',
2266       'browser/ui/views/omnibox/omnibox_result_view.cc',
2267       'browser/ui/views/omnibox/omnibox_result_view.h',
2268       'browser/ui/views/omnibox/omnibox_view_views.cc',
2269       'browser/ui/views/omnibox/omnibox_view_views.h',
2270       'browser/ui/views/open_pdf_in_reader_bubble_view.cc',
2271       'browser/ui/views/open_pdf_in_reader_bubble_view.h',
2272       'browser/ui/views/outdated_upgrade_bubble_view.cc',
2273       'browser/ui/views/outdated_upgrade_bubble_view.h',
2274       'browser/ui/views/panels/panel_frame_view.cc',
2275       'browser/ui/views/panels/panel_frame_view.h',
2276       'browser/ui/views/panels/panel_stack_view.cc',
2277       'browser/ui/views/panels/panel_stack_view.h',
2278       'browser/ui/views/panels/panel_view.cc',
2279       'browser/ui/views/panels/panel_view.h',
2280       'browser/ui/views/panels/taskbar_window_thumbnailer_win.cc',
2281       'browser/ui/views/panels/taskbar_window_thumbnailer_win.h',
2282       'browser/ui/views/panels/x11_panel_resizer.cc',
2283       'browser/ui/views/panels/x11_panel_resizer.h',
2284       'browser/ui/views/passwords/credentials_item_view.cc',
2285       'browser/ui/views/passwords/credentials_item_view.h',
2286       'browser/ui/views/passwords/manage_credential_item_view.cc',
2287       'browser/ui/views/passwords/manage_credential_item_view.h',
2288       'browser/ui/views/passwords/manage_password_items_view.cc',
2289       'browser/ui/views/passwords/manage_password_items_view.h',
2290       'browser/ui/views/passwords/manage_passwords_bubble_view.cc',
2291       'browser/ui/views/passwords/manage_passwords_bubble_view.h',
2292       'browser/ui/views/passwords/manage_passwords_icon_view.cc',
2293       'browser/ui/views/passwords/manage_passwords_icon_view.h',
2294       'browser/ui/views/process_singleton_dialog_linux.cc',
2295       'browser/ui/views/profiles/avatar_menu_bubble_view.cc',
2296       'browser/ui/views/profiles/avatar_menu_bubble_view.h',
2297       'browser/ui/views/profiles/avatar_menu_button.cc',
2298       'browser/ui/views/profiles/avatar_menu_button.h',
2299       'browser/ui/views/profiles/new_avatar_button.cc',
2300       'browser/ui/views/profiles/new_avatar_button.h',
2301       'browser/ui/views/profiles/profile_chooser_view.cc',
2302       'browser/ui/views/profiles/profile_chooser_view.h',
2303       'browser/ui/views/profiles/profile_reset_bubble_view.cc',
2304       'browser/ui/views/profiles/profile_reset_bubble_view.h',
2305       'browser/ui/views/profiles/supervised_user_avatar_label.cc',
2306       'browser/ui/views/profiles/supervised_user_avatar_label.h',
2307       'browser/ui/views/profiles/user_manager_view.cc',
2308       'browser/ui/views/profiles/user_manager_view.h',
2309       'browser/ui/views/proximity_auth/proximity_auth_error_bubble_view.cc',
2310       'browser/ui/views/proximity_auth/proximity_auth_error_bubble_view.h',
2311       'browser/ui/views/sad_tab_view.cc',
2312       'browser/ui/views/sad_tab_view.h',
2313       'browser/ui/views/session_crashed_bubble_view.cc',
2314       'browser/ui/views/session_crashed_bubble_view.h',
2315       'browser/ui/views/settings_api_bubble_helper_views.cc',
2316       'browser/ui/views/settings_api_bubble_helper_views.h',
2317       'browser/ui/views/simple_message_box_views.cc',
2318       'browser/ui/views/ssl_client_certificate_selector.cc',
2319       'browser/ui/views/ssl_client_certificate_selector.h',
2320       'browser/ui/views/status_bubble_views.cc',
2321       'browser/ui/views/status_bubble_views.h',
2322       'browser/ui/views/status_icons/status_icon_win.cc',
2323       'browser/ui/views/status_icons/status_icon_win.h',
2324       'browser/ui/views/status_icons/status_tray_linux.cc',
2325       'browser/ui/views/status_icons/status_tray_linux.h',
2326       'browser/ui/views/status_icons/status_tray_state_changer_win.cc',
2327       'browser/ui/views/status_icons/status_tray_state_changer_win.h',
2328       'browser/ui/views/status_icons/status_tray_win.cc',
2329       'browser/ui/views/status_icons/status_tray_win.h',
2330       'browser/ui/views/sync/profile_signin_confirmation_dialog_views.cc',
2331       'browser/ui/views/sync/profile_signin_confirmation_dialog_views.h',
2332       'browser/ui/views/tab_dialogs_views.cc',
2333       'browser/ui/views/tab_dialogs_views.h',
2334       'browser/ui/views/tab_icon_view.cc',
2335       'browser/ui/views/tab_icon_view.h',
2336       'browser/ui/views/tab_modal_confirm_dialog_views.cc',
2337       'browser/ui/views/tab_modal_confirm_dialog_views.h',
2338       'browser/ui/views/tabs/browser_tab_strip_controller.cc',
2339       'browser/ui/views/tabs/browser_tab_strip_controller.h',
2340       'browser/ui/views/tabs/media_indicator_button.cc',
2341       'browser/ui/views/tabs/media_indicator_button.h',
2342       'browser/ui/views/tabs/stacked_tab_strip_layout.cc',
2343       'browser/ui/views/tabs/stacked_tab_strip_layout.h',
2344       'browser/ui/views/tabs/tab.cc',
2345       'browser/ui/views/tabs/tab.h',
2346       'browser/ui/views/tabs/tab_controller.h',
2347       'browser/ui/views/tabs/tab_drag_controller.cc',
2348       'browser/ui/views/tabs/tab_drag_controller.h',
2349       'browser/ui/views/tabs/tab_strip.cc',
2350       'browser/ui/views/tabs/tab_strip.h',
2351       'browser/ui/views/tabs/tab_strip_controller.h',
2352       'browser/ui/views/tabs/window_finder.h',
2353       'browser/ui/views/tabs/window_finder_chromeos.cc',
2354       'browser/ui/views/tabs/window_finder_mac.mm',
2355       'browser/ui/views/tabs/window_finder_win.cc',
2356       'browser/ui/views/task_manager_view.cc',
2357       'browser/ui/views/theme_image_mapper.cc',
2358       'browser/ui/views/theme_image_mapper.h',
2359       'browser/ui/views/toolbar/back_button.cc',
2360       'browser/ui/views/toolbar/back_button.h',
2361       'browser/ui/views/toolbar/browser_actions_container.cc',
2362       'browser/ui/views/toolbar/browser_actions_container.h',
2363       'browser/ui/views/toolbar/browser_actions_container_observer.h',
2364       'browser/ui/views/toolbar/chevron_menu_button.cc',
2365       'browser/ui/views/toolbar/chevron_menu_button.h',
2366       'browser/ui/views/toolbar/extension_toolbar_menu_view.cc',
2367       'browser/ui/views/toolbar/extension_toolbar_menu_view.h',
2368       'browser/ui/views/toolbar/home_button.cc',
2369       'browser/ui/views/toolbar/home_button.h',
2370       'browser/ui/views/toolbar/reload_button.cc',
2371       'browser/ui/views/toolbar/reload_button.h',
2372       'browser/ui/views/toolbar/toolbar_action_view.cc',
2373       'browser/ui/views/toolbar/toolbar_action_view.h',
2374       'browser/ui/views/toolbar/toolbar_action_view_delegate_views.h',
2375       'browser/ui/views/toolbar/toolbar_button.cc',
2376       'browser/ui/views/toolbar/toolbar_button.h',
2377       'browser/ui/views/toolbar/toolbar_view.cc',
2378       'browser/ui/views/toolbar/toolbar_view.h',
2379       'browser/ui/views/toolbar/wrench_menu.cc',
2380       'browser/ui/views/toolbar/wrench_menu.h',
2381       'browser/ui/views/toolbar/wrench_menu_observer.h',
2382       'browser/ui/views/toolbar/wrench_toolbar_button.cc',
2383       'browser/ui/views/toolbar/wrench_toolbar_button.h',
2384       'browser/ui/views/touch_uma/touch_uma.h',
2385       'browser/ui/views/translate/chrome_translate_client_views.cc',
2386       'browser/ui/views/translate/translate_bubble_view.cc',
2387       'browser/ui/views/translate/translate_bubble_view.h',
2388       'browser/ui/views/update_recommended_message_box.cc',
2389       'browser/ui/views/update_recommended_message_box.h',
2390       'browser/ui/views/validation_message_bubble_delegate.cc',
2391       'browser/ui/views/validation_message_bubble_delegate.h',
2392       'browser/ui/views/validation_message_bubble_view.cc',
2393       'browser/ui/views/validation_message_bubble_view.h',
2394       'browser/ui/views/web_contents_modal_dialog_manager_views.cc',
2395       'browser/ui/views/website_settings/permission_selector_view.cc',
2396       'browser/ui/views/website_settings/permission_selector_view.h',
2397       'browser/ui/views/website_settings/permission_selector_view_observer.h',
2398       'browser/ui/views/website_settings/permissions_bubble_view.cc',
2399       'browser/ui/views/website_settings/permissions_bubble_view.h',
2400       'browser/ui/views/website_settings/website_settings_popup_view.cc',
2401       'browser/ui/views/website_settings/website_settings_popup_view.h',
2402     ],
2403     'chrome_browser_ui_views_extensions_non_mac_sources': [
2404       'browser/ui/views/extensions/bookmark_app_bubble_view.cc',
2405       'browser/ui/views/extensions/bookmark_app_bubble_view.h',
2406       'browser/ui/views/extensions/browser_action_drag_data.cc',
2407       'browser/ui/views/extensions/browser_action_drag_data.h',
2408       'browser/ui/views/extensions/bundle_installed_bubble.cc',
2409       'browser/ui/views/extensions/device_permissions_dialog_view.cc',
2410       'browser/ui/views/extensions/device_permissions_dialog_view.h',
2411       'browser/ui/views/extensions/extension_action_platform_delegate_views.cc',
2412       'browser/ui/views/extensions/extension_action_platform_delegate_views.h',
2413       'browser/ui/views/extensions/extension_dialog.cc',
2414       'browser/ui/views/extensions/extension_dialog.h',
2415       'browser/ui/views/extensions/extension_dialog_observer.cc',
2416       'browser/ui/views/extensions/extension_dialog_observer.h',
2417       'browser/ui/views/extensions/extension_install_dialog_view.cc',
2418       'browser/ui/views/extensions/extension_installed_bubble_view.cc',
2419       'browser/ui/views/extensions/extension_installed_bubble_view.h',
2420       'browser/ui/views/extensions/extension_message_bubble_view.cc',
2421       'browser/ui/views/extensions/extension_message_bubble_view.h',
2422       'browser/ui/views/extensions/extension_popup.cc',
2423       'browser/ui/views/extensions/extension_popup.h',
2424       'browser/ui/views/extensions/extension_popup_aura.cc',
2425       'browser/ui/views/extensions/extension_popup_aura.h',
2426       'browser/ui/views/extensions/extension_toolbar_icon_surfacing_bubble_views.cc',
2427       'browser/ui/views/extensions/extension_toolbar_icon_surfacing_bubble_views.h',
2428       'browser/ui/views/extensions/extension_uninstall_dialog_view.cc',
2429       'browser/ui/views/extensions/extension_view_views.cc',
2430       'browser/ui/views/extensions/extension_view_views.h',
2431       'browser/ui/views/extensions/media_galleries_dialog_views.cc',
2432       'browser/ui/views/extensions/media_galleries_dialog_views.h',
2433       'browser/ui/views/extensions/media_gallery_checkbox_view.cc',
2434       'browser/ui/views/extensions/media_gallery_checkbox_view.h',
2435     ],
2436     # MacViews sources that we still want to keep behind a compile-time flag.
2437     # TODO(jackhou): Move items to chrome_browser_ui_views_sources when they
2438     # migrate from mac_views_browser to a chrome://flag.
2439     'chrome_browser_ui_views_mac_experimental_sources': [
2440       'browser/ui/views/apps/chrome_app_window_client_views_mac.mm',
2441     ],
2442     # Windows-only. Assume ash/aura/views.
2443     'chrome_browser_ui_win_sources': [
2444       'browser/ui/network_profile_bubble.cc',
2445       'browser/ui/network_profile_bubble.h',
2446       'browser/ui/views/color_chooser_dialog.cc',
2447       'browser/ui/views/color_chooser_dialog.h',
2448       'browser/ui/views/frame/browser_desktop_window_tree_host.h',
2449       'browser/ui/views/frame/browser_desktop_window_tree_host_win.cc',
2450       'browser/ui/views/frame/browser_desktop_window_tree_host_win.h',
2451       'browser/ui/views/frame/browser_frame_ashwin.cc',
2452       'browser/ui/views/frame/browser_frame_ashwin.h',
2453       'browser/ui/views/frame/glass_browser_frame_view.cc',
2454       'browser/ui/views/frame/glass_browser_frame_view.h',
2455       'browser/ui/views/frame/native_browser_frame_factory_aurawin.cc',
2456       'browser/ui/views/frame/native_browser_frame_factory_desktop_ash.cc',
2457       'browser/ui/views/network_profile_bubble_view.cc',
2458       'browser/ui/views/network_profile_bubble_view.h',
2459       'browser/ui/views/uninstall_view.cc',
2460       'browser/ui/views/uninstall_view.h',
2461       'browser/ui/webui/conflicts_ui.cc',
2462       'browser/ui/webui/conflicts_ui.h',
2463       'browser/ui/webui/set_as_default_browser_ui.cc',
2464       'browser/ui/webui/set_as_default_browser_ui.h',
2465     ],
2466     # Compiled for X11: desktop Linux and ChromeOS. We assume aura/views/ash.
2467     'chrome_browser_ui_x11_sources': [
2468       'browser/ui/views/javascript_app_modal_event_blocker_x11.cc',
2469       'browser/ui/views/javascript_app_modal_event_blocker_x11.h',
2470       'browser/ui/views/tabs/window_finder_x11.cc',
2471     ],
2473     ### Feature-based sources ###
2474     # Variables should generally be alphabetical within this section.
2476     # Note that we assume app list is enabled on all views builds, so the
2477     # views-specific app list files are in the views section.
2478     'chrome_browser_ui_app_list_sources': [
2479       'browser/ui/app_list/app_context_menu.cc',
2480       'browser/ui/app_list/app_context_menu.h',
2481       'browser/ui/app_list/app_context_menu_delegate.h',
2482       'browser/ui/app_list/app_list_controller_delegate.cc',
2483       'browser/ui/app_list/app_list_controller_delegate.h',
2484       'browser/ui/app_list/app_list_controller_delegate_impl.cc',
2485       'browser/ui/app_list/app_list_controller_delegate_impl.h',
2486       'browser/ui/app_list/app_list_icon_win.cc',
2487       'browser/ui/app_list/app_list_icon_win.h',
2488       'browser/ui/app_list/app_list_positioner.cc',
2489       'browser/ui/app_list/app_list_positioner.h',
2490       'browser/ui/app_list/app_list_prefs.cc',
2491       'browser/ui/app_list/app_list_prefs.h',
2492       'browser/ui/app_list/app_list_prefs_factory.cc',
2493       'browser/ui/app_list/app_list_prefs_factory.h',
2494       'browser/ui/app_list/app_list_service.cc',
2495       'browser/ui/app_list/app_list_service.h',
2496       'browser/ui/app_list/app_list_service_cocoa_mac.h',
2497       'browser/ui/app_list/app_list_service_cocoa_mac.mm',
2498       'browser/ui/app_list/app_list_service_impl.cc',
2499       'browser/ui/app_list/app_list_service_impl.h',
2500       'browser/ui/app_list/app_list_service_mac.h',
2501       'browser/ui/app_list/app_list_service_mac.mm',
2502       'browser/ui/app_list/app_list_shower_delegate.h',
2503       'browser/ui/app_list/app_list_syncable_service.cc',
2504       'browser/ui/app_list/app_list_syncable_service.h',
2505       'browser/ui/app_list/app_list_syncable_service_factory.cc',
2506       'browser/ui/app_list/app_list_syncable_service_factory.h',
2507       'browser/ui/app_list/app_list_view_delegate.cc',
2508       'browser/ui/app_list/app_list_view_delegate.h',
2509       'browser/ui/app_list/extension_app_item.cc',
2510       'browser/ui/app_list/extension_app_item.h',
2511       'browser/ui/app_list/extension_app_model_builder.cc',
2512       'browser/ui/app_list/extension_app_model_builder.h',
2513       'browser/ui/app_list/extension_uninstaller.cc',
2514       'browser/ui/app_list/extension_uninstaller.h',
2515       'browser/ui/app_list/fast_show_pickler.cc',
2516       'browser/ui/app_list/fast_show_pickler.h',
2517       'browser/ui/app_list/google_now_extension.cc',
2518       'browser/ui/app_list/google_now_extension.h',
2519       'browser/ui/app_list/launcher_page_event_dispatcher.cc',
2520       'browser/ui/app_list/launcher_page_event_dispatcher.h',
2521       'browser/ui/app_list/model_pref_updater.cc',
2522       'browser/ui/app_list/model_pref_updater.h',
2523       'browser/ui/app_list/profile_loader.cc',
2524       'browser/ui/app_list/profile_loader.h',
2525       'browser/ui/app_list/profile_store.h',
2526       'browser/ui/app_list/search/app_result.cc',
2527       'browser/ui/app_list/search/app_result.h',
2528       'browser/ui/app_list/search/app_search_provider.cc',
2529       'browser/ui/app_list/search/app_search_provider.h',
2530       'browser/ui/app_list/search/common/json_response_fetcher.cc',
2531       'browser/ui/app_list/search/common/json_response_fetcher.h',
2532       'browser/ui/app_list/search/common/url_icon_source.cc',
2533       'browser/ui/app_list/search/common/url_icon_source.h',
2534       'browser/ui/app_list/search/common/webservice_cache.cc',
2535       'browser/ui/app_list/search/common/webservice_cache.h',
2536       'browser/ui/app_list/search/common/webservice_cache_factory.cc',
2537       'browser/ui/app_list/search/common/webservice_cache_factory.h',
2538       'browser/ui/app_list/search/common/webservice_search_provider.cc',
2539       'browser/ui/app_list/search/common/webservice_search_provider.h',
2540       'browser/ui/app_list/search/history_factory.cc',
2541       'browser/ui/app_list/search/history_factory.h',
2542       'browser/ui/app_list/search/omnibox_provider.cc',
2543       'browser/ui/app_list/search/omnibox_provider.h',
2544       'browser/ui/app_list/search/omnibox_result.cc',
2545       'browser/ui/app_list/search/omnibox_result.h',
2546       'browser/ui/app_list/search/people/people_provider.cc',
2547       'browser/ui/app_list/search/people/people_provider.h',
2548       'browser/ui/app_list/search/people/people_result.cc',
2549       'browser/ui/app_list/search/people/people_result.h',
2550       'browser/ui/app_list/search/people/person.cc',
2551       'browser/ui/app_list/search/people/person.h',
2552       'browser/ui/app_list/search/search_controller_factory.cc',
2553       'browser/ui/app_list/search/search_controller_factory.h',
2554       'browser/ui/app_list/search/search_resource_manager.cc',
2555       'browser/ui/app_list/search/search_resource_manager.h',
2556       'browser/ui/app_list/search/search_util.cc',
2557       'browser/ui/app_list/search/search_util.h',
2558       'browser/ui/app_list/search/search_webstore_result.cc',
2559       'browser/ui/app_list/search/search_webstore_result.h',
2560       'browser/ui/app_list/search/suggestions/suggestions_search_provider.cc',
2561       'browser/ui/app_list/search/suggestions/suggestions_search_provider.h',
2562       'browser/ui/app_list/search/suggestions/url_suggestion_result.cc',
2563       'browser/ui/app_list/search/suggestions/url_suggestion_result.h',
2564       'browser/ui/app_list/search/webstore/webstore_installer.cc',
2565       'browser/ui/app_list/search/webstore/webstore_installer.h',
2566       'browser/ui/app_list/search/webstore/webstore_provider.cc',
2567       'browser/ui/app_list/search/webstore/webstore_provider.h',
2568       'browser/ui/app_list/search/webstore/webstore_result.cc',
2569       'browser/ui/app_list/search/webstore/webstore_result.h',
2570       'browser/ui/app_list/speech_auth_helper.cc',
2571       'browser/ui/app_list/speech_auth_helper.h',
2572       'browser/ui/app_list/speech_recognizer.cc',
2573       'browser/ui/app_list/speech_recognizer.h',
2574       'browser/ui/app_list/speech_recognizer_delegate.h',
2575       'browser/ui/app_list/start_page_observer.h',
2576       'browser/ui/app_list/start_page_service.cc',
2577       'browser/ui/app_list/start_page_service.h',
2578       'browser/ui/app_list/start_page_service_factory.cc',
2579       'browser/ui/app_list/start_page_service_factory.h',
2580       'browser/ui/views/app_list/app_list_dialog_container.cc',
2581       'browser/ui/views/app_list/app_list_dialog_container.h',
2582       'browser/ui/views/app_list/win/activation_tracker_win.cc',
2583       'browser/ui/views/app_list/win/activation_tracker_win.h',
2584       'browser/ui/views/app_list/win/app_list_controller_delegate_win.cc',
2585       'browser/ui/views/app_list/win/app_list_controller_delegate_win.h',
2586       'browser/ui/views/app_list/win/app_list_service_win.cc',
2587       'browser/ui/views/app_list/win/app_list_service_win.h',
2588       'browser/ui/views/app_list/win/app_list_win.cc',
2589       'browser/ui/views/app_list/win/app_list_win.h',
2590       'browser/ui/webui/app_list/start_page_handler.cc',
2591       'browser/ui/webui/app_list/start_page_handler.h',
2592       'browser/ui/webui/app_list/start_page_ui.cc',
2593       'browser/ui/webui/app_list/start_page_ui.h',
2594     ],
2595     # Used when the app list is disabled.
2596     'chrome_browser_ui_non_app_list_sources': [
2597       'browser/ui/app_list/app_list_service_disabled.cc',
2598     ],
2599     # Autofill sources used everywhere autofill dialog is enabled.
2600     'chrome_browser_ui_autofill_dialog_sources': [
2601       'browser/ui/autofill/autofill_dialog_common.cc',
2602       'browser/ui/autofill/autofill_dialog_common.h',
2603     ],
2604     # Autofill sources used on desktop and ChromeOS.
2605     'chrome_browser_ui_autofill_dialog_non_mobile_sources': [
2606       'browser/ui/autofill/autofill_dialog_controller_impl.cc',
2607       'browser/ui/autofill/autofill_dialog_controller_impl.h',
2608       'browser/ui/autofill/autofill_dialog_i18n_input.cc',
2609       'browser/ui/autofill/autofill_dialog_i18n_input.h',
2610       'browser/ui/autofill/autofill_dialog_view.cc',
2611       'browser/ui/autofill/autofill_dialog_view.h',
2612       'browser/ui/autofill/autofill_dialog_view_delegate.h',
2613       'browser/ui/autofill/data_model_wrapper.cc',
2614       'browser/ui/autofill/data_model_wrapper.h',
2615     ],
2616     'chrome_browser_ui_extensions_sources': [
2617       'browser/ui/extensions/accelerator_priority.cc',
2618       'browser/ui/extensions/accelerator_priority.h',
2619       'browser/ui/extensions/app_launch_params.cc',
2620       'browser/ui/extensions/app_launch_params.h',
2621       'browser/ui/extensions/application_launch.cc',
2622       'browser/ui/extensions/application_launch.h',
2623       'browser/ui/extensions/extension_action_platform_delegate.h',
2624       'browser/ui/extensions/extension_action_view_controller.cc',
2625       'browser/ui/extensions/extension_action_view_controller.h',
2626       'browser/ui/extensions/extension_enable_flow.cc',
2627       'browser/ui/extensions/extension_enable_flow.h',
2628       'browser/ui/extensions/extension_enable_flow_delegate.h',
2629       'browser/ui/extensions/extension_install_ui_default.cc',
2630       'browser/ui/extensions/extension_install_ui_default.h',
2631       'browser/ui/extensions/extension_install_ui_factory.cc',
2632       'browser/ui/extensions/extension_install_ui_factory.h',
2633       'browser/ui/extensions/extension_installed_bubble.cc',
2634       'browser/ui/extensions/extension_installed_bubble.h',
2635       'browser/ui/extensions/extension_message_bubble_factory.cc',
2636       'browser/ui/extensions/extension_message_bubble_factory.h',
2637       'browser/ui/extensions/extension_toolbar_icon_surfacing_bubble_delegate.cc',
2638       'browser/ui/extensions/extension_toolbar_icon_surfacing_bubble_delegate.h',
2639       'browser/ui/extensions/hosted_app_browser_controller.cc',
2640       'browser/ui/extensions/hosted_app_browser_controller.h',
2641       'browser/ui/webui/extensions/chromeos/kiosk_apps_handler.cc',
2642       'browser/ui/webui/extensions/chromeos/kiosk_apps_handler.h',
2643       'browser/ui/webui/extensions/extension_basic_info.cc',
2644       'browser/ui/webui/extensions/extension_basic_info.h',
2645       'browser/ui/webui/extensions/extension_icon_source.cc',
2646       'browser/ui/webui/extensions/extension_icon_source.h',
2647       'browser/ui/webui/voice_search_ui.cc',
2648       'browser/ui/webui/voice_search_ui.h',
2649     ],
2650     'chrome_browser_ui_google_now_non_android_sources': [
2651       # These are non-Android because Android excludes all of options.
2652       'browser/ui/webui/options/geolocation_options_handler.cc',
2653       'browser/ui/webui/options/geolocation_options_handler.h',
2654     ],
2655     'chrome_browser_ui_nacl_sources': [
2656       'browser/ui/webui/nacl_ui.cc',
2657       'browser/ui/webui/nacl_ui.h',
2658     ],
2659     'chrome_browser_ui_nss_sources': [
2660       'browser/ui/crypto_module_delegate_nss.cc',
2661       'browser/ui/crypto_module_delegate_nss.h',
2662       'browser/ui/crypto_module_password_dialog_nss.cc',
2663       'browser/ui/crypto_module_password_dialog_nss.h',
2664       'browser/ui/webui/options/certificate_manager_handler.cc',
2665       'browser/ui/webui/options/certificate_manager_handler.h',
2666     ],
2667     'chrome_browser_ui_omnibox_non_mobile_sources': [
2668       'browser/ui/omnibox/alternate_nav_infobar_delegate.cc',
2669       'browser/ui/omnibox/alternate_nav_infobar_delegate.h',
2670       'browser/ui/omnibox/chrome_omnibox_client.cc',
2671       'browser/ui/omnibox/chrome_omnibox_client.h',
2672       'browser/ui/omnibox/omnibox_client.h',
2673       'browser/ui/omnibox/omnibox_controller.cc',
2674       'browser/ui/omnibox/omnibox_controller.h',
2675       'browser/ui/omnibox/omnibox_edit_controller.cc',
2676       'browser/ui/omnibox/omnibox_edit_controller.h',
2677       'browser/ui/omnibox/omnibox_edit_model.cc',
2678       'browser/ui/omnibox/omnibox_edit_model.h',
2679       'browser/ui/omnibox/omnibox_navigation_observer.cc',
2680       'browser/ui/omnibox/omnibox_navigation_observer.h',
2681       'browser/ui/omnibox/omnibox_popup_model.cc',
2682       'browser/ui/omnibox/omnibox_popup_model.h',
2683     ],
2684     'chrome_browser_ui_plugin_sources': [
2685       'browser/ui/hung_plugin_tab_helper.cc',
2686       'browser/ui/hung_plugin_tab_helper.h',
2687       'browser/ui/webui/flash_ui.cc',
2688       'browser/ui/webui/flash_ui.h',
2689     ],
2690     'chrome_browser_ui_policy_sources': [
2691       'browser/ui/webui/policy_ui.cc',
2692       'browser/ui/webui/policy_ui.h',
2693     ],
2694     'chrome_browser_ui_print_preview_sources': [
2695       'browser/ui/webui/print_preview/extension_printer_handler.cc',
2696       'browser/ui/webui/print_preview/extension_printer_handler.h',
2697       'browser/ui/webui/print_preview/print_preview_handler.cc',
2698       'browser/ui/webui/print_preview/print_preview_handler.h',
2699       'browser/ui/webui/print_preview/print_preview_ui.cc',
2700       'browser/ui/webui/print_preview/print_preview_ui.h',
2701       'browser/ui/webui/print_preview/printer_handler.cc',
2702       'browser/ui/webui/print_preview/printer_handler.h',
2703       'browser/ui/webui/print_preview/sticky_settings.cc',
2704       'browser/ui/webui/print_preview/sticky_settings.h',
2705     ],
2706     # For when enable_service_discovery is set.
2707     'chrome_browser_ui_service_discovery_sources': [
2708       'browser/ui/webui/local_discovery/local_discovery_ui.cc',
2709       'browser/ui/webui/local_discovery/local_discovery_ui.h',
2710       'browser/ui/webui/local_discovery/local_discovery_ui_handler.cc',
2711       'browser/ui/webui/local_discovery/local_discovery_ui_handler.h',
2712     ],
2713     'chrome_browser_ui_toolbar_model_sources': [
2714       'browser/ui/android/toolbar/toolbar_model_android.cc',
2715       'browser/ui/android/toolbar/toolbar_model_android.h',
2716       'browser/ui/toolbar/toolbar_model.cc',
2717       'browser/ui/toolbar/toolbar_model.h',
2718       'browser/ui/toolbar/toolbar_model_delegate.h',
2719       'browser/ui/toolbar/toolbar_model_impl.cc',
2720       'browser/ui/toolbar/toolbar_model_impl.h',
2721     ],
2722     'chrome_browser_ui_webrtc_sources': [
2723       'browser/ui/webui/media/webrtc_logs_ui.cc',
2724       'browser/ui/webui/media/webrtc_logs_ui.h',
2725     ],
2726   },
2727   'targets': [
2728     {
2729       'target_name': 'browser_ui',
2730       'type': 'static_library',
2731       'variables': { 'enable_wexit_time_destructors': 1, },
2732       # Since browser and browser_ui actually depend on each other,
2733       # we must omit the dependency from browser_ui to browser.
2734       # However, this means browser_ui and browser should more or less
2735       # have the same dependencies. Once browser_ui is untangled from
2736       # browser, then we can clean up these dependencies.
2737       'dependencies': [
2738         # NOTE: New dependencies should generally be added in the OS!="ios"
2739         # dependencies block below, rather than here.
2740         'cert_logger_proto',
2741         'chrome_browser_ui_views.gyp:browser_ui_views',
2742         'chrome_resources.gyp:chrome_extra_resources',
2743         'chrome_resources.gyp:chrome_resources',
2744         'chrome_resources.gyp:chrome_strings',
2745         'chrome_resources.gyp:platform_locale_settings',
2746         'chrome_resources.gyp:theme_resources',
2747         'common',
2748         'common_net',
2749         'encrypted_cert_logger_proto',
2750         '../components/components.gyp:auto_login_parser',
2751         '../components/components.gyp:device_event_log_component',
2752         '../components/components.gyp:dom_distiller_core',
2753         '../components/components.gyp:dom_distiller_webui',
2754         '../components/components.gyp:invalidation_impl',
2755         '../components/components.gyp:omnibox_common',
2756         '../components/components.gyp:onc_component',
2757         '../components/components.gyp:password_manager_core_browser',
2758         '../components/components.gyp:secure_display',
2759         '../components/components.gyp:sync_driver',
2760         '../components/components.gyp:ui_zoom',
2761         '../components/components.gyp:update_client',
2762         '../components/components_resources.gyp:components_resources',
2763         '../components/components_strings.gyp:components_strings',
2764         '../content/content.gyp:content_browser',
2765         '../content/content.gyp:content_common',
2766         '../crypto/crypto.gyp:crypto',
2767         '../skia/skia.gyp:skia',
2768         '../sync/sync.gyp:sync',
2769         '../third_party/cacheinvalidation/cacheinvalidation.gyp:cacheinvalidation',
2770         '../third_party/cacheinvalidation/cacheinvalidation.gyp:cacheinvalidation_proto_cpp',
2771         '../third_party/icu/icu.gyp:icui18n',
2772         '../third_party/icu/icu.gyp:icuuc',
2773         '../third_party/zlib/zlib.gyp:zlib',
2774         '../ui/accessibility/accessibility.gyp:accessibility',
2775         '../ui/base/ui_base.gyp:ui_base',
2776         '../ui/content_accelerators/ui_content_accelerators.gyp:ui_content_accelerators',
2777         '../ui/events/events.gyp:events',
2778         '../ui/events/events.gyp:gesture_detection',
2779         '../ui/gfx/gfx.gyp:gfx',
2780         '../ui/gfx/gfx.gyp:gfx_geometry',
2781         '../ui/message_center/message_center.gyp:message_center',
2782         '../ui/resources/ui_resources.gyp:ui_resources',
2783         '../ui/snapshot/snapshot.gyp:snapshot',
2784         '../ui/strings/ui_strings.gyp:ui_strings',
2785       ],
2786       'include_dirs': [
2787         '..',
2788         '<(INTERMEDIATE_DIR)',
2789         # Needed by pepper_flash_component_installer.cc.
2790         '<(SHARED_INTERMEDIATE_DIR)',
2791       ],
2792       'export_dependent_settings': [
2793         '../components/components.gyp:dom_distiller_core',
2794         '../sync/sync.gyp:sync',
2795       ],
2796       'includes': [
2797         # Disable LTO due to undefined reference
2798         # crbug.com/422252
2799         '../build/android/disable_lto.gypi',
2800       ],
2801       'conditions': [
2802         ['OS != "ios"', {
2803           'sources': [
2804             '<@(chrome_browser_ui_non_ios_sources)',
2805             '<@(chrome_browser_ui_toolbar_model_sources)',
2806             '<(SHARED_INTERMEDIATE_DIR)/chrome/browser/ui/webui/omnibox/omnibox.mojom.cc',
2807           ],
2808           'dependencies': [
2809             'chrome_web_ui_mojo_bindings.gyp:web_ui_mojo_bindings',
2810             'debugger',
2811             'installer_util',
2812             '../components/components.gyp:app_modal',
2813             '../components/components.gyp:autofill_content_risk_proto',
2814             '../components/components.gyp:secure_display',
2815             '../components/components.gyp:translate_content_common',
2816             '../content/app/resources/content_resources.gyp:content_resources',
2817             '../media/media.gyp:media',
2818             '../net/net.gyp:net_with_v8',
2819             '../storage/storage_browser.gyp:storage',
2820             '../storage/storage_common.gyp:storage_common',
2821             '../third_party/leveldatabase/leveldatabase.gyp:leveldatabase',
2822             '../third_party/mojo/mojo_edk.gyp:mojo_system_impl',
2823             '../third_party/re2/re2.gyp:re2',
2824             '../ui/base/ime/ui_base_ime.gyp:ui_base_ime',
2825             '../ui/compositor/compositor.gyp:compositor',
2826             '../ui/native_theme/native_theme.gyp:native_theme',
2827             '../ui/surface/surface.gyp:surface',
2828             '../ui/web_dialogs/web_dialogs.gyp:web_dialogs',
2829             '../v8/tools/gyp/v8.gyp:v8',
2830           ],
2831         }, {  # OS == "ios"
2832           'sources': [
2833             '<@(chrome_browser_ui_ios_sources)'
2834           ],
2835           'sources!': [
2836             'browser/ui/external_protocol_dialog_delegate.cc',
2837             'browser/ui/startup/default_browser_prompt.cc',
2838           ],
2839           'dependencies': [
2840             '../net/net.gyp:net',
2841           ],
2842         }],
2843         ['enable_basic_printing==1 or enable_print_preview==1', {
2844           'dependencies': [
2845             '../printing/printing.gyp:printing',
2846           ],
2847         }],
2848         ['disable_nacl==0', {
2849           'sources': [ '<@(chrome_browser_ui_nacl_sources)' ],
2850           'dependencies': [
2851             '../native_client/src/trusted/service_runtime/service_runtime.gyp:sel',
2852           ],
2853         }],
2854         ['debug_devtools==1', {
2855           'defines': [
2856             'DEBUG_DEVTOOLS=1',
2857           ],
2858         }],
2859         ['configuration_policy==1', {
2860           'sources': [ '<@(chrome_browser_ui_policy_sources)' ],
2861           'dependencies': [
2862             '../components/components.gyp:policy',
2863           ],
2864         }],
2865         ['enable_plugins==1', {
2866           'sources': [ '<@(chrome_browser_ui_plugin_sources)' ],
2867           'dependencies': [
2868             '../ppapi/ppapi_internal.gyp:ppapi_ipc',
2869             '../third_party/adobe/flash/flash_player.gyp:flapper_version_h',
2870           ],
2871         }],
2872         ['safe_browsing==1', {
2873           'dependencies': [
2874             'safe_browsing_chunk_proto',
2875             'safe_browsing_proto',
2876             'safe_browsing_report_proto',
2877           ],
2878         }],
2879         ['chromeos==1', {
2880           'sources': [ '<@(chrome_browser_ui_chromeos_sources)' ],
2881           'dependencies': [
2882             'browser_chromeos',
2883             '../device/nfc/nfc.gyp:device_nfc',
2884             '../ui/chromeos/ui_chromeos.gyp:ui_chromeos',
2885             '../ui/chromeos/ui_chromeos.gyp:ui_chromeos_resources',
2886           ],
2887         }, {
2888           'sources': [ '<@(chrome_browser_ui_non_chromeos_sources)' ],
2889         }],
2890         ['use_cups==1', {
2891           'dependencies': [
2892             '../printing/printing.gyp:cups',
2893           ],
2894         }],
2895         ['use_ash==1', {
2896           'sources': [ '<@(chrome_browser_ui_ash_sources)' ],
2897           'dependencies': [
2898             '../ash/ash.gyp:ash',
2899             '../ash/ash.gyp:ash_with_content',
2900             '../ash/ash_strings.gyp:ash_strings',
2901             '../components/components.gyp:user_manager',
2902           ],
2903           'conditions': [
2904             ['chromeos == 0', {
2905               'sources': [ '<@(chrome_browser_ui_ash_non_chromeos)' ],
2906             }],
2907           ],
2908         }, { # use_ash==0
2909           'sources': [ '<@(chrome_browser_ui_non_ash_sources)' ],
2910         }],
2911         ['toolkit_views==1', {
2912           'sources': [ '<@(chrome_browser_ui_views_sources)' ],
2913           'dependencies': [
2914             '<(DEPTH)/components/components.gyp:constrained_window',
2915           ],
2916           'conditions': [
2917             ['chromeos == 0 and (OS!="mac" or mac_views_browser==1)', {
2918               'sources': [ '<@(chrome_browser_ui_views_non_chromeos_sources)' ],
2919             }],
2920             ['use_ash == 1', {
2921               'sources': [ '<@(chrome_browser_ui_ash_views_sources)' ],
2922             }],
2923             ['OS!="mac"', {
2924               'sources': [ '<@(chrome_browser_ui_views_non_mac_sources)' ],
2925               'dependencies': [
2926                 '../ui/gfx/gfx.gyp:gfx_vector_icons',
2927               ],
2928               'conditions': [
2929                 ['enable_extensions==1', {
2930                   'sources': [ '<@(chrome_browser_ui_views_extensions_non_mac_sources)' ],
2931                 }],
2932               ],
2933             }],
2934             ['enable_extensions==1', {
2935               'dependencies': [
2936                 '<(DEPTH)/extensions/components/extensions_components.gyp:native_app_window',
2937               ],
2938             }],
2939           ],
2940         }],
2941         ['use_aura==1 and chromeos==0 and use_ozone==0 and OS=="linux"', {
2942           'dependencies': [
2943             # gtk2 is the only component that can interact with gtk2 in our new
2944             # world.
2945             'browser/ui/libgtk2ui/libgtk2ui.gyp:gtk2ui',
2946             '../build/linux/system.gyp:gio',
2947           ],
2948         }],
2949         ['OS=="win" or OS=="mac" or desktop_linux==1', {
2950           'sources': [ '<@(chrome_browser_ui_desktop_sources)' ],
2951         }],
2952         ['use_aura==1', {
2953           'sources': [ '<@(chrome_browser_ui_aura_sources)'] ,
2954           'dependencies': [
2955             # aura uses some of ash resources.
2956             '../ash/ash_resources.gyp:ash_resources',
2957             '../ui/aura/aura.gyp:aura',
2958             '../ui/keyboard/keyboard.gyp:keyboard',
2959             '../ui/keyboard/keyboard.gyp:keyboard_resources',
2960             '../ui/wm/wm.gyp:wm',
2961           ],
2962           'conditions': [
2963             ['chromeos == 0', {
2964               'sources': [ '<@(chrome_browser_ui_aura_non_chromeos)' ],
2965             }],
2966           ],
2967         }],
2968         ['ui_compositor_image_transport==1', {
2969           'dependencies': [
2970             '../ui/gl/gl.gyp:gl',
2971           ],
2972         }],
2973         ['use_nss_certs==1', {
2974           'sources': [ '<@(chrome_browser_ui_nss_sources)' ],
2975         }],
2976         ['enable_themes==0', {
2977           'sources!': [
2978             'browser/ui/webui/theme_source.cc',
2979           ],
2980         }],
2981         ['enable_print_preview==1', {
2982           'sources': [ '<@(chrome_browser_ui_print_preview_sources)' ],
2983         }],
2984         ['OS=="android"', {
2985           'dependencies': [
2986             '../components/components.gyp:web_contents_delegate_android',
2987             '../third_party/boringssl/boringssl.gyp:boringssl',
2988             'chrome_browser_jni_headers',
2989           ],
2990           'dependencies!': [
2991              '../ui/events/events.gyp:events',
2992              'chrome_browser_ui_views.gyp:browser_ui_views',
2993           ],
2994           'sources': [ '<@(chrome_browser_ui_android_sources)' ],
2995         }],
2996         ['OS=="mac"', {
2997           'sources': [ '<@(chrome_browser_ui_mac_sources)' ],
2998           'dependencies': [
2999             '../third_party/apple_sample_code/apple_sample_code.gyp:apple_sample_code',
3000             '../third_party/google_toolbox_for_mac/google_toolbox_for_mac.gyp:google_toolbox_for_mac',
3001             '../third_party/molokocacao/molokocacao.gyp:molokocacao',
3002             '../third_party/mozilla/mozilla.gyp:mozilla',
3003           ],
3004           'conditions': [
3005             ['mac_views_browser==1', {
3006               'sources': [
3007                 '<@(chrome_browser_ui_views_mac_experimental_sources)',
3008                 '<@(chrome_browser_ui_views_non_mac_sources)',
3009                 '<@(chrome_browser_ui_views_extensions_non_mac_sources)',
3010               ],
3011             }, {
3012               'sources': [ '<@(chrome_browser_ui_cocoa_sources)' ],
3013             }],
3014           ],
3015           'link_settings': {
3016             'libraries': [
3017               '$(SDKROOT)/System/Library/Frameworks/Quartz.framework',
3018             ],
3019           },
3020           'actions': [
3021             {
3022               # This action is used to extract the localization data from xib
3023               # files and generate table for the ui localizer from it.
3024               'variables': {
3025                 'xib_localizer_tool_path':
3026                     'tools/build/mac/generate_localizer',
3027               },
3028               'includes': [
3029                 'chrome_nibs.gypi',
3030               ],
3031               'action_name': 'Process xibs for localization',
3032               'inputs': [
3033                 '<(xib_localizer_tool_path)',
3034                 '<@(mac_translated_xibs)',
3035               ],
3036               'outputs': [
3037                 '<(INTERMEDIATE_DIR)/ui_localizer_table.h',
3038               ],
3039               'action': ['<(xib_localizer_tool_path)',
3040                           '<@(_outputs)',
3041                           '<@(mac_translated_xibs)'],
3042             },
3043           ],
3044         }, {  # non-Mac.
3045           'sources': [ '<@(chrome_browser_ui_non_mac_sources)' ],
3046           'sources/': [
3047             ['exclude', '^browser/ui/cocoa/'],
3048           ],
3049         }],
3050         ['OS=="win"', {
3051           'include_dirs': [
3052             '<(DEPTH)/third_party/wtl/include',
3053           ],
3054           'dependencies': [
3055             'installer_util_strings',
3056             'metro_utils',
3057             '../components/components.gyp:browser_watcher',
3058             '../google_update/google_update.gyp:google_update',
3059             '../third_party/iaccessible2/iaccessible2.gyp:iaccessible2',
3060             '../third_party/isimpledom/isimpledom.gyp:isimpledom',
3061             '../ui/app_list/app_list.gyp:app_list',
3062             '../ui/views/controls/webview/webview.gyp:webview',
3063             '../ui/views/views.gyp:views',
3064           ],
3065           'export_dependent_settings': [
3066             '../ui/views/controls/webview/webview.gyp:webview',
3067             '../ui/views/views.gyp:views',
3068           ],
3069           'sources': [ '<@(chrome_browser_ui_win_sources)' ],
3070           'sources!': [
3071             'browser/ui/views/apps/keyboard_hook_handler.cc',
3072             'browser/ui/views/frame/taskbar_decorator.cc'
3073           ],
3074           'conditions': [
3075             ['win_use_allocator_shim==1', {
3076               'dependencies': [
3077                 '<(allocator_target)',
3078               ],
3079             }],
3080             ['branding!="Chrome"', {
3081               'dependencies!': [
3082                 '../google_update/google_update.gyp:google_update',
3083               ],
3084               'sources!': [
3085                 'browser/ui/webui/help/version_updater_win.cc',
3086               ],
3087               'sources': [
3088                 'browser/ui/webui/help/version_updater_basic.cc',
3089                 'browser/ui/webui/help/version_updater_basic.h',
3090               ],
3091             }],
3092           ],
3093         }, {  # 'OS!="win"
3094           'conditions': [
3095             ['toolkit_views==1', {
3096               'dependencies': [
3097                 '../ui/views/controls/webview/webview.gyp:webview',
3098                 '../ui/views/views.gyp:views',
3099               ],
3100               'include_dirs': [
3101                 '<(INTERMEDIATE_DIR)',
3102                 '<(INTERMEDIATE_DIR)/chrome',
3103               ],
3104             }, { # else: toolkit_views==0
3105               'sources/': [
3106                 # Exclude all of views.
3107                 ['exclude', '^browser/ui/views/'],
3108               ]
3109             }],
3110           ],
3111         }],
3112         ['desktop_linux==1', {
3113           'sources': [ '<@(chrome_browser_ui_desktop_linux_sources)' ],
3114         }],
3115         ['OS=="linux"', {  # Both desktop Linux and ChromeOS.
3116           'sources': [ '<@(chrome_browser_ui_linux_sources)' ],
3117           'conditions': [
3118             ['use_aura==1', {
3119               'dependencies': [
3120                 '../build/linux/system.gyp:dbus',
3121                 '../build/linux/system.gyp:fontconfig',
3122                 '../dbus/dbus.gyp:dbus',
3123               ],
3124             }],
3125             # x11 build
3126             ['use_x11==1', {
3127               'sources': [ '<@(chrome_browser_ui_x11_sources)' ],
3128               'dependencies': [
3129                 '../build/linux/system.gyp:x11',
3130                 '../build/linux/system.gyp:gio',
3131                 '../ui/events/devices/events_devices.gyp:events_devices',
3132               ],
3133             }],
3134             ['use_udev==1', {
3135               'dependencies': [
3136                 '../device/udev_linux/udev.gyp:udev_linux',
3137               ],
3138             }],
3139           ],
3140         }],
3141         ['enable_app_list==1', {
3142           'sources': [ '<@(chrome_browser_ui_app_list_sources)' ],
3143           'dependencies': [
3144             '../ui/app_list/app_list.gyp:app_list',
3145           ],
3146         }, {
3147           'sources': [ '<@(chrome_browser_ui_non_app_list_sources)' ],
3148         }],
3149         ['enable_autofill_dialog==1', {
3150           'sources': [ '<@(chrome_browser_ui_autofill_dialog_sources)' ],
3151           'conditions': [
3152             ['OS!="android" and OS!="ios"', {
3153               'sources': [
3154                 '<@(chrome_browser_ui_autofill_dialog_non_mobile_sources)',
3155               ],
3156               'dependencies': [
3157                 '../third_party/libaddressinput/libaddressinput.gyp:libaddressinput',
3158                 '../third_party/libaddressinput/libaddressinput.gyp:libaddressinput_strings',
3159               ],
3160             }],
3161           ],
3162         }],
3163         ['enable_extensions==1', {
3164           'dependencies': [
3165             'browser_extensions',
3166             'browser/extensions/api/api_registration.gyp:chrome_api_registration',
3167             'common/extensions/api/api.gyp:chrome_api',
3168           ],
3169           'sources': [ '<@(chrome_browser_ui_extensions_sources)' ],
3170         }],
3171         ['enable_google_now==1 and OS!="android"', {
3172           'sources': [ '<@(chrome_browser_ui_google_now_non_android_sources)' ],
3173         }],
3174         ['enable_media_router==1 and OS!="android" and OS!="ios"', {
3175           'dependencies': [
3176             'browser/media/router/media_router.gyp:media_router',
3177           ],
3178           'sources': [ '<@(chrome_browser_ui_media_router_sources)' ],
3179         }],
3180         ['enable_supervised_users==0', {
3181           'sources!': [
3182             'browser/ui/views/profiles/supervised_user_avatar_label.cc',
3183             'browser/ui/views/profiles/supervised_user_avatar_label.h',
3184             'browser/ui/webui/options/supervised_user_create_confirm_handler.cc',
3185             'browser/ui/webui/options/supervised_user_create_confirm_handler.h',
3186             'browser/ui/webui/options/supervised_user_import_handler.cc',
3187             'browser/ui/webui/options/supervised_user_import_handler.h',
3188             'browser/ui/webui/options/supervised_user_learn_more_handler.cc',
3189             'browser/ui/webui/options/supervised_user_learn_more_handler.h',
3190           ],
3191         }],
3192         ['enable_webrtc==1', {
3193           'sources': [ '<@(chrome_browser_ui_webrtc_sources)' ],
3194         }],
3195         ['enable_service_discovery==1', {
3196           'sources': [ '<@(chrome_browser_ui_service_discovery_sources)' ],
3197         }],
3198         ['enable_extensions==1', {
3199           'dependencies': [
3200             '<(DEPTH)/extensions/components/extensions_components.gyp:javascript_dialog_extensions_client',
3201           ],
3202         }],
3203         ['OS=="win" and (chromium_win_pch==0 or syzyasan==1)', {
3204           'msvs_shard': 4,
3205         }],
3206         ['OS!="android" and OS!="ios"', {
3207           'dependencies': [
3208             '../components/components.gyp:feedback_proto',
3209             '../components/components.gyp:proximity_auth_webui',
3210             '../device/bluetooth/bluetooth.gyp:device_bluetooth',
3211             '../third_party/libusb/libusb.gyp:libusb',
3212           ],
3213           'sources': [
3214             '<@(chrome_browser_ui_non_mobile_sources)',
3215             '<@(chrome_browser_ui_omnibox_non_mobile_sources)',
3216           ],
3217         }],
3218       ],
3219     },
3220   ],