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