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