1 # Copyright (c) 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.
7 # Sources lists shared with GN build.
9 'accessibility/native_view_accessibility.cc',
10 'accessibility/native_view_accessibility.h',
11 'accessibility/native_view_accessibility_win.cc',
12 'accessibility/native_view_accessibility_win.h',
13 'accessible_pane_view.cc',
14 'accessible_pane_view.h',
15 'animation/bounds_animator.cc',
16 'animation/bounds_animator.h',
17 'animation/ink_drop_animation.cc',
18 'animation/ink_drop_animation.h',
19 'animation/ink_drop_animation_controller.h',
20 'animation/ink_drop_animation_controller_factory.cc',
21 'animation/ink_drop_animation_controller_factory.h',
22 'animation/ink_drop_animation_controller_impl.cc',
23 'animation/ink_drop_animation_controller_impl.h',
24 'animation/ink_drop_delegate.cc',
25 'animation/ink_drop_delegate.h',
26 'animation/ink_drop_host.h',
27 'animation/ink_drop_state.h',
28 'animation/scroll_animator.cc',
29 'animation/scroll_animator.h',
34 'bubble/bubble_border.cc',
35 'bubble/bubble_border.h',
36 'bubble/bubble_delegate.cc',
37 'bubble/bubble_delegate.h',
38 'bubble/bubble_frame_view.cc',
39 'bubble/bubble_frame_view.h',
40 'button_drag_utils.cc',
41 'button_drag_utils.h',
42 'cocoa/bridged_content_view.h',
43 'cocoa/bridged_content_view.mm',
44 'cocoa/bridged_native_widget.h',
45 'cocoa/bridged_native_widget.mm',
46 'cocoa/bridged_native_widget_owner.h',
47 'cocoa/cocoa_mouse_capture.h',
48 'cocoa/cocoa_mouse_capture.mm',
49 'cocoa/cocoa_mouse_capture_delegate.h',
50 'cocoa/native_widget_mac_nswindow.h',
51 'cocoa/native_widget_mac_nswindow.mm',
52 'cocoa/tooltip_manager_mac.h',
53 'cocoa/tooltip_manager_mac.mm',
54 'cocoa/views_nswindow_delegate.h',
55 'cocoa/views_nswindow_delegate.mm',
56 'cocoa/widget_owner_nswindow_adapter.h',
57 'cocoa/widget_owner_nswindow_adapter.mm',
58 'color_chooser/color_chooser_listener.h',
59 'color_chooser/color_chooser_view.cc',
60 'color_chooser/color_chooser_view.h',
63 'context_menu_controller.h',
64 'controls/button/blue_button.cc',
65 'controls/button/blue_button.h',
66 'controls/button/button.cc',
67 'controls/button/button.h',
68 'controls/button/checkbox.cc',
69 'controls/button/checkbox.h',
70 'controls/button/custom_button.cc',
71 'controls/button/custom_button.h',
72 'controls/button/image_button.cc',
73 'controls/button/image_button.h',
74 'controls/button/label_button.cc',
75 'controls/button/label_button.h',
76 'controls/button/label_button_border.cc',
77 'controls/button/label_button_border.h',
78 'controls/button/menu_button.cc',
79 'controls/button/menu_button.h',
80 'controls/button/menu_button_listener.h',
81 'controls/button/radio_button.cc',
82 'controls/button/radio_button.h',
83 'controls/combobox/combobox.cc',
84 'controls/combobox/combobox.h',
85 'controls/combobox/combobox_listener.h',
86 'controls/focusable_border.cc',
87 'controls/focusable_border.h',
88 'controls/glow_hover_controller.cc',
89 'controls/glow_hover_controller.h',
90 'controls/image_view.cc',
91 'controls/image_view.h',
96 'controls/link_listener.h',
97 'controls/menu/display_change_listener_mac.cc',
98 'controls/menu/menu_config.cc',
99 'controls/menu/menu_config.h',
100 'controls/menu/menu_config_mac.mm',
101 'controls/menu/menu_config_win.cc',
102 'controls/menu/menu_controller.cc',
103 'controls/menu/menu_controller.h',
104 'controls/menu/menu_controller_delegate.h',
105 'controls/menu/menu_delegate.cc',
106 'controls/menu/menu_delegate.h',
107 'controls/menu/menu_host.cc',
108 'controls/menu/menu_host.h',
109 'controls/menu/menu_host_root_view.cc',
110 'controls/menu/menu_host_root_view.h',
111 'controls/menu/menu_image_util.cc',
112 'controls/menu/menu_image_util.h',
113 'controls/menu/menu_insertion_delegate_win.h',
114 'controls/menu/menu_item_view.cc',
115 'controls/menu/menu_item_view.h',
116 'controls/menu/menu_listener.cc',
117 'controls/menu/menu_listener.h',
118 'controls/menu/menu_message_loop.h',
119 'controls/menu/menu_message_loop_mac.cc',
120 'controls/menu/menu_message_loop_mac.h',
121 'controls/menu/menu_message_pump_dispatcher_win.cc',
122 'controls/menu/menu_message_pump_dispatcher_win.h',
123 'controls/menu/menu_model_adapter.cc',
124 'controls/menu/menu_model_adapter.h',
125 'controls/menu/menu_runner.cc',
126 'controls/menu/menu_runner.h',
127 'controls/menu/menu_runner_handler.h',
128 'controls/menu/menu_runner_impl.cc',
129 'controls/menu/menu_runner_impl.h',
130 'controls/menu/menu_runner_impl_adapter.cc',
131 'controls/menu/menu_runner_impl_adapter.h',
132 'controls/menu/menu_runner_impl_cocoa.h',
133 'controls/menu/menu_runner_impl_cocoa.mm',
134 'controls/menu/menu_runner_impl_interface.h',
135 'controls/menu/menu_scroll_view_container.cc',
136 'controls/menu/menu_scroll_view_container.h',
137 'controls/menu/menu_separator.h',
138 'controls/menu/menu_separator_views.cc',
139 'controls/menu/menu_separator_win.cc',
140 'controls/menu/menu_types.h',
141 'controls/menu/native_menu_win.cc',
142 'controls/menu/native_menu_win.h',
143 'controls/menu/submenu_view.cc',
144 'controls/menu/submenu_view.h',
145 'controls/message_box_view.cc',
146 'controls/message_box_view.h',
147 'controls/native/native_view_host.cc',
148 'controls/native/native_view_host.h',
149 'controls/native/native_view_host_mac.h',
150 'controls/native/native_view_host_mac.mm',
151 'controls/prefix_delegate.h',
152 'controls/prefix_selector.cc',
153 'controls/prefix_selector.h',
154 'controls/progress_bar.cc',
155 'controls/progress_bar.h',
156 'controls/resize_area.cc',
157 'controls/resize_area.h',
158 'controls/resize_area_delegate.h',
159 'controls/scroll_view.cc',
160 'controls/scroll_view.h',
161 'controls/scrollbar/base_scroll_bar.cc',
162 'controls/scrollbar/base_scroll_bar.h',
163 'controls/scrollbar/base_scroll_bar_button.cc',
164 'controls/scrollbar/base_scroll_bar_button.h',
165 'controls/scrollbar/base_scroll_bar_thumb.cc',
166 'controls/scrollbar/base_scroll_bar_thumb.h',
167 'controls/scrollbar/kennedy_scroll_bar.cc',
168 'controls/scrollbar/kennedy_scroll_bar.h',
169 'controls/scrollbar/native_scroll_bar.cc',
170 'controls/scrollbar/native_scroll_bar.h',
171 'controls/scrollbar/native_scroll_bar_views.cc',
172 'controls/scrollbar/native_scroll_bar_views.h',
173 'controls/scrollbar/native_scroll_bar_wrapper.h',
174 'controls/scrollbar/overlay_scroll_bar.cc',
175 'controls/scrollbar/overlay_scroll_bar.h',
176 'controls/scrollbar/scroll_bar.cc',
177 'controls/scrollbar/scroll_bar.h',
178 'controls/separator.cc',
179 'controls/separator.h',
180 'controls/single_split_view.cc',
181 'controls/single_split_view.h',
182 'controls/single_split_view_listener.h',
183 'controls/slide_out_view.cc',
184 'controls/slide_out_view.h',
185 'controls/slider.cc',
187 'controls/styled_label.cc',
188 'controls/styled_label.h',
189 'controls/styled_label_listener.h',
190 'controls/tabbed_pane/tabbed_pane.cc',
191 'controls/tabbed_pane/tabbed_pane.h',
192 'controls/tabbed_pane/tabbed_pane_listener.h',
193 'controls/table/table_header.cc',
194 'controls/table/table_header.h',
195 'controls/table/table_utils.cc',
196 'controls/table/table_utils.h',
197 'controls/table/table_view.cc',
198 'controls/table/table_view.h',
199 'controls/table/table_view_observer.h',
200 'controls/table/table_view_row_background_painter.h',
201 'controls/textfield/textfield.cc',
202 'controls/textfield/textfield.h',
203 'controls/textfield/textfield_controller.cc',
204 'controls/textfield/textfield_controller.h',
205 'controls/textfield/textfield_model.cc',
206 'controls/textfield/textfield_model.h',
207 'controls/throbber.cc',
208 'controls/throbber.h',
209 'controls/tree/tree_view.cc',
210 'controls/tree/tree_view.h',
211 'controls/tree/tree_view_controller.cc',
212 'controls/tree/tree_view_controller.h',
220 'event_monitor_mac.h',
221 'event_monitor_mac.mm',
222 'focus/external_focus_tracker.cc',
223 'focus/external_focus_tracker.h',
224 'focus/focus_manager.cc',
225 'focus/focus_manager.h',
226 'focus/focus_manager_delegate.h',
227 'focus/focus_manager_factory.cc',
228 'focus/focus_manager_factory.h',
229 'focus/focus_search.cc',
230 'focus/focus_search.h',
231 'focus/view_storage.cc',
232 'focus/view_storage.h',
233 'focus/widget_focus_manager.cc',
234 'focus/widget_focus_manager.h',
235 'layout/box_layout.cc',
236 'layout/box_layout.h',
237 'layout/fill_layout.cc',
238 'layout/fill_layout.h',
239 'layout/grid_layout.cc',
240 'layout/grid_layout.h',
241 'layout/layout_constants.h',
242 'layout/layout_manager.cc',
243 'layout/layout_manager.h',
244 'linux_ui/linux_ui.cc',
245 'linux_ui/linux_ui.h',
246 'linux_ui/status_icon_linux.cc',
247 'linux_ui/status_icon_linux.h',
248 'linux_ui/window_button_order_observer.h',
249 'linux_ui/window_button_order_provider.cc',
250 'masked_targeter_delegate.cc',
251 'masked_targeter_delegate.h',
258 'mouse_watcher_view_host.cc',
259 'mouse_watcher_view_host.h',
261 'native_cursor_mac.mm',
262 'native_theme_delegate.h',
265 'rect_based_targeting_utils.cc',
266 'rect_based_targeting_utils.h',
267 'repeat_controller.cc',
268 'repeat_controller.h',
269 'round_rect_painter.cc',
270 'round_rect_painter.h',
273 'style/mac/dialog_button_border_mac.cc',
274 'style/mac/dialog_button_border_mac.h',
275 'style/platform_style.cc',
276 'style/platform_style.h',
277 'style/platform_style_mac.cc',
284 'view_model_utils.cc',
285 'view_model_utils.h',
288 'view_targeter_delegate.cc',
289 'view_targeter_delegate.h',
294 'views_touch_selection_controller_factory.h',
295 'views_touch_selection_controller_factory_mac.cc',
296 'widget/drop_helper.cc',
297 'widget/drop_helper.h',
298 'widget/monitor_win.cc',
299 'widget/monitor_win.h',
300 'widget/native_widget.h',
301 'widget/native_widget_delegate.h',
302 'widget/native_widget_mac.h',
303 'widget/native_widget_mac.mm',
304 'widget/native_widget_private.h',
305 'widget/root_view.cc',
306 'widget/root_view.h',
307 'widget/root_view_targeter.cc',
308 'widget/root_view_targeter.h',
309 'widget/tooltip_manager.cc',
310 'widget/tooltip_manager.h',
313 'widget/widget_aura_utils.cc',
314 'widget/widget_aura_utils.h',
315 'widget/widget_delegate.cc',
316 'widget/widget_delegate.h',
317 'widget/widget_deletion_observer.cc',
318 'widget/widget_deletion_observer.h',
319 'widget/widget_observer.h',
320 'widget/widget_removals_observer.h',
321 'window/client_view.cc',
322 'window/client_view.h',
323 'window/custom_frame_view.cc',
324 'window/custom_frame_view.h',
325 'window/dialog_client_view.cc',
326 'window/dialog_client_view.h',
327 'window/dialog_delegate.cc',
328 'window/dialog_delegate.h',
329 'window/frame_background.cc',
330 'window/frame_background.h',
331 'window/frame_buttons.h',
332 'window/native_frame_view.cc',
333 'window/native_frame_view.h',
334 'window/non_client_view.cc',
335 'window/non_client_view.h',
336 'window/window_button_order_provider.cc',
337 'window/window_button_order_provider.h',
338 'window/window_resources.h',
339 'window/window_shape.cc',
340 'window/window_shape.h',
342 'views_win_sources': [
343 'controls/menu/menu_2.cc',
344 'controls/menu/menu_2.h',
345 'controls/menu/menu_wrapper.h',
346 'widget/widget_hwnd_utils.cc',
347 'widget/widget_hwnd_utils.h',
348 'win/fullscreen_handler.cc',
349 'win/fullscreen_handler.h',
350 'win/hwnd_message_handler.cc',
351 'win/hwnd_message_handler.h',
352 'win/hwnd_message_handler_delegate.h',
354 'win/hwnd_util_aurawin.cc',
355 'win/scoped_fullscreen_visibility.cc',
356 'win/scoped_fullscreen_visibility.h',
357 'win/windows_session_change_observer.cc',
358 'win/windows_session_change_observer.h',
360 'views_aura_sources': [
361 'accessibility/ax_aura_obj_cache.cc',
362 'accessibility/ax_aura_obj_cache.h',
363 'accessibility/ax_view_obj_wrapper.cc',
364 'accessibility/ax_view_obj_wrapper.h',
365 'accessibility/ax_widget_obj_wrapper.cc',
366 'accessibility/ax_widget_obj_wrapper.h',
367 'accessibility/ax_window_obj_wrapper.cc',
368 'accessibility/ax_window_obj_wrapper.h',
369 'bubble/bubble_window_targeter.cc',
370 'bubble/bubble_window_targeter.h',
371 'bubble/tray_bubble_view.cc',
372 'bubble/tray_bubble_view.h',
373 'controls/menu/display_change_listener_aura.cc',
374 'controls/menu/menu_config_aura.cc',
375 'controls/menu/menu_event_dispatcher.cc',
376 'controls/menu/menu_event_dispatcher.h',
377 'controls/menu/menu_key_event_handler.cc',
378 'controls/menu/menu_key_event_handler.h',
379 'controls/menu/menu_message_loop_aura.cc',
380 'controls/menu/menu_message_loop_aura.h',
381 'controls/native/native_view_host_aura.cc',
382 'controls/native/native_view_host_aura.h',
383 'corewm/cursor_height_provider_win.cc',
384 'corewm/cursor_height_provider_win.h',
386 'corewm/tooltip_aura.cc',
387 'corewm/tooltip_aura.h',
388 'corewm/tooltip_controller.cc',
389 'corewm/tooltip_controller.h',
390 'corewm/tooltip_win.cc',
391 'corewm/tooltip_win.h',
392 'drag_utils_aura.cc',
393 'event_monitor_aura.cc',
394 'event_monitor_aura.h',
396 'native_cursor_aura.cc',
397 'touchui/touch_selection_controller_impl.cc',
398 'touchui/touch_selection_controller_impl.h',
399 'touchui/touch_selection_menu_runner_views.cc',
400 'touchui/touch_selection_menu_runner_views.h',
401 'view_constants_aura.cc',
402 'view_constants_aura.h',
403 'views_touch_selection_controller_factory_aura.cc',
404 'widget/native_widget_aura.cc',
405 'widget/native_widget_aura.h',
406 'widget/tooltip_manager_aura.cc',
407 'widget/tooltip_manager_aura.h',
408 'widget/window_reorderer.cc',
409 'widget/window_reorderer.h',
411 'views_desktop_aura_sources': [
412 'widget/desktop_aura/desktop_capture_client.cc',
413 'widget/desktop_aura/desktop_capture_client.h',
414 'widget/desktop_aura/desktop_cursor_loader_updater.h',
415 'widget/desktop_aura/desktop_dispatcher_client.cc',
416 'widget/desktop_aura/desktop_dispatcher_client.h',
417 'widget/desktop_aura/desktop_drop_target_win.cc',
418 'widget/desktop_aura/desktop_drop_target_win.h',
419 'widget/desktop_aura/desktop_event_client.cc',
420 'widget/desktop_aura/desktop_event_client.h',
421 'widget/desktop_aura/desktop_focus_rules.cc',
422 'widget/desktop_aura/desktop_focus_rules.h',
423 'widget/desktop_aura/desktop_native_cursor_manager.cc',
424 'widget/desktop_aura/desktop_native_cursor_manager.h',
425 'widget/desktop_aura/desktop_native_widget_aura.cc',
426 'widget/desktop_aura/desktop_native_widget_aura.h',
427 'widget/desktop_aura/desktop_screen.h',
428 'widget/desktop_aura/desktop_screen_position_client.cc',
429 'widget/desktop_aura/desktop_screen_position_client.h',
430 'widget/desktop_aura/desktop_window_tree_host.h',
432 'views_desktop_aura_linux_sources': [
433 'style/platform_style_linux.cc',
434 'widget/desktop_aura/desktop_cursor_loader_updater_auralinux.cc',
435 'widget/desktop_aura/desktop_cursor_loader_updater_auralinux.h',
437 'views_desktop_aura_x11_sources': [
438 'accessibility/native_view_accessibility_auralinux.cc',
439 'accessibility/native_view_accessibility_auralinux.h',
440 'widget/desktop_aura/desktop_drag_drop_client_aurax11.cc',
441 'widget/desktop_aura/desktop_drag_drop_client_aurax11.h',
442 'widget/desktop_aura/desktop_screen_x11.cc',
443 'widget/desktop_aura/desktop_screen_x11.h',
444 'widget/desktop_aura/desktop_window_tree_host_x11.cc',
445 'widget/desktop_aura/desktop_window_tree_host_x11.h',
446 'widget/desktop_aura/x11_desktop_handler.cc',
447 'widget/desktop_aura/x11_desktop_handler.h',
448 'widget/desktop_aura/x11_desktop_window_move_client.cc',
449 'widget/desktop_aura/x11_desktop_window_move_client.h',
450 'widget/desktop_aura/x11_move_loop.h',
451 'widget/desktop_aura/x11_move_loop_delegate.h',
452 'widget/desktop_aura/x11_pointer_grab.cc',
453 'widget/desktop_aura/x11_pointer_grab.h',
454 'widget/desktop_aura/x11_topmost_window_finder.cc',
455 'widget/desktop_aura/x11_topmost_window_finder.h',
456 'widget/desktop_aura/x11_whole_screen_move_loop.cc',
457 'widget/desktop_aura/x11_whole_screen_move_loop.h',
458 'widget/desktop_aura/x11_window_event_filter.cc',
459 'widget/desktop_aura/x11_window_event_filter.h',
461 'views_desktop_aura_win_sources': [
462 'widget/desktop_aura/desktop_cursor_loader_updater_aurawin.cc',
463 'widget/desktop_aura/desktop_drag_drop_client_win.cc',
464 'widget/desktop_aura/desktop_drag_drop_client_win.h',
465 'widget/desktop_aura/desktop_screen_win.cc',
466 'widget/desktop_aura/desktop_screen_win.h',
467 'widget/desktop_aura/desktop_window_tree_host_win.cc',
468 'widget/desktop_aura/desktop_window_tree_host_win.h',
470 'views_desktop_aura_ozone_sources': [
471 'widget/desktop_aura/desktop_factory_ozone.cc',
472 'widget/desktop_aura/desktop_factory_ozone.h',
473 'widget/desktop_aura/desktop_screen_ozone.cc',
474 'widget/desktop_aura/desktop_window_tree_host_ozone.cc',
476 'views_test_support_sources': [
477 'controls/textfield/textfield_test_api.cc',
478 'controls/textfield/textfield_test_api.h',
479 'test/capture_tracking_view.cc',
480 'test/capture_tracking_view.h',
481 'test/desktop_test_views_delegate.h',
482 'test/desktop_test_views_delegate_mac.mm',
483 'test/event_generator_delegate_mac.h',
484 'test/event_generator_delegate_mac.mm',
485 'test/focus_manager_test.cc',
486 'test/focus_manager_test.h',
487 'test/menu_runner_test_api.cc',
488 'test/menu_runner_test_api.h',
489 'test/slider_test_api.cc',
490 'test/slider_test_api.h',
491 'test/scoped_views_test_helper.cc',
492 'test/scoped_views_test_helper.h',
493 'test/test_views.cc',
495 'test/test_views_delegate.h',
496 'test/test_views_delegate_mac.mm',
497 'test/test_widget_observer.cc',
498 'test/test_widget_observer.h',
499 'test/views_test_base.cc',
500 'test/views_test_base.h',
501 'test/views_test_helper.cc',
502 'test/views_test_helper.h',
503 'test/views_test_helper_mac.h',
504 'test/views_test_helper_mac.mm',
505 'test/widget_test.cc',
506 'test/widget_test.h',
507 'test/widget_test_mac.mm',
508 'test/x11_property_change_waiter.cc',
509 'test/x11_property_change_waiter.h',
511 'views_test_support_aura_sources': [
512 'corewm/tooltip_controller_test_helper.cc',
513 'corewm/tooltip_controller_test_helper.h',
514 'test/desktop_test_views_delegate_aura.cc',
515 'test/test_views_delegate_aura.cc',
516 'test/views_test_helper_aura.cc',
517 'test/views_test_helper_aura.h',
518 'test/widget_test_aura.cc',
520 'views_test_support_desktop_aura_x11_sources': [
521 'test/ui_controls_factory_desktop_aurax11.cc',
522 'test/ui_controls_factory_desktop_aurax11.h',
524 'views_unittests_sources': [
525 'accessibility/native_view_accessibility_unittest.cc',
526 'accessibility/native_view_accessibility_win_unittest.cc',
527 'accessible_pane_view_unittest.cc',
528 'animation/bounds_animator_unittest.cc',
529 'bubble/bubble_border_unittest.cc',
530 'bubble/bubble_delegate_unittest.cc',
531 'bubble/bubble_frame_view_unittest.cc',
532 'bubble/bubble_window_targeter_unittest.cc',
533 'cocoa/bridged_native_widget_unittest.mm',
534 'cocoa/cocoa_mouse_capture_unittest.mm',
535 'controls/button/blue_button_unittest.cc',
536 'controls/button/custom_button_unittest.cc',
537 'controls/button/image_button_unittest.cc',
538 'controls/button/label_button_unittest.cc',
539 'controls/button/menu_button_unittest.cc',
540 'controls/combobox/combobox_unittest.cc',
541 'controls/label_unittest.cc',
542 'controls/menu/menu_controller_unittest.cc',
543 'controls/menu/menu_item_view_unittest.cc',
544 'controls/menu/menu_model_adapter_unittest.cc',
545 'controls/menu/menu_runner_cocoa_unittest.mm',
546 'controls/native/native_view_host_mac_unittest.mm',
547 'controls/native/native_view_host_test_base.cc',
548 'controls/native/native_view_host_test_base.h',
549 'controls/native/native_view_host_unittest.cc',
550 'controls/prefix_selector_unittest.cc',
551 'controls/progress_bar_unittest.cc',
552 'controls/scroll_view_unittest.cc',
553 'controls/scrollbar/scrollbar_unittest.cc',
554 'controls/single_split_view_unittest.cc',
555 'controls/slider_unittest.cc',
556 'controls/styled_label_unittest.cc',
557 'controls/tabbed_pane/tabbed_pane_unittest.cc',
558 'controls/table/table_utils_unittest.cc',
559 'controls/table/table_view_unittest.cc',
560 'controls/table/test_table_model.cc',
561 'controls/table/test_table_model.h',
562 'controls/textfield/textfield_model_unittest.cc',
563 'controls/textfield/textfield_unittest.cc',
564 'controls/tree/tree_view_unittest.cc',
565 'event_monitor_unittest.cc',
566 'focus/focus_manager_unittest.cc',
567 'focus/focus_traversal_unittest.cc',
568 'layout/box_layout_unittest.cc',
569 'layout/grid_layout_unittest.cc',
570 'rect_based_targeting_utils_unittest.cc',
571 'run_all_unittests.cc',
572 'style/mac/dialog_button_border_mac_unittest.cc',
573 'view_model_unittest.cc',
574 'view_model_utils_unittest.cc',
575 'view_targeter_unittest.cc',
577 'widget/native_widget_mac_unittest.mm',
578 'widget/native_widget_unittest.cc',
579 'widget/root_view_unittest.cc',
580 'widget/widget_unittest.cc',
581 'widget/window_reorderer_unittest.cc',
582 'window/custom_frame_view_unittest.cc',
583 'window/dialog_client_view_unittest.cc',
584 'window/dialog_delegate_unittest.cc',
586 'views_unittests_desktop_sources': [
587 'widget/desktop_widget_unittest.cc',
589 'views_unittests_aura_sources': [
590 'controls/native/native_view_host_aura_unittest.cc',
591 'corewm/tooltip_controller_unittest.cc',
592 'touchui/touch_selection_controller_impl_unittest.cc',
593 'touchui/touch_selection_menu_runner_views_unittest.cc',
594 'view_unittest_aura.cc',
595 'widget/native_widget_aura_unittest.cc',
597 'views_unittests_desktop_aura_sources': [
598 'widget/desktop_aura/desktop_focus_rules_unittest.cc',
599 'widget/desktop_aura/desktop_native_widget_aura_unittest.cc',
601 'views_unittests_desktop_aurax11_sources': [
602 'widget/desktop_aura/desktop_drag_drop_client_aurax11_unittest.cc',
603 'widget/desktop_aura/desktop_screen_x11_unittest.cc',
604 'widget/desktop_aura/desktop_window_tree_host_x11_unittest.cc',
609 # GN version: //ui/views
610 'target_name': 'views',
611 'type': '<(component)',
613 '../../base/base.gyp:base',
614 '../../base/base.gyp:base_i18n',
615 '../../base/third_party/dynamic_annotations/dynamic_annotations.gyp:dynamic_annotations',
616 '../../skia/skia.gyp:skia',
617 '../../third_party/icu/icu.gyp:icui18n',
618 '../../third_party/icu/icu.gyp:icuuc',
619 '../../url/url.gyp:url_lib',
620 '../accessibility/accessibility.gyp:accessibility',
621 '../accessibility/accessibility.gyp:ax_gen',
622 '../base/ime/ui_base_ime.gyp:ui_base_ime',
623 '../base/ui_base.gyp:ui_base',
624 '../compositor/compositor.gyp:compositor',
625 '../events/events.gyp:events',
626 '../events/events.gyp:events_base',
627 '../events/platform/events_platform.gyp:events_platform',
628 '../gfx/gfx.gyp:gfx',
629 '../gfx/gfx.gyp:gfx_geometry',
630 '../gfx/gfx.gyp:gfx_vector_icons',
631 '../native_theme/native_theme.gyp:native_theme',
632 '../resources/ui_resources.gyp:ui_resources',
633 '../strings/ui_strings.gyp:ui_strings',
634 'resources/views_resources.gyp:views_resources',
636 'all_dependent_settings': {
641 'export_dependent_settings': [
642 '../accessibility/accessibility.gyp:ax_gen',
643 'resources/views_resources.gyp:views_resources',
646 'VIEWS_IMPLEMENTATION',
654 'bubble/tray_bubble_view.cc',
655 'bubble/tray_bubble_view.h',
658 ['chromeos==0 and use_x11==1', {
660 '../display/display.gyp:display_util',
663 ['OS=="linux" and chromeos==0 and use_ozone==0', {
665 '../../build/linux/system.gyp:atk',
668 ['OS=="linux" and chromeos==0', {
670 '../shell_dialogs/shell_dialogs.gyp:shell_dialogs',
673 'window/window_button_order_provider.cc',
675 }, { # OS=="linux" and chromeos==0
677 ['exclude', 'linux_ui'],
682 '<@(views_win_sources)',
686 '../../third_party/iaccessible2/iaccessible2.gyp:iaccessible2',
689 '../../third_party/wtl/include',
704 # TODO(jschuh): crbug.com/167187 fix size_t to int truncations.
705 'msvs_disabled_warnings': [ 4267, ],
709 '../ozone/ozone.gyp:ozone',
714 '../../build/linux/system.gyp:x11',
715 '../../build/linux/system.gyp:xrandr',
716 '../events/devices/events_devices.gyp:events_devices',
717 '../events/platform/x11/x11_events_platform.gyp:x11_events_platform',
718 '../gfx/x/gfx_x11.gyp:gfx_x11',
723 '<@(views_aura_sources)',
726 '../aura/aura.gyp:aura',
727 '../touch_selection/ui_touch_selection.gyp:ui_touch_selection',
731 ['use_aura and chromeos == 0', {
732 'sources': [ '<@(views_desktop_aura_sources)' ],
735 'sources': [ '<@(views_desktop_aura_linux_sources)' ],
738 'sources': [ '<@(views_desktop_aura_x11_sources)' ],
740 '../../build/linux/system.gyp:xext',
744 'sources': [ '<@(views_desktop_aura_win_sources)' ],
747 'sources': [ '<@(views_desktop_aura_ozone_sources)' ],
753 '../accelerated_widget_mac/accelerated_widget_mac.gyp:accelerated_widget_mac',
757 # Required by bridged_native_widget.mm.
758 '$(SDKROOT)/System/Library/Frameworks/QuartzCore.framework',
763 }, # target_name: views
765 # GN version: //ui/views:test_support
766 'target_name': 'views_test_support',
767 'type': 'static_library',
769 '../../base/base.gyp:base',
770 '../../ipc/ipc.gyp:test_support_ipc',
771 '../../skia/skia.gyp:skia',
772 '../../testing/gtest.gyp:gtest',
773 '../base/ime/ui_base_ime.gyp:ui_base_ime',
774 '../base/ui_base.gyp:ui_base',
775 '../compositor/compositor.gyp:compositor',
776 '../compositor/compositor.gyp:compositor_test_support',
777 '../events/events.gyp:events',
778 '../events/events.gyp:events_test_support',
779 '../events/platform/events_platform.gyp:events_platform',
780 '../gfx/gfx.gyp:gfx',
781 '../gfx/gfx.gyp:gfx_geometry',
782 'resources/views_resources.gyp:views_resources',
789 '<@(views_test_support_sources)',
793 'sources': [ '<@(views_test_support_aura_sources)' ],
795 '../aura/aura.gyp:aura',
796 '../aura/aura.gyp:aura_test_support',
800 ['use_aura==1 and use_x11==1 and chromeos==0', {
801 'sources': [ '<@(views_test_support_desktop_aura_x11_sources)' ],
804 }, # target_name: views_test_support
806 # GN version: //ui/views:views_unittests
807 'target_name': 'views_unittests',
808 'type': 'executable',
810 '../../base/base.gyp:base',
811 '../../base/base.gyp:base_i18n',
812 '../../base/base.gyp:test_support_base',
813 '../../skia/skia.gyp:skia',
814 '../../testing/gtest.gyp:gtest',
815 '../../third_party/icu/icu.gyp:icui18n',
816 '../../third_party/icu/icu.gyp:icuuc',
817 '../../url/url.gyp:url_lib',
818 '../accessibility/accessibility.gyp:accessibility',
819 '../base/ime/ui_base_ime.gyp:ui_base_ime',
820 '../base/ui_base.gyp:ui_base',
821 '../base/ui_base.gyp:ui_base_test_support',
822 '../compositor/compositor.gyp:compositor',
823 '../events/events.gyp:events',
824 '../events/events.gyp:events_base',
825 '../events/events.gyp:events_test_support',
826 '../gfx/gfx.gyp:gfx',
827 '../gfx/gfx.gyp:gfx_geometry',
828 '../resources/ui_resources.gyp:ui_resources',
829 '../resources/ui_resources.gyp:ui_test_pak',
830 '../strings/ui_strings.gyp:ui_strings',
831 'resources/views_resources.gyp:views_resources',
833 'views_test_support',
839 '<@(views_unittests_sources)',
844 '../../third_party/iaccessible2/iaccessible2.gyp:iaccessible2',
854 '../third_party/wtl/include',
858 'AdditionalManifestFiles': [
859 '$(ProjectDir)\\test\\views_unittest.manifest',
864 ['OS=="win" and win_use_allocator_shim==1', {
866 '../../base/allocator/allocator.gyp:allocator',
869 ['OS=="linux" and use_allocator!="none"', {
870 # See http://crbug.com/162998#c4 for why this is needed.
872 '../../base/allocator/allocator.gyp:allocator',
877 '../../build/linux/system.gyp:x11',
878 '../../build/linux/system.gyp:xext',
879 '../events/devices/events_devices.gyp:events_devices',
880 '../events/platform/x11/x11_events_platform.gyp:x11_events_platform',
884 'sources': [ '<@(views_unittests_aura_sources)' ],
886 '../aura/aura.gyp:aura',
887 '../aura/aura.gyp:aura_test_support',
888 '../touch_selection/ui_touch_selection.gyp:ui_touch_selection',
893 'sources': [ '<@(views_unittests_desktop_aura_sources)' ],
895 ['chromeos == 0 and use_x11==1', {
896 'sources': [ '<@(views_unittests_desktop_aurax11_sources)' ],
901 'sources': [ '<@(views_unittests_desktop_sources)' ],
905 '../events/platform/x11/x11_events_platform.gyp:x11_events_platform',
909 # views_unittests not yet compiling on Mac. http://crbug.com/378134
911 'bubble/bubble_window_targeter_unittest.cc',
912 'controls/native/native_view_host_unittest.cc',
913 'widget/window_reorderer_unittest.cc',
916 '../accelerated_widget_mac/accelerated_widget_mac.gyp:accelerated_widget_mac',
920 }, # target_name: views_unittests
926 # GN version: //ui/views:macviews_interactive_ui_tests
927 'target_name': 'macviews_interactive_ui_tests',
928 'type': 'executable',
930 '../../base/base.gyp:base',
931 '../../base/base.gyp:test_support_base',
932 '../../skia/skia.gyp:skia',
933 '../../testing/gtest.gyp:gtest',
934 '../base/ui_base.gyp:ui_base_test_support',
935 '../compositor/compositor.gyp:compositor_test_support',
936 '../resources/ui_resources.gyp:ui_resources',
937 '../resources/ui_resources.gyp:ui_test_pak',
938 '../strings/ui_strings.gyp:ui_strings',
940 'views_test_support',
943 'cocoa/bridged_native_widget_interactive_uitest.mm',
944 'run_all_unittests.cc',
945 'widget/native_widget_mac_interactive_uitest.mm',
950 '../aura/aura.gyp:aura',
955 }, # target_name: macviews_interactive_ui_tests