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