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