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/scroll_animator.cc',
18 'animation/scroll_animator.h',
23 'bubble/bubble_border.cc',
24 'bubble/bubble_border.h',
25 'bubble/bubble_delegate.cc',
26 'bubble/bubble_delegate.h',
27 'bubble/bubble_frame_view.cc',
28 'bubble/bubble_frame_view.h',
29 'button_drag_utils.cc',
30 'button_drag_utils.h',
31 'cocoa/bridged_content_view.h',
32 'cocoa/bridged_content_view.mm',
33 'cocoa/bridged_native_widget.h',
34 'cocoa/bridged_native_widget.mm',
35 'cocoa/bridged_native_widget_owner.h',
36 'cocoa/cocoa_mouse_capture.h',
37 'cocoa/cocoa_mouse_capture.mm',
38 'cocoa/cocoa_mouse_capture_delegate.h',
39 'cocoa/native_widget_mac_nswindow.h',
40 'cocoa/native_widget_mac_nswindow.mm',
41 'cocoa/tooltip_manager_mac.h',
42 'cocoa/tooltip_manager_mac.mm',
43 'cocoa/views_nswindow_delegate.h',
44 'cocoa/views_nswindow_delegate.mm',
45 'cocoa/widget_owner_nswindow_adapter.h',
46 'cocoa/widget_owner_nswindow_adapter.mm',
47 'color_chooser/color_chooser_listener.h',
48 'color_chooser/color_chooser_view.cc',
49 'color_chooser/color_chooser_view.h',
52 'context_menu_controller.h',
53 'controls/button/blue_button.cc',
54 'controls/button/blue_button.h',
55 'controls/button/button.cc',
56 'controls/button/button.h',
57 'controls/button/checkbox.cc',
58 'controls/button/checkbox.h',
59 'controls/button/custom_button.cc',
60 'controls/button/custom_button.h',
61 'controls/button/image_button.cc',
62 'controls/button/image_button.h',
63 'controls/button/label_button.cc',
64 'controls/button/label_button.h',
65 'controls/button/label_button_border.cc',
66 'controls/button/label_button_border.h',
67 'controls/button/menu_button.cc',
68 'controls/button/menu_button.h',
69 'controls/button/menu_button_listener.h',
70 'controls/button/radio_button.cc',
71 'controls/button/radio_button.h',
72 'controls/combobox/combobox.cc',
73 'controls/combobox/combobox.h',
74 'controls/combobox/combobox_listener.h',
75 'controls/focusable_border.cc',
76 'controls/focusable_border.h',
77 'controls/glow_hover_controller.cc',
78 'controls/glow_hover_controller.h',
79 'controls/image_view.cc',
80 'controls/image_view.h',
85 'controls/link_listener.h',
86 'controls/menu/display_change_listener_mac.cc',
87 'controls/menu/menu.cc',
88 'controls/menu/menu.h',
89 'controls/menu/menu_config.cc',
90 'controls/menu/menu_config.h',
91 'controls/menu/menu_config_mac.cc',
92 'controls/menu/menu_config_win.cc',
93 'controls/menu/menu_controller.cc',
94 'controls/menu/menu_controller.h',
95 'controls/menu/menu_controller_delegate.h',
96 'controls/menu/menu_delegate.cc',
97 'controls/menu/menu_delegate.h',
98 'controls/menu/menu_host.cc',
99 'controls/menu/menu_host.h',
100 'controls/menu/menu_host_root_view.cc',
101 'controls/menu/menu_host_root_view.h',
102 'controls/menu/menu_image_util.cc',
103 'controls/menu/menu_image_util.h',
104 'controls/menu/menu_insertion_delegate_win.h',
105 'controls/menu/menu_item_view.cc',
106 'controls/menu/menu_item_view.h',
107 'controls/menu/menu_listener.cc',
108 'controls/menu/menu_listener.h',
109 'controls/menu/menu_message_loop.h',
110 'controls/menu/menu_message_loop_mac.cc',
111 'controls/menu/menu_message_loop_mac.h',
112 'controls/menu/menu_message_pump_dispatcher_win.cc',
113 'controls/menu/menu_message_pump_dispatcher_win.h',
114 'controls/menu/menu_model_adapter.cc',
115 'controls/menu/menu_model_adapter.h',
116 'controls/menu/menu_runner.cc',
117 'controls/menu/menu_runner.h',
118 'controls/menu/menu_runner_handler.h',
119 'controls/menu/menu_runner_impl.cc',
120 'controls/menu/menu_runner_impl.h',
121 'controls/menu/menu_runner_impl_adapter.cc',
122 'controls/menu/menu_runner_impl_adapter.h',
123 'controls/menu/menu_runner_impl_cocoa.h',
124 'controls/menu/menu_runner_impl_cocoa.mm',
125 'controls/menu/menu_runner_impl_interface.h',
126 'controls/menu/menu_scroll_view_container.cc',
127 'controls/menu/menu_scroll_view_container.h',
128 'controls/menu/menu_separator.h',
129 'controls/menu/menu_separator_views.cc',
130 'controls/menu/menu_separator_win.cc',
131 'controls/menu/menu_types.h',
132 'controls/menu/native_menu_win.cc',
133 'controls/menu/native_menu_win.h',
134 'controls/menu/submenu_view.cc',
135 'controls/menu/submenu_view.h',
136 'controls/message_box_view.cc',
137 'controls/message_box_view.h',
138 'controls/native/native_view_host.cc',
139 'controls/native/native_view_host.h',
140 'controls/native/native_view_host_mac.h',
141 'controls/native/native_view_host_mac.mm',
142 'controls/prefix_delegate.h',
143 'controls/prefix_selector.cc',
144 'controls/prefix_selector.h',
145 'controls/progress_bar.cc',
146 'controls/progress_bar.h',
147 'controls/resize_area.cc',
148 'controls/resize_area.h',
149 'controls/resize_area_delegate.h',
150 'controls/scroll_view.cc',
151 'controls/scroll_view.h',
152 'controls/scrollbar/base_scroll_bar.cc',
153 'controls/scrollbar/base_scroll_bar.h',
154 'controls/scrollbar/base_scroll_bar_button.cc',
155 'controls/scrollbar/base_scroll_bar_button.h',
156 'controls/scrollbar/base_scroll_bar_thumb.cc',
157 'controls/scrollbar/base_scroll_bar_thumb.h',
158 'controls/scrollbar/kennedy_scroll_bar.cc',
159 'controls/scrollbar/kennedy_scroll_bar.h',
160 'controls/scrollbar/native_scroll_bar.cc',
161 'controls/scrollbar/native_scroll_bar.h',
162 'controls/scrollbar/native_scroll_bar_views.cc',
163 'controls/scrollbar/native_scroll_bar_views.h',
164 'controls/scrollbar/native_scroll_bar_wrapper.h',
165 'controls/scrollbar/overlay_scroll_bar.cc',
166 'controls/scrollbar/overlay_scroll_bar.h',
167 'controls/scrollbar/scroll_bar.cc',
168 'controls/scrollbar/scroll_bar.h',
169 'controls/separator.cc',
170 'controls/separator.h',
171 'controls/single_split_view.cc',
172 'controls/single_split_view.h',
173 'controls/single_split_view_listener.h',
174 'controls/slide_out_view.cc',
175 'controls/slide_out_view.h',
176 'controls/slider.cc',
178 'controls/styled_label.cc',
179 'controls/styled_label.h',
180 'controls/styled_label_listener.h',
181 'controls/tabbed_pane/tabbed_pane.cc',
182 'controls/tabbed_pane/tabbed_pane.h',
183 'controls/tabbed_pane/tabbed_pane_listener.h',
184 'controls/table/table_header.cc',
185 'controls/table/table_header.h',
186 'controls/table/table_utils.cc',
187 'controls/table/table_utils.h',
188 'controls/table/table_view.cc',
189 'controls/table/table_view.h',
190 'controls/table/table_view_observer.h',
191 'controls/table/table_view_row_background_painter.h',
192 'controls/textfield/textfield.cc',
193 'controls/textfield/textfield.h',
194 'controls/textfield/textfield_controller.cc',
195 'controls/textfield/textfield_controller.h',
196 'controls/textfield/textfield_model.cc',
197 'controls/textfield/textfield_model.h',
198 'controls/throbber.cc',
199 'controls/throbber.h',
200 'controls/tree/tree_view.cc',
201 'controls/tree/tree_view.h',
202 'controls/tree/tree_view_controller.cc',
203 'controls/tree/tree_view_controller.h',
211 'event_monitor_mac.h',
212 'event_monitor_mac.mm',
213 'focus/external_focus_tracker.cc',
214 'focus/external_focus_tracker.h',
215 'focus/focus_manager.cc',
216 'focus/focus_manager.h',
217 'focus/focus_manager_delegate.h',
218 'focus/focus_manager_factory.cc',
219 'focus/focus_manager_factory.h',
220 'focus/focus_search.cc',
221 'focus/focus_search.h',
222 'focus/view_storage.cc',
223 'focus/view_storage.h',
224 'focus/widget_focus_manager.cc',
225 'focus/widget_focus_manager.h',
226 'ime/input_method.h',
227 'ime/input_method_base.cc',
228 'ime/input_method_base.h',
229 'ime/input_method_bridge.cc',
230 'ime/input_method_bridge.h',
231 'ime/input_method_delegate.h',
232 'ime/mock_input_method.cc',
233 'ime/mock_input_method.h',
234 'ime/null_input_method.cc',
235 'ime/null_input_method.h',
236 'layout/box_layout.cc',
237 'layout/box_layout.h',
238 'layout/fill_layout.cc',
239 'layout/fill_layout.h',
240 'layout/grid_layout.cc',
241 'layout/grid_layout.h',
242 'layout/layout_constants.h',
243 'layout/layout_manager.cc',
244 'layout/layout_manager.h',
245 'linux_ui/linux_ui.cc',
246 'linux_ui/linux_ui.h',
247 'linux_ui/status_icon_linux.cc',
248 'linux_ui/status_icon_linux.h',
249 'linux_ui/window_button_order_observer.h',
250 'linux_ui/window_button_order_provider.cc',
251 'masked_targeter_delegate.cc',
252 'masked_targeter_delegate.h',
259 'mouse_watcher_view_host.cc',
260 'mouse_watcher_view_host.h',
262 'native_cursor_mac.mm',
263 'native_theme_delegate.h',
266 'rect_based_targeting_utils.cc',
267 'rect_based_targeting_utils.h',
268 'repeat_controller.cc',
269 'repeat_controller.h',
270 'round_rect_painter.cc',
271 'round_rect_painter.h',
280 'view_model_utils.cc',
281 'view_model_utils.h',
284 'view_targeter_delegate.cc',
285 'view_targeter_delegate.h',
290 'views_touch_selection_controller_factory.h',
291 'views_touch_selection_controller_factory_mac.cc',
292 'widget/drop_helper.cc',
293 'widget/drop_helper.h',
294 'widget/monitor_win.cc',
295 'widget/monitor_win.h',
296 'widget/native_widget.h',
297 'widget/native_widget_delegate.h',
298 'widget/native_widget_mac.h',
299 'widget/native_widget_mac.mm',
300 'widget/native_widget_private.h',
301 'widget/root_view.cc',
302 'widget/root_view.h',
303 'widget/root_view_targeter.cc',
304 'widget/root_view_targeter.h',
305 'widget/tooltip_manager.cc',
306 'widget/tooltip_manager.h',
309 'widget/widget_aura_utils.cc',
310 'widget/widget_aura_utils.h',
311 'widget/widget_delegate.cc',
312 'widget/widget_delegate.h',
313 'widget/widget_deletion_observer.cc',
314 'widget/widget_deletion_observer.h',
315 'widget/widget_observer.h',
316 'widget/widget_removals_observer.h',
317 'window/client_view.cc',
318 'window/client_view.h',
319 'window/custom_frame_view.cc',
320 'window/custom_frame_view.h',
321 'window/dialog_client_view.cc',
322 'window/dialog_client_view.h',
323 'window/dialog_delegate.cc',
324 'window/dialog_delegate.h',
325 'window/frame_background.cc',
326 'window/frame_background.h',
327 'window/frame_buttons.h',
328 'window/native_frame_view.cc',
329 'window/native_frame_view.h',
330 'window/non_client_view.cc',
331 'window/non_client_view.h',
332 'window/window_button_order_provider.cc',
333 'window/window_button_order_provider.h',
334 'window/window_resources.h',
335 'window/window_shape.cc',
336 'window/window_shape.h',
338 'views_win_sources': [
339 'controls/menu/menu_2.cc',
340 'controls/menu/menu_2.h',
341 'controls/menu/menu_wrapper.h',
342 'widget/widget_hwnd_utils.cc',
343 'widget/widget_hwnd_utils.h',
344 'win/fullscreen_handler.cc',
345 'win/fullscreen_handler.h',
346 'win/hwnd_message_handler.cc',
347 'win/hwnd_message_handler.h',
348 'win/hwnd_message_handler_delegate.h',
350 'win/hwnd_util_aurawin.cc',
351 'win/scoped_fullscreen_visibility.cc',
352 'win/scoped_fullscreen_visibility.h',
353 'win/windows_session_change_observer.cc',
354 'win/windows_session_change_observer.h',
356 'views_aura_sources': [
357 'accessibility/ax_aura_obj_cache.cc',
358 'accessibility/ax_aura_obj_cache.h',
359 'accessibility/ax_view_obj_wrapper.cc',
360 'accessibility/ax_view_obj_wrapper.h',
361 'accessibility/ax_widget_obj_wrapper.cc',
362 'accessibility/ax_widget_obj_wrapper.h',
363 'accessibility/ax_window_obj_wrapper.cc',
364 'accessibility/ax_window_obj_wrapper.h',
365 'bubble/bubble_window_targeter.cc',
366 'bubble/bubble_window_targeter.h',
367 'bubble/tray_bubble_view.cc',
368 'bubble/tray_bubble_view.h',
369 'controls/menu/display_change_listener_aura.cc',
370 'controls/menu/menu_config_aura.cc',
371 'controls/menu/menu_event_dispatcher.cc',
372 'controls/menu/menu_event_dispatcher.h',
373 'controls/menu/menu_message_loop_aura.cc',
374 'controls/menu/menu_message_loop_aura.h',
375 'controls/native/native_view_host_aura.cc',
376 'controls/native/native_view_host_aura.h',
377 'corewm/cursor_height_provider_win.cc',
378 'corewm/cursor_height_provider_win.h',
380 'corewm/tooltip_aura.cc',
381 'corewm/tooltip_aura.h',
382 'corewm/tooltip_controller.cc',
383 'corewm/tooltip_controller.h',
384 'corewm/tooltip_win.cc',
385 'corewm/tooltip_win.h',
386 'drag_utils_aura.cc',
387 'event_monitor_aura.cc',
388 'event_monitor_aura.h',
390 'native_cursor_aura.cc',
391 'touchui/touch_selection_controller_impl.cc',
392 'touchui/touch_selection_controller_impl.h',
393 'touchui/touch_selection_menu_runner_views.cc',
394 'touchui/touch_selection_menu_runner_views.h',
395 'view_constants_aura.cc',
396 'view_constants_aura.h',
397 'views_touch_selection_controller_factory_aura.cc',
398 'widget/native_widget_aura.cc',
399 'widget/native_widget_aura.h',
400 'widget/tooltip_manager_aura.cc',
401 'widget/tooltip_manager_aura.h',
402 'widget/window_reorderer.cc',
403 'widget/window_reorderer.h',
405 'views_desktop_aura_sources': [
406 'widget/desktop_aura/desktop_capture_client.cc',
407 'widget/desktop_aura/desktop_capture_client.h',
408 'widget/desktop_aura/desktop_cursor_loader_updater.h',
409 'widget/desktop_aura/desktop_dispatcher_client.cc',
410 'widget/desktop_aura/desktop_dispatcher_client.h',
411 'widget/desktop_aura/desktop_drop_target_win.cc',
412 'widget/desktop_aura/desktop_drop_target_win.h',
413 'widget/desktop_aura/desktop_event_client.cc',
414 'widget/desktop_aura/desktop_event_client.h',
415 'widget/desktop_aura/desktop_focus_rules.cc',
416 'widget/desktop_aura/desktop_focus_rules.h',
417 'widget/desktop_aura/desktop_native_cursor_manager.cc',
418 'widget/desktop_aura/desktop_native_cursor_manager.h',
419 'widget/desktop_aura/desktop_native_widget_aura.cc',
420 'widget/desktop_aura/desktop_native_widget_aura.h',
421 'widget/desktop_aura/desktop_screen.h',
422 'widget/desktop_aura/desktop_screen_position_client.cc',
423 'widget/desktop_aura/desktop_screen_position_client.h',
424 'widget/desktop_aura/desktop_window_tree_host.h',
426 'views_desktop_aura_linux_sources': [
427 'widget/desktop_aura/desktop_cursor_loader_updater_auralinux.cc',
428 'widget/desktop_aura/desktop_cursor_loader_updater_auralinux.h',
430 'views_desktop_aura_x11_sources': [
431 'accessibility/native_view_accessibility_auralinux.cc',
432 'accessibility/native_view_accessibility_auralinux.h',
433 'widget/desktop_aura/desktop_drag_drop_client_aurax11.cc',
434 'widget/desktop_aura/desktop_drag_drop_client_aurax11.h',
435 'widget/desktop_aura/desktop_screen_x11.cc',
436 'widget/desktop_aura/desktop_screen_x11.h',
437 'widget/desktop_aura/desktop_window_tree_host_x11.cc',
438 'widget/desktop_aura/desktop_window_tree_host_x11.h',
439 'widget/desktop_aura/x11_desktop_handler.cc',
440 'widget/desktop_aura/x11_desktop_handler.h',
441 'widget/desktop_aura/x11_desktop_window_move_client.cc',
442 'widget/desktop_aura/x11_desktop_window_move_client.h',
443 'widget/desktop_aura/x11_move_loop.h',
444 'widget/desktop_aura/x11_move_loop_delegate.h',
445 'widget/desktop_aura/x11_pointer_grab.cc',
446 'widget/desktop_aura/x11_pointer_grab.h',
447 'widget/desktop_aura/x11_topmost_window_finder.cc',
448 'widget/desktop_aura/x11_topmost_window_finder.h',
449 'widget/desktop_aura/x11_whole_screen_move_loop.cc',
450 'widget/desktop_aura/x11_whole_screen_move_loop.h',
451 'widget/desktop_aura/x11_window_event_filter.cc',
452 'widget/desktop_aura/x11_window_event_filter.h',
454 'views_desktop_aura_win_sources': [
455 'widget/desktop_aura/desktop_cursor_loader_updater_aurawin.cc',
456 'widget/desktop_aura/desktop_drag_drop_client_win.cc',
457 'widget/desktop_aura/desktop_drag_drop_client_win.h',
458 'widget/desktop_aura/desktop_screen_win.cc',
459 'widget/desktop_aura/desktop_screen_win.h',
460 'widget/desktop_aura/desktop_window_tree_host_win.cc',
461 'widget/desktop_aura/desktop_window_tree_host_win.h',
463 'views_desktop_aura_ozone_sources': [
464 'widget/desktop_aura/desktop_factory_ozone.cc',
465 'widget/desktop_aura/desktop_factory_ozone.h',
466 'widget/desktop_aura/desktop_screen_ozone.cc',
467 'widget/desktop_aura/desktop_window_tree_host_ozone.cc',
469 'views_test_support_sources': [
470 'controls/textfield/textfield_test_api.cc',
471 'controls/textfield/textfield_test_api.h',
472 'test/capture_tracking_view.cc',
473 'test/capture_tracking_view.h',
474 'test/desktop_test_views_delegate.h',
475 'test/desktop_test_views_delegate_mac.mm',
476 'test/event_generator_delegate_mac.h',
477 'test/event_generator_delegate_mac.mm',
478 'test/focus_manager_test.cc',
479 'test/focus_manager_test.h',
480 'test/menu_runner_test_api.cc',
481 'test/menu_runner_test_api.h',
482 'test/slider_test_api.cc',
483 'test/slider_test_api.h',
484 'test/scoped_views_test_helper.cc',
485 'test/scoped_views_test_helper.h',
486 'test/test_views.cc',
488 'test/test_views_delegate.h',
489 'test/test_views_delegate_mac.mm',
490 'test/test_widget_observer.cc',
491 'test/test_widget_observer.h',
492 'test/views_test_base.cc',
493 'test/views_test_base.h',
494 'test/views_test_helper.cc',
495 'test/views_test_helper.h',
496 'test/views_test_helper_mac.h',
497 'test/views_test_helper_mac.mm',
498 'test/widget_test.cc',
499 'test/widget_test.h',
500 'test/widget_test_mac.mm',
501 'test/x11_property_change_waiter.cc',
502 'test/x11_property_change_waiter.h',
504 'views_test_support_aura_sources': [
505 'corewm/tooltip_controller_test_helper.cc',
506 'corewm/tooltip_controller_test_helper.h',
507 'test/desktop_test_views_delegate_aura.cc',
508 'test/test_views_delegate_aura.cc',
509 'test/views_test_helper_aura.cc',
510 'test/views_test_helper_aura.h',
511 'test/widget_test_aura.cc',
513 'views_test_support_desktop_aura_x11_sources': [
514 'test/ui_controls_factory_desktop_aurax11.cc',
515 'test/ui_controls_factory_desktop_aurax11.h',
517 'views_unittests_sources': [
518 'accessibility/native_view_accessibility_unittest.cc',
519 'accessibility/native_view_accessibility_win_unittest.cc',
520 'accessible_pane_view_unittest.cc',
521 'animation/bounds_animator_unittest.cc',
522 'bubble/bubble_border_unittest.cc',
523 'bubble/bubble_delegate_unittest.cc',
524 'bubble/bubble_frame_view_unittest.cc',
525 'bubble/bubble_window_targeter_unittest.cc',
526 'cocoa/bridged_native_widget_unittest.mm',
527 'cocoa/cocoa_mouse_capture_unittest.mm',
528 'controls/button/blue_button_unittest.cc',
529 'controls/button/custom_button_unittest.cc',
530 'controls/button/image_button_unittest.cc',
531 'controls/button/label_button_unittest.cc',
532 'controls/button/menu_button_unittest.cc',
533 'controls/combobox/combobox_unittest.cc',
534 'controls/label_unittest.cc',
535 'controls/menu/menu_controller_unittest.cc',
536 'controls/menu/menu_item_view_unittest.cc',
537 'controls/menu/menu_model_adapter_unittest.cc',
538 'controls/menu/menu_runner_cocoa_unittest.mm',
539 'controls/native/native_view_host_mac_unittest.mm',
540 'controls/native/native_view_host_test_base.cc',
541 'controls/native/native_view_host_test_base.h',
542 'controls/native/native_view_host_unittest.cc',
543 'controls/prefix_selector_unittest.cc',
544 'controls/progress_bar_unittest.cc',
545 'controls/scroll_view_unittest.cc',
546 'controls/scrollbar/scrollbar_unittest.cc',
547 'controls/single_split_view_unittest.cc',
548 'controls/slider_unittest.cc',
549 'controls/styled_label_unittest.cc',
550 'controls/tabbed_pane/tabbed_pane_unittest.cc',
551 'controls/table/table_utils_unittest.cc',
552 'controls/table/table_view_unittest.cc',
553 'controls/table/test_table_model.cc',
554 'controls/table/test_table_model.h',
555 'controls/textfield/textfield_model_unittest.cc',
556 'controls/textfield/textfield_unittest.cc',
557 'controls/tree/tree_view_unittest.cc',
558 'event_monitor_unittest.cc',
559 'focus/focus_manager_unittest.cc',
560 'focus/focus_traversal_unittest.cc',
561 'layout/box_layout_unittest.cc',
562 'layout/grid_layout_unittest.cc',
563 'rect_based_targeting_utils_unittest.cc',
564 'run_all_unittests.cc',
565 'view_model_unittest.cc',
566 'view_model_utils_unittest.cc',
567 'view_targeter_unittest.cc',
569 'widget/native_widget_mac_unittest.mm',
570 'widget/native_widget_unittest.cc',
571 'widget/root_view_unittest.cc',
572 'widget/widget_unittest.cc',
573 'widget/window_reorderer_unittest.cc',
574 'window/custom_frame_view_unittest.cc',
575 'window/dialog_client_view_unittest.cc',
576 'window/dialog_delegate_unittest.cc',
578 'views_unittests_desktop_sources': [
579 'ime/input_method_bridge_unittest.cc',
580 'widget/desktop_widget_unittest.cc',
582 'views_unittests_aura_sources': [
583 'controls/native/native_view_host_aura_unittest.cc',
584 'corewm/tooltip_controller_unittest.cc',
585 'touchui/touch_selection_controller_impl_unittest.cc',
586 'touchui/touch_selection_menu_runner_views_unittest.cc',
587 'view_unittest_aura.cc',
588 'widget/native_widget_aura_unittest.cc',
590 'views_unittests_desktop_aura_sources': [
591 'widget/desktop_aura/desktop_focus_rules_unittest.cc',
592 'widget/desktop_aura/desktop_native_widget_aura_unittest.cc',
594 'views_unittests_desktop_aurax11_sources': [
595 'widget/desktop_aura/desktop_drag_drop_client_aurax11_unittest.cc',
596 'widget/desktop_aura/desktop_screen_x11_unittest.cc',
597 'widget/desktop_aura/desktop_window_tree_host_x11_unittest.cc',
602 # GN version: //ui/views
603 'target_name': 'views',
604 'type': '<(component)',
606 '../../base/base.gyp:base',
607 '../../base/base.gyp:base_i18n',
608 '../../base/third_party/dynamic_annotations/dynamic_annotations.gyp:dynamic_annotations',
609 '../../skia/skia.gyp:skia',
610 '../../third_party/icu/icu.gyp:icui18n',
611 '../../third_party/icu/icu.gyp:icuuc',
612 '../../url/url.gyp:url_lib',
613 '../accessibility/accessibility.gyp:accessibility',
614 '../accessibility/accessibility.gyp:ax_gen',
615 '../base/ime/ui_base_ime.gyp:ui_base_ime',
616 '../base/ui_base.gyp:ui_base',
617 '../compositor/compositor.gyp:compositor',
618 '../events/events.gyp:events',
619 '../events/events.gyp:events_base',
620 '../events/platform/events_platform.gyp:events_platform',
621 '../gfx/gfx.gyp:gfx',
622 '../gfx/gfx.gyp:gfx_geometry',
623 '../native_theme/native_theme.gyp:native_theme',
624 '../resources/ui_resources.gyp:ui_resources',
625 '../strings/ui_strings.gyp:ui_strings',
627 'all_dependent_settings': {
632 'export_dependent_settings': [
633 '../accessibility/accessibility.gyp:ax_gen',
636 'VIEWS_IMPLEMENTATION',
644 'bubble/tray_bubble_view.cc',
645 'bubble/tray_bubble_view.h',
648 ['chromeos==0 and use_x11==1', {
650 '../display/display.gyp:display_util',
653 ['OS=="linux" and chromeos==0 and use_ozone==0', {
655 '../../build/linux/system.gyp:atk',
658 ['OS=="linux" and chromeos==0', {
660 '../shell_dialogs/shell_dialogs.gyp:shell_dialogs',
663 'window/window_button_order_provider.cc',
665 }, { # OS=="linux" and chromeos==0
667 ['exclude', 'linux_ui'],
672 '<@(views_win_sources)',
676 '../../third_party/iaccessible2/iaccessible2.gyp:iaccessible2',
679 '../../third_party/wtl/include',
694 # TODO(jschuh): crbug.com/167187 fix size_t to int truncations.
695 'msvs_disabled_warnings': [ 4267, ],
699 '../ozone/ozone.gyp:ozone',
704 '../../build/linux/system.gyp:x11',
705 '../../build/linux/system.gyp:xrandr',
706 '../events/devices/events_devices.gyp:events_devices',
707 '../events/platform/x11/x11_events_platform.gyp:x11_events_platform',
708 '../gfx/x/gfx_x11.gyp:gfx_x11',
713 '<@(views_aura_sources)',
716 '../aura/aura.gyp:aura',
717 '../touch_selection/ui_touch_selection.gyp:ui_touch_selection',
721 ['use_aura and chromeos == 0', {
722 'sources': [ '<@(views_desktop_aura_sources)' ],
725 'sources': [ '<@(views_desktop_aura_linux_sources)' ],
728 'sources': [ '<@(views_desktop_aura_x11_sources)' ],
730 '../../build/linux/system.gyp:xext',
734 'sources': [ '<@(views_desktop_aura_win_sources)' ],
737 'sources': [ '<@(views_desktop_aura_ozone_sources)' ],
743 '../accelerated_widget_mac/accelerated_widget_mac.gyp:accelerated_widget_mac',
747 # Required by bridged_native_widget.mm.
748 '$(SDKROOT)/System/Library/Frameworks/QuartzCore.framework',
753 }, # target_name: views
755 # GN version: //ui/views:test_support
756 'target_name': 'views_test_support',
757 'type': 'static_library',
759 '../../base/base.gyp:base',
760 '../../ipc/ipc.gyp:test_support_ipc',
761 '../../skia/skia.gyp:skia',
762 '../../testing/gtest.gyp:gtest',
763 '../base/ime/ui_base_ime.gyp:ui_base_ime',
764 '../base/ui_base.gyp:ui_base',
765 '../compositor/compositor.gyp:compositor',
766 '../compositor/compositor.gyp:compositor_test_support',
767 '../events/events.gyp:events',
768 '../events/events.gyp:events_test_support',
769 '../events/platform/events_platform.gyp:events_platform',
770 '../gfx/gfx.gyp:gfx',
771 '../gfx/gfx.gyp:gfx_geometry',
778 '<@(views_test_support_sources)',
782 'sources': [ '<@(views_test_support_aura_sources)' ],
784 '../aura/aura.gyp:aura',
785 '../aura/aura.gyp:aura_test_support',
789 ['use_aura==1 and use_x11==1 and chromeos==0', {
790 'sources': [ '<@(views_test_support_desktop_aura_x11_sources)' ],
793 }, # target_name: views_test_support
795 # GN version: //ui/views:views_unittests
796 'target_name': 'views_unittests',
797 'type': 'executable',
799 '../../base/base.gyp:base',
800 '../../base/base.gyp:base_i18n',
801 '../../base/base.gyp:test_support_base',
802 '../../skia/skia.gyp:skia',
803 '../../testing/gtest.gyp:gtest',
804 '../../third_party/icu/icu.gyp:icui18n',
805 '../../third_party/icu/icu.gyp:icuuc',
806 '../../url/url.gyp:url_lib',
807 '../accessibility/accessibility.gyp:accessibility',
808 '../base/ime/ui_base_ime.gyp:ui_base_ime',
809 '../base/ui_base.gyp:ui_base',
810 '../base/ui_base.gyp:ui_base_test_support',
811 '../compositor/compositor.gyp:compositor',
812 '../events/events.gyp:events',
813 '../events/events.gyp:events_base',
814 '../events/events.gyp:events_test_support',
815 '../gfx/gfx.gyp:gfx',
816 '../gfx/gfx.gyp:gfx_geometry',
817 '../resources/ui_resources.gyp:ui_resources',
818 '../resources/ui_resources.gyp:ui_test_pak',
819 '../strings/ui_strings.gyp:ui_strings',
821 'views_test_support',
827 '<@(views_unittests_sources)',
832 '../../third_party/iaccessible2/iaccessible2.gyp:iaccessible2',
842 '../third_party/wtl/include',
846 'AdditionalManifestFiles': [
847 '$(ProjectDir)\\test\\views_unittest.manifest',
852 ['OS=="win" and win_use_allocator_shim==1', {
854 '../../base/allocator/allocator.gyp:allocator',
857 ['OS=="linux" and use_allocator!="none"', {
858 # See http://crbug.com/162998#c4 for why this is needed.
860 '../../base/allocator/allocator.gyp:allocator',
865 '../../build/linux/system.gyp:x11',
866 '../../build/linux/system.gyp:xext',
867 '../events/devices/events_devices.gyp:events_devices',
868 '../events/platform/x11/x11_events_platform.gyp:x11_events_platform',
872 'sources': [ '<@(views_unittests_aura_sources)' ],
874 '../aura/aura.gyp:aura',
875 '../aura/aura.gyp:aura_test_support',
876 '../touch_selection/ui_touch_selection.gyp:ui_touch_selection',
881 'sources': [ '<@(views_unittests_desktop_aura_sources)' ],
883 ['chromeos == 0 and use_x11==1', {
884 'sources': [ '<@(views_unittests_desktop_aurax11_sources)' ],
889 'sources': [ '<@(views_unittests_desktop_sources)' ],
893 '../events/platform/x11/x11_events_platform.gyp:x11_events_platform',
897 # views_unittests not yet compiling on Mac. http://crbug.com/378134
899 'bubble/bubble_window_targeter_unittest.cc',
900 'controls/button/custom_button_unittest.cc',
901 'controls/menu/menu_controller_unittest.cc',
902 'controls/native/native_view_host_unittest.cc',
903 'focus/focus_manager_unittest.cc',
904 'ime/input_method_bridge_unittest.cc',
905 'widget/window_reorderer_unittest.cc',
909 }, # target_name: views_unittests
915 # GN version: //ui/views:macviews_interactive_ui_tests
916 'target_name': 'macviews_interactive_ui_tests',
917 'type': 'executable',
919 '../../base/base.gyp:base',
920 '../../base/base.gyp:test_support_base',
921 '../../skia/skia.gyp:skia',
922 '../../testing/gtest.gyp:gtest',
923 '../base/ui_base.gyp:ui_base_test_support',
924 '../compositor/compositor.gyp:compositor_test_support',
925 '../resources/ui_resources.gyp:ui_resources',
926 '../resources/ui_resources.gyp:ui_test_pak',
927 '../strings/ui_strings.gyp:ui_strings',
929 'views_test_support',
932 'cocoa/bridged_native_widget_interactive_uitest.mm',
933 'run_all_unittests.cc',
934 'widget/native_widget_mac_interactive_uitest.mm',
939 '../aura/aura.gyp:aura',
944 }, # target_name: macviews_interactive_ui_tests