OLD | NEW |
---|---|
1 # Copyright 2014 The Chromium Authors. All rights reserved. | 1 # Copyright 2014 The Chromium Authors. All rights reserved. |
2 # Use of this source code is governed by a BSD-style license that can be | 2 # Use of this source code is governed by a BSD-style license that can be |
3 # found in the LICENSE file. | 3 # found in the LICENSE file. |
4 | 4 |
5 import("//build/config/features.gni") | 5 import("//build/config/features.gni") |
6 import("//build/config/ui.gni") | 6 import("//build/config/ui.gni") |
7 import("//testing/test.gni") | 7 import("//testing/test.gni") |
8 import("//ui/base/ui_features.gni") | 8 import("//ui/base/ui_features.gni") |
9 import("//ui/ozone/ozone.gni") | 9 import("//ui/ozone/ozone.gni") |
10 import("//ui/vector_icons/vector_icons.gni") | 10 import("//ui/vector_icons/vector_icons.gni") |
(...skipping 14 matching lines...) Expand all Loading... | |
25 "menu_radio_selected.icon", | 25 "menu_radio_selected.icon", |
26 "radio_button_active.icon", | 26 "radio_button_active.icon", |
27 "radio_button_normal.icon", | 27 "radio_button_normal.icon", |
28 "submenu_arrow.1x.icon", | 28 "submenu_arrow.1x.icon", |
29 "submenu_arrow.icon", | 29 "submenu_arrow.icon", |
30 ] | 30 ] |
31 } | 31 } |
32 | 32 |
33 component("views") { | 33 component("views") { |
34 all_dependent_configs = [ ":flags" ] | 34 all_dependent_configs = [ ":flags" ] |
35 sources = [ | 35 |
36 public = [ | |
36 "accessibility/native_view_accessibility.h", | 37 "accessibility/native_view_accessibility.h", |
37 "accessible_pane_view.cc", | |
38 "accessible_pane_view.h", | 38 "accessible_pane_view.h", |
39 "animation/bounds_animator.cc", | |
40 "animation/bounds_animator.h", | 39 "animation/bounds_animator.h", |
41 "animation/bounds_animator_observer.h", | 40 "animation/bounds_animator_observer.h", |
42 "animation/flood_fill_ink_drop_ripple.cc", | |
43 "animation/flood_fill_ink_drop_ripple.h", | 41 "animation/flood_fill_ink_drop_ripple.h", |
44 "animation/ink_drop.cc", | |
45 "animation/ink_drop.h", | 42 "animation/ink_drop.h", |
46 "animation/ink_drop_animation_ended_reason.cc", | |
47 "animation/ink_drop_animation_ended_reason.h", | 43 "animation/ink_drop_animation_ended_reason.h", |
48 "animation/ink_drop_highlight.cc", | |
49 "animation/ink_drop_highlight.h", | 44 "animation/ink_drop_highlight.h", |
50 "animation/ink_drop_highlight_observer.h", | 45 "animation/ink_drop_highlight_observer.h", |
51 "animation/ink_drop_host.h", | 46 "animation/ink_drop_host.h", |
52 "animation/ink_drop_host_view.cc", | |
53 "animation/ink_drop_host_view.h", | 47 "animation/ink_drop_host_view.h", |
54 "animation/ink_drop_impl.cc", | |
55 "animation/ink_drop_impl.h", | 48 "animation/ink_drop_impl.h", |
56 "animation/ink_drop_mask.cc", | |
57 "animation/ink_drop_mask.h", | 49 "animation/ink_drop_mask.h", |
58 "animation/ink_drop_observer.h", | 50 "animation/ink_drop_observer.h", |
59 "animation/ink_drop_painted_layer_delegates.cc", | |
60 "animation/ink_drop_painted_layer_delegates.h", | 51 "animation/ink_drop_painted_layer_delegates.h", |
61 "animation/ink_drop_ripple.cc", | |
62 "animation/ink_drop_ripple.h", | 52 "animation/ink_drop_ripple.h", |
63 "animation/ink_drop_ripple_observer.h", | 53 "animation/ink_drop_ripple_observer.h", |
64 "animation/ink_drop_state.cc", | |
65 "animation/ink_drop_state.h", | 54 "animation/ink_drop_state.h", |
66 "animation/ink_drop_stub.cc", | |
67 "animation/ink_drop_stub.h", | 55 "animation/ink_drop_stub.h", |
68 "animation/scroll_animator.cc", | |
69 "animation/scroll_animator.h", | 56 "animation/scroll_animator.h", |
70 "animation/square_ink_drop_ripple.cc", | |
71 "animation/square_ink_drop_ripple.h", | 57 "animation/square_ink_drop_ripple.h", |
72 "background.cc", | |
73 "background.h", | 58 "background.h", |
74 "border.cc", | |
75 "border.h", | 59 "border.h", |
76 "bubble/bubble_border.cc", | |
77 "bubble/bubble_border.h", | 60 "bubble/bubble_border.h", |
78 "bubble/bubble_dialog_delegate.cc", | |
79 "bubble/bubble_dialog_delegate.h", | 61 "bubble/bubble_dialog_delegate.h", |
80 "bubble/bubble_frame_view.cc", | |
81 "bubble/bubble_frame_view.h", | 62 "bubble/bubble_frame_view.h", |
82 "bubble/info_bubble.cc", | |
83 "bubble/info_bubble.h", | 63 "bubble/info_bubble.h", |
84 "bubble/tooltip_icon.cc", | |
85 "bubble/tooltip_icon.h", | 64 "bubble/tooltip_icon.h", |
86 "button_drag_utils.cc", | |
87 "button_drag_utils.h", | 65 "button_drag_utils.h", |
88 "cocoa/bridged_content_view.h", | 66 "cocoa/bridged_content_view.h", |
67 "cocoa/bridged_native_widget.h", | |
68 "cocoa/bridged_native_widget_owner.h", | |
69 "cocoa/cocoa_mouse_capture.h", | |
70 "cocoa/cocoa_mouse_capture_delegate.h", | |
71 "cocoa/cocoa_window_move_loop.h", | |
72 "cocoa/drag_drop_client_mac.h", | |
73 "cocoa/native_widget_mac_nswindow.h", | |
74 "cocoa/tooltip_manager_mac.h", | |
75 "cocoa/views_nswindow_delegate.h", | |
76 "cocoa/views_scrollbar_bridge.h", | |
77 "cocoa/widget_owner_nswindow_adapter.h", | |
78 "color_chooser/color_chooser_listener.h", | |
79 "color_chooser/color_chooser_view.h", | |
80 "context_menu_controller.h", | |
81 "controls/animated_icon_view.h", | |
82 "controls/button/blue_button.h", | |
83 "controls/button/button.h", | |
84 "controls/button/checkbox.h", | |
85 "controls/button/custom_button.h", | |
86 "controls/button/image_button.h", | |
87 "controls/button/image_button_factory.h", | |
88 "controls/button/label_button.h", | |
89 "controls/button/label_button_border.h", | |
90 "controls/button/md_text_button.h", | |
91 "controls/button/menu_button.h", | |
92 "controls/button/menu_button_listener.h", | |
93 "controls/button/radio_button.h", | |
94 "controls/button/toggle_button.h", | |
95 "controls/combobox/combobox.h", | |
96 "controls/combobox/combobox_listener.h", | |
97 "controls/focus_ring.h", | |
98 "controls/focusable_border.h", | |
99 "controls/glow_hover_controller.h", | |
100 "controls/image_view.h", | |
101 "controls/label.h", | |
102 "controls/link.h", | |
103 "controls/link_listener.h", | |
104 "controls/menu/menu_config.h", | |
105 "controls/menu/menu_controller.h", | |
106 "controls/menu/menu_controller_delegate.h", | |
107 "controls/menu/menu_delegate.h", | |
108 "controls/menu/menu_host.h", | |
109 "controls/menu/menu_host_root_view.h", | |
110 "controls/menu/menu_image_util.h", | |
111 "controls/menu/menu_insertion_delegate_win.h", | |
112 "controls/menu/menu_item_view.h", | |
113 "controls/menu/menu_listener.h", | |
114 "controls/menu/menu_model_adapter.h", | |
115 "controls/menu/menu_runner.h", | |
116 "controls/menu/menu_runner_handler.h", | |
117 "controls/menu/menu_runner_impl.h", | |
118 "controls/menu/menu_runner_impl_adapter.h", | |
119 "controls/menu/menu_runner_impl_cocoa.h", | |
120 "controls/menu/menu_runner_impl_interface.h", | |
121 "controls/menu/menu_scroll_view_container.h", | |
122 "controls/menu/menu_separator.h", | |
123 "controls/menu/menu_types.h", | |
124 "controls/menu/native_menu_win.h", | |
125 "controls/menu/submenu_view.h", | |
126 "controls/message_box_view.h", | |
127 "controls/native/native_view_host.h", | |
128 "controls/native/native_view_host_mac.h", | |
129 "controls/native/native_view_host_wrapper.h", | |
130 "controls/prefix_delegate.h", | |
131 "controls/prefix_selector.h", | |
132 "controls/progress_bar.h", | |
133 "controls/resize_area.h", | |
134 "controls/resize_area_delegate.h", | |
135 "controls/scroll_view.h", | |
136 "controls/scrollbar/base_scroll_bar.h", | |
137 "controls/scrollbar/base_scroll_bar_button.h", | |
138 "controls/scrollbar/base_scroll_bar_thumb.h", | |
139 "controls/scrollbar/cocoa_scroll_bar.h", | |
140 "controls/scrollbar/overlay_scroll_bar.h", | |
141 "controls/scrollbar/scroll_bar.h", | |
142 "controls/scrollbar/scroll_bar_views.h", | |
143 "controls/separator.h", | |
144 "controls/slider.h", | |
145 "controls/styled_label.h", | |
146 "controls/styled_label_listener.h", | |
147 "controls/tabbed_pane/tabbed_pane.h", | |
148 "controls/tabbed_pane/tabbed_pane_listener.h", | |
149 "controls/table/table_grouper.h", | |
150 "controls/table/table_header.h", | |
151 "controls/table/table_utils.h", | |
152 "controls/table/table_view.h", | |
153 "controls/table/table_view_observer.h", | |
154 "controls/textfield/textfield.h", | |
155 "controls/textfield/textfield_controller.h", | |
156 "controls/textfield/textfield_model.h", | |
157 "controls/throbber.h", | |
158 "controls/tree/tree_view.h", | |
159 "controls/tree/tree_view_controller.h", | |
160 "debug_utils.h", | |
161 "drag_controller.h", | |
162 "drag_utils.h", | |
163 "event_monitor.h", | |
164 "event_monitor_mac.h", | |
165 "focus/external_focus_tracker.h", | |
166 "focus/focus_manager.h", | |
167 "focus/focus_manager_delegate.h", | |
168 "focus/focus_manager_factory.h", | |
169 "focus/focus_search.h", | |
170 "focus/widget_focus_manager.h", | |
171 "layout/box_layout.h", | |
172 "layout/fill_layout.h", | |
173 "layout/grid_layout.h", | |
174 "layout/layout_constants.h", | |
175 "layout/layout_manager.h", | |
176 "layout/layout_provider.h", | |
177 "linux_ui/linux_ui.h", | |
178 "linux_ui/status_icon_linux.h", | |
179 "linux_ui/window_button_order_observer.h", | |
180 "masked_targeter_delegate.h", | |
181 "metrics.h", | |
182 "mouse_constants.h", | |
183 "mouse_watcher.h", | |
184 "mouse_watcher_view_host.h", | |
185 "native_cursor.h", | |
186 "native_theme_delegate.h", | |
187 "painter.h", | |
188 "pointer_watcher.h", | |
189 "rect_based_targeting_utils.h", | |
190 "repeat_controller.h", | |
191 "round_rect_painter.h", | |
192 "selection_controller.h", | |
193 "selection_controller_delegate.h", | |
194 "shadow_border.h", | |
195 "style/platform_style.h", | |
196 "style/typography.h", | |
197 "style/typography_provider.h", | |
198 "view.h", | |
199 "view_constants.h", | |
200 "view_model.h", | |
201 "view_model_utils.h", | |
202 "view_observer.h", | |
203 "view_properties.h", | |
204 "view_targeter.h", | |
205 "view_targeter_delegate.h", | |
206 "view_tracker.h", | |
207 "views_delegate.h", | |
208 "views_export.h", | |
209 "views_switches.h", | |
210 "views_touch_selection_controller_factory.h", | |
211 "widget/drop_helper.h", | |
212 "widget/native_widget.h", | |
213 "widget/native_widget_delegate.h", | |
214 "widget/native_widget_mac.h", | |
215 "widget/native_widget_private.h", | |
216 "widget/root_view.h", | |
217 "widget/root_view_targeter.h", | |
218 "widget/tooltip_manager.h", | |
219 "widget/widget.h", | |
220 "widget/widget_aura_utils.h", | |
221 "widget/widget_delegate.h", | |
222 "widget/widget_deletion_observer.h", | |
223 "widget/widget_observer.h", | |
224 "widget/widget_removals_observer.h", | |
225 "window/client_view.h", | |
226 "window/custom_frame_view.h", | |
227 "window/dialog_client_view.h", | |
228 "window/dialog_delegate.h", | |
229 "window/frame_background.h", | |
230 "window/frame_buttons.h", | |
231 "window/native_frame_view.h", | |
232 "window/non_client_view.h", | |
233 "window/window_button_order_provider.h", | |
234 "window/window_resources.h", | |
235 "window/window_shape.h", | |
236 "word_lookup_client.h", | |
237 ] | |
238 | |
239 sources = [ | |
240 "accessible_pane_view.cc", | |
241 "animation/bounds_animator.cc", | |
242 "animation/flood_fill_ink_drop_ripple.cc", | |
243 "animation/ink_drop.cc", | |
244 "animation/ink_drop_animation_ended_reason.cc", | |
245 "animation/ink_drop_highlight.cc", | |
246 "animation/ink_drop_host_view.cc", | |
247 "animation/ink_drop_impl.cc", | |
248 "animation/ink_drop_mask.cc", | |
249 "animation/ink_drop_painted_layer_delegates.cc", | |
250 "animation/ink_drop_ripple.cc", | |
251 "animation/ink_drop_state.cc", | |
252 "animation/ink_drop_stub.cc", | |
253 "animation/scroll_animator.cc", | |
254 "animation/square_ink_drop_ripple.cc", | |
255 "background.cc", | |
256 "border.cc", | |
257 "bubble/bubble_border.cc", | |
258 "bubble/bubble_dialog_delegate.cc", | |
259 "bubble/bubble_frame_view.cc", | |
260 "bubble/info_bubble.cc", | |
261 "bubble/tooltip_icon.cc", | |
262 "button_drag_utils.cc", | |
89 "cocoa/bridged_content_view.mm", | 263 "cocoa/bridged_content_view.mm", |
90 "cocoa/bridged_content_view_touch_bar.mm", | 264 "cocoa/bridged_content_view_touch_bar.mm", |
91 "cocoa/bridged_native_widget.h", | |
92 "cocoa/bridged_native_widget.mm", | 265 "cocoa/bridged_native_widget.mm", |
93 "cocoa/bridged_native_widget_owner.h", | |
94 "cocoa/cocoa_mouse_capture.h", | |
95 "cocoa/cocoa_mouse_capture.mm", | 266 "cocoa/cocoa_mouse_capture.mm", |
96 "cocoa/cocoa_mouse_capture_delegate.h", | |
97 "cocoa/cocoa_window_move_loop.h", | |
98 "cocoa/cocoa_window_move_loop.mm", | 267 "cocoa/cocoa_window_move_loop.mm", |
99 "cocoa/drag_drop_client_mac.h", | |
100 "cocoa/drag_drop_client_mac.mm", | 268 "cocoa/drag_drop_client_mac.mm", |
101 "cocoa/native_widget_mac_nswindow.h", | |
102 "cocoa/native_widget_mac_nswindow.mm", | 269 "cocoa/native_widget_mac_nswindow.mm", |
103 "cocoa/tooltip_manager_mac.h", | |
104 "cocoa/tooltip_manager_mac.mm", | 270 "cocoa/tooltip_manager_mac.mm", |
105 "cocoa/views_nswindow_delegate.h", | |
106 "cocoa/views_nswindow_delegate.mm", | 271 "cocoa/views_nswindow_delegate.mm", |
107 "cocoa/views_scrollbar_bridge.h", | |
108 "cocoa/views_scrollbar_bridge.mm", | 272 "cocoa/views_scrollbar_bridge.mm", |
109 "cocoa/widget_owner_nswindow_adapter.h", | |
110 "cocoa/widget_owner_nswindow_adapter.mm", | 273 "cocoa/widget_owner_nswindow_adapter.mm", |
111 "color_chooser/color_chooser_listener.h", | |
112 "color_chooser/color_chooser_view.cc", | 274 "color_chooser/color_chooser_view.cc", |
113 "color_chooser/color_chooser_view.h", | |
114 "context_menu_controller.h", | |
115 "controls/animated_icon_view.cc", | 275 "controls/animated_icon_view.cc", |
116 "controls/animated_icon_view.h", | |
117 "controls/button/blue_button.cc", | 276 "controls/button/blue_button.cc", |
118 "controls/button/blue_button.h", | |
119 "controls/button/button.cc", | 277 "controls/button/button.cc", |
120 "controls/button/button.h", | |
121 "controls/button/checkbox.cc", | 278 "controls/button/checkbox.cc", |
122 "controls/button/checkbox.h", | |
123 "controls/button/custom_button.cc", | 279 "controls/button/custom_button.cc", |
124 "controls/button/custom_button.h", | |
125 "controls/button/image_button.cc", | 280 "controls/button/image_button.cc", |
126 "controls/button/image_button.h", | |
127 "controls/button/image_button_factory.cc", | 281 "controls/button/image_button_factory.cc", |
128 "controls/button/image_button_factory.h", | |
129 "controls/button/label_button.cc", | 282 "controls/button/label_button.cc", |
130 "controls/button/label_button.h", | |
131 "controls/button/label_button_border.cc", | 283 "controls/button/label_button_border.cc", |
132 "controls/button/label_button_border.h", | |
133 "controls/button/md_text_button.cc", | 284 "controls/button/md_text_button.cc", |
134 "controls/button/md_text_button.h", | |
135 "controls/button/menu_button.cc", | 285 "controls/button/menu_button.cc", |
136 "controls/button/menu_button.h", | |
137 "controls/button/menu_button_listener.h", | |
138 "controls/button/radio_button.cc", | 286 "controls/button/radio_button.cc", |
139 "controls/button/radio_button.h", | |
140 "controls/button/toggle_button.cc", | 287 "controls/button/toggle_button.cc", |
141 "controls/button/toggle_button.h", | |
142 "controls/combobox/combobox.cc", | 288 "controls/combobox/combobox.cc", |
143 "controls/combobox/combobox.h", | |
144 "controls/combobox/combobox_listener.h", | |
145 "controls/focus_ring.cc", | 289 "controls/focus_ring.cc", |
146 "controls/focus_ring.h", | |
147 "controls/focusable_border.cc", | 290 "controls/focusable_border.cc", |
148 "controls/focusable_border.h", | |
149 "controls/glow_hover_controller.cc", | 291 "controls/glow_hover_controller.cc", |
150 "controls/glow_hover_controller.h", | |
151 "controls/image_view.cc", | 292 "controls/image_view.cc", |
152 "controls/image_view.h", | |
153 "controls/label.cc", | 293 "controls/label.cc", |
154 "controls/label.h", | |
155 "controls/link.cc", | 294 "controls/link.cc", |
156 "controls/link.h", | |
157 "controls/link_listener.h", | |
158 "controls/menu/display_change_listener_mac.cc", | 295 "controls/menu/display_change_listener_mac.cc", |
159 "controls/menu/menu_config.cc", | 296 "controls/menu/menu_config.cc", |
160 "controls/menu/menu_config.h", | |
161 "controls/menu/menu_config_chromeos.cc", | 297 "controls/menu/menu_config_chromeos.cc", |
162 "controls/menu/menu_config_linux.cc", | 298 "controls/menu/menu_config_linux.cc", |
163 "controls/menu/menu_config_mac.mm", | 299 "controls/menu/menu_config_mac.mm", |
164 "controls/menu/menu_config_win.cc", | 300 "controls/menu/menu_config_win.cc", |
165 "controls/menu/menu_controller.cc", | 301 "controls/menu/menu_controller.cc", |
166 "controls/menu/menu_controller.h", | |
167 "controls/menu/menu_controller_delegate.h", | |
168 "controls/menu/menu_delegate.cc", | 302 "controls/menu/menu_delegate.cc", |
169 "controls/menu/menu_delegate.h", | |
170 "controls/menu/menu_host.cc", | 303 "controls/menu/menu_host.cc", |
171 "controls/menu/menu_host.h", | |
172 "controls/menu/menu_host_root_view.cc", | 304 "controls/menu/menu_host_root_view.cc", |
173 "controls/menu/menu_host_root_view.h", | |
174 "controls/menu/menu_image_util.cc", | 305 "controls/menu/menu_image_util.cc", |
175 "controls/menu/menu_image_util.h", | |
176 "controls/menu/menu_insertion_delegate_win.h", | |
177 "controls/menu/menu_item_view.cc", | 306 "controls/menu/menu_item_view.cc", |
178 "controls/menu/menu_item_view.h", | |
179 "controls/menu/menu_listener.cc", | 307 "controls/menu/menu_listener.cc", |
180 "controls/menu/menu_listener.h", | |
181 "controls/menu/menu_model_adapter.cc", | 308 "controls/menu/menu_model_adapter.cc", |
182 "controls/menu/menu_model_adapter.h", | |
183 "controls/menu/menu_runner.cc", | 309 "controls/menu/menu_runner.cc", |
184 "controls/menu/menu_runner.h", | |
185 "controls/menu/menu_runner_handler.h", | |
186 "controls/menu/menu_runner_impl.cc", | 310 "controls/menu/menu_runner_impl.cc", |
187 "controls/menu/menu_runner_impl.h", | |
188 "controls/menu/menu_runner_impl_adapter.cc", | 311 "controls/menu/menu_runner_impl_adapter.cc", |
189 "controls/menu/menu_runner_impl_adapter.h", | |
190 "controls/menu/menu_runner_impl_cocoa.h", | |
191 "controls/menu/menu_runner_impl_cocoa.mm", | 312 "controls/menu/menu_runner_impl_cocoa.mm", |
192 "controls/menu/menu_runner_impl_interface.h", | |
193 "controls/menu/menu_scroll_view_container.cc", | 313 "controls/menu/menu_scroll_view_container.cc", |
194 "controls/menu/menu_scroll_view_container.h", | |
195 "controls/menu/menu_separator.cc", | 314 "controls/menu/menu_separator.cc", |
196 "controls/menu/menu_separator.h", | |
197 "controls/menu/menu_types.h", | |
198 "controls/menu/native_menu_win.cc", | 315 "controls/menu/native_menu_win.cc", |
199 "controls/menu/native_menu_win.h", | |
200 "controls/menu/submenu_view.cc", | 316 "controls/menu/submenu_view.cc", |
201 "controls/menu/submenu_view.h", | |
202 "controls/message_box_view.cc", | 317 "controls/message_box_view.cc", |
203 "controls/message_box_view.h", | |
204 "controls/native/native_view_host.cc", | 318 "controls/native/native_view_host.cc", |
205 "controls/native/native_view_host.h", | |
206 "controls/native/native_view_host_mac.h", | |
207 "controls/native/native_view_host_mac.mm", | 319 "controls/native/native_view_host_mac.mm", |
208 "controls/native/native_view_host_wrapper.h", | |
209 "controls/prefix_delegate.h", | |
210 "controls/prefix_selector.cc", | 320 "controls/prefix_selector.cc", |
211 "controls/prefix_selector.h", | |
212 "controls/progress_bar.cc", | 321 "controls/progress_bar.cc", |
213 "controls/progress_bar.h", | |
214 "controls/resize_area.cc", | 322 "controls/resize_area.cc", |
215 "controls/resize_area.h", | |
216 "controls/resize_area_delegate.h", | |
217 "controls/scroll_view.cc", | 323 "controls/scroll_view.cc", |
218 "controls/scroll_view.h", | |
219 "controls/scrollbar/base_scroll_bar.cc", | 324 "controls/scrollbar/base_scroll_bar.cc", |
220 "controls/scrollbar/base_scroll_bar.h", | |
221 "controls/scrollbar/base_scroll_bar_button.cc", | 325 "controls/scrollbar/base_scroll_bar_button.cc", |
222 "controls/scrollbar/base_scroll_bar_button.h", | |
223 "controls/scrollbar/base_scroll_bar_thumb.cc", | 326 "controls/scrollbar/base_scroll_bar_thumb.cc", |
224 "controls/scrollbar/base_scroll_bar_thumb.h", | |
225 "controls/scrollbar/cocoa_scroll_bar.h", | |
226 "controls/scrollbar/cocoa_scroll_bar.mm", | 327 "controls/scrollbar/cocoa_scroll_bar.mm", |
227 "controls/scrollbar/overlay_scroll_bar.cc", | 328 "controls/scrollbar/overlay_scroll_bar.cc", |
228 "controls/scrollbar/overlay_scroll_bar.h", | |
229 "controls/scrollbar/scroll_bar.cc", | 329 "controls/scrollbar/scroll_bar.cc", |
230 "controls/scrollbar/scroll_bar.h", | |
231 "controls/scrollbar/scroll_bar_views.cc", | 330 "controls/scrollbar/scroll_bar_views.cc", |
232 "controls/scrollbar/scroll_bar_views.h", | |
233 "controls/separator.cc", | 331 "controls/separator.cc", |
234 "controls/separator.h", | |
235 "controls/slider.cc", | 332 "controls/slider.cc", |
236 "controls/slider.h", | |
237 "controls/styled_label.cc", | 333 "controls/styled_label.cc", |
238 "controls/styled_label.h", | |
239 "controls/styled_label_listener.h", | |
240 "controls/tabbed_pane/tabbed_pane.cc", | 334 "controls/tabbed_pane/tabbed_pane.cc", |
241 "controls/tabbed_pane/tabbed_pane.h", | |
242 "controls/tabbed_pane/tabbed_pane_listener.h", | |
243 "controls/table/table_grouper.h", | |
244 "controls/table/table_header.cc", | 335 "controls/table/table_header.cc", |
245 "controls/table/table_header.h", | |
246 "controls/table/table_utils.cc", | 336 "controls/table/table_utils.cc", |
247 "controls/table/table_utils.h", | |
248 "controls/table/table_view.cc", | 337 "controls/table/table_view.cc", |
249 "controls/table/table_view.h", | |
250 "controls/table/table_view_observer.h", | |
251 "controls/textfield/textfield.cc", | 338 "controls/textfield/textfield.cc", |
252 "controls/textfield/textfield.h", | |
253 "controls/textfield/textfield_controller.cc", | 339 "controls/textfield/textfield_controller.cc", |
254 "controls/textfield/textfield_controller.h", | |
255 "controls/textfield/textfield_model.cc", | 340 "controls/textfield/textfield_model.cc", |
256 "controls/textfield/textfield_model.h", | |
257 "controls/throbber.cc", | 341 "controls/throbber.cc", |
258 "controls/throbber.h", | |
259 "controls/tree/tree_view.cc", | 342 "controls/tree/tree_view.cc", |
260 "controls/tree/tree_view.h", | |
261 "controls/tree/tree_view_controller.cc", | 343 "controls/tree/tree_view_controller.cc", |
262 "controls/tree/tree_view_controller.h", | |
263 "debug_utils.cc", | 344 "debug_utils.cc", |
264 "debug_utils.h", | |
265 "drag_controller.h", | |
266 "drag_utils.cc", | 345 "drag_utils.cc", |
267 "drag_utils.h", | |
268 "drag_utils_mac.mm", | 346 "drag_utils_mac.mm", |
269 "event_monitor.h", | |
270 "event_monitor_mac.h", | |
271 "event_monitor_mac.mm", | 347 "event_monitor_mac.mm", |
272 "focus/external_focus_tracker.cc", | 348 "focus/external_focus_tracker.cc", |
273 "focus/external_focus_tracker.h", | |
274 "focus/focus_manager.cc", | 349 "focus/focus_manager.cc", |
275 "focus/focus_manager.h", | |
276 "focus/focus_manager_delegate.h", | |
277 "focus/focus_manager_factory.cc", | 350 "focus/focus_manager_factory.cc", |
278 "focus/focus_manager_factory.h", | |
279 "focus/focus_search.cc", | 351 "focus/focus_search.cc", |
280 "focus/focus_search.h", | |
281 "focus/widget_focus_manager.cc", | 352 "focus/widget_focus_manager.cc", |
282 "focus/widget_focus_manager.h", | |
283 "layout/box_layout.cc", | 353 "layout/box_layout.cc", |
284 "layout/box_layout.h", | |
285 "layout/fill_layout.cc", | 354 "layout/fill_layout.cc", |
286 "layout/fill_layout.h", | |
287 "layout/grid_layout.cc", | 355 "layout/grid_layout.cc", |
288 "layout/grid_layout.h", | |
289 "layout/layout_constants.h", | |
290 "layout/layout_manager.cc", | 356 "layout/layout_manager.cc", |
291 "layout/layout_manager.h", | |
292 "layout/layout_provider.cc", | 357 "layout/layout_provider.cc", |
293 "layout/layout_provider.h", | |
294 "linux_ui/linux_ui.cc", | 358 "linux_ui/linux_ui.cc", |
295 "linux_ui/linux_ui.h", | |
296 "linux_ui/status_icon_linux.cc", | 359 "linux_ui/status_icon_linux.cc", |
297 "linux_ui/status_icon_linux.h", | |
298 "linux_ui/window_button_order_observer.h", | |
299 "linux_ui/window_button_order_provider.cc", | 360 "linux_ui/window_button_order_provider.cc", |
300 "masked_targeter_delegate.cc", | 361 "masked_targeter_delegate.cc", |
301 "masked_targeter_delegate.h", | |
302 "metrics.cc", | 362 "metrics.cc", |
303 "metrics.h", | |
304 "metrics_mac.cc", | 363 "metrics_mac.cc", |
305 "mouse_constants.h", | |
306 "mouse_watcher.cc", | 364 "mouse_watcher.cc", |
307 "mouse_watcher.h", | |
308 "mouse_watcher_view_host.cc", | 365 "mouse_watcher_view_host.cc", |
309 "mouse_watcher_view_host.h", | |
310 "native_cursor.h", | |
311 "native_cursor_mac.mm", | 366 "native_cursor_mac.mm", |
312 "native_theme_delegate.h", | |
313 "painter.cc", | 367 "painter.cc", |
314 "painter.h", | |
315 "pointer_watcher.h", | |
316 "rect_based_targeting_utils.cc", | 368 "rect_based_targeting_utils.cc", |
317 "rect_based_targeting_utils.h", | |
318 "repeat_controller.cc", | 369 "repeat_controller.cc", |
319 "repeat_controller.h", | |
320 "round_rect_painter.cc", | 370 "round_rect_painter.cc", |
321 "round_rect_painter.h", | |
322 "selection_controller.cc", | 371 "selection_controller.cc", |
323 "selection_controller.h", | |
324 "selection_controller_delegate.h", | |
325 "shadow_border.cc", | 372 "shadow_border.cc", |
326 "shadow_border.h", | |
327 "style/platform_style.cc", | 373 "style/platform_style.cc", |
328 "style/platform_style.h", | |
329 "style/platform_style_mac.mm", | 374 "style/platform_style_mac.mm", |
330 "style/typography.cc", | 375 "style/typography.cc", |
331 "style/typography.h", | |
332 "style/typography_provider.cc", | 376 "style/typography_provider.cc", |
333 "style/typography_provider.h", | |
334 "view.cc", | 377 "view.cc", |
335 "view.h", | |
336 "view_constants.cc", | 378 "view_constants.cc", |
337 "view_constants.h", | |
338 "view_model.cc", | 379 "view_model.cc", |
339 "view_model.h", | |
340 "view_model_utils.cc", | 380 "view_model_utils.cc", |
341 "view_model_utils.h", | |
342 "view_observer.h", | |
343 "view_properties.cc", | 381 "view_properties.cc", |
344 "view_properties.h", | |
345 "view_targeter.cc", | 382 "view_targeter.cc", |
346 "view_targeter.h", | |
347 "view_targeter_delegate.cc", | 383 "view_targeter_delegate.cc", |
348 "view_targeter_delegate.h", | |
349 "view_tracker.cc", | 384 "view_tracker.cc", |
350 "view_tracker.h", | |
351 "views_delegate.cc", | 385 "views_delegate.cc", |
352 "views_delegate.h", | |
353 "views_export.h", | |
354 "views_exports.cc", | 386 "views_exports.cc", |
355 "views_switches.cc", | 387 "views_switches.cc", |
356 "views_switches.h", | |
357 "views_touch_selection_controller_factory.h", | |
358 "views_touch_selection_controller_factory_mac.cc", | 388 "views_touch_selection_controller_factory_mac.cc", |
359 "widget/drop_helper.cc", | 389 "widget/drop_helper.cc", |
360 "widget/drop_helper.h", | |
361 "widget/native_widget.h", | |
362 "widget/native_widget_delegate.h", | |
363 "widget/native_widget_mac.h", | |
364 "widget/native_widget_mac.mm", | 390 "widget/native_widget_mac.mm", |
365 "widget/native_widget_private.h", | |
366 "widget/root_view.cc", | 391 "widget/root_view.cc", |
367 "widget/root_view.h", | |
368 "widget/root_view_targeter.cc", | 392 "widget/root_view_targeter.cc", |
369 "widget/root_view_targeter.h", | |
370 "widget/tooltip_manager.cc", | 393 "widget/tooltip_manager.cc", |
371 "widget/tooltip_manager.h", | |
372 "widget/widget.cc", | 394 "widget/widget.cc", |
373 "widget/widget.h", | |
374 "widget/widget_aura_utils.cc", | 395 "widget/widget_aura_utils.cc", |
375 "widget/widget_aura_utils.h", | |
376 "widget/widget_delegate.cc", | 396 "widget/widget_delegate.cc", |
377 "widget/widget_delegate.h", | |
378 "widget/widget_deletion_observer.cc", | 397 "widget/widget_deletion_observer.cc", |
379 "widget/widget_deletion_observer.h", | |
380 "widget/widget_observer.h", | |
381 "widget/widget_removals_observer.h", | |
382 "window/client_view.cc", | 398 "window/client_view.cc", |
383 "window/client_view.h", | |
384 "window/custom_frame_view.cc", | 399 "window/custom_frame_view.cc", |
385 "window/custom_frame_view.h", | |
386 "window/dialog_client_view.cc", | 400 "window/dialog_client_view.cc", |
387 "window/dialog_client_view.h", | |
388 "window/dialog_delegate.cc", | 401 "window/dialog_delegate.cc", |
389 "window/dialog_delegate.h", | |
390 "window/frame_background.cc", | 402 "window/frame_background.cc", |
391 "window/frame_background.h", | |
392 "window/frame_buttons.h", | |
393 "window/native_frame_view.cc", | 403 "window/native_frame_view.cc", |
394 "window/native_frame_view.h", | |
395 "window/non_client_view.cc", | 404 "window/non_client_view.cc", |
396 "window/non_client_view.h", | |
397 "window/window_button_order_provider.cc", | 405 "window/window_button_order_provider.cc", |
398 "window/window_button_order_provider.h", | |
399 "window/window_resources.h", | |
400 "window/window_shape.cc", | 406 "window/window_shape.cc", |
401 "window/window_shape.h", | |
402 "word_lookup_client.h", | |
403 ] | 407 ] |
404 | 408 |
409 # Internal sources. If a header in this list is used by another target under | |
410 # //ui/views:* the header can be listed again in that target's sources. See | |
411 # http://crbug/com/732993 for a possible build system feature to avoid the | |
412 # repetition. TODO(tapted): Move more headers from public into this list with | |
413 # the implementation file. | |
414 sources += [ | |
415 "controls/button/label_button_label.cc", | |
416 "controls/button/label_button_label.h", | |
417 ] | |
418 | |
405 sources += get_target_outputs(":views_vector_icons") | 419 sources += get_target_outputs(":views_vector_icons") |
406 | 420 |
407 configs += [ | 421 configs += [ |
408 "//build/config:precompiled_headers", | 422 "//build/config:precompiled_headers", |
409 | 423 |
410 # TODO(jschuh): crbug.com/167187 fix size_t to int truncations. | 424 # TODO(jschuh): crbug.com/167187 fix size_t to int truncations. |
411 "//build/config/compiler:no_size_t_to_int_warning", | 425 "//build/config/compiler:no_size_t_to_int_warning", |
412 ] | 426 ] |
413 | 427 |
414 defines = [ "VIEWS_IMPLEMENTATION" ] | 428 defines = [ "VIEWS_IMPLEMENTATION" ] |
415 | 429 |
416 deps = [ | 430 deps = [ |
417 ":views_vector_icons", | |
418 "//base:i18n", | 431 "//base:i18n", |
419 "//base/third_party/dynamic_annotations", | 432 "//base/third_party/dynamic_annotations", |
420 "//cc/paint", | 433 "//cc/paint", |
421 "//services/ui/public/interfaces", | 434 "//services/ui/public/interfaces", |
422 "//skia", | 435 "//skia", |
423 "//third_party/icu", | 436 "//third_party/icu", |
424 "//ui/accessibility", | 437 "//ui/accessibility", |
425 "//ui/display", | 438 "//ui/display", |
426 "//ui/native_theme", | 439 "//ui/native_theme", |
427 "//ui/native_theme:native_theme_browser", | 440 "//ui/native_theme:native_theme_browser", |
428 "//ui/resources", | 441 "//ui/resources", |
429 "//ui/strings", | 442 "//ui/strings", |
430 "//ui/views/resources", | 443 "//ui/views/resources", |
431 "//url", | 444 "//url", |
432 ] | 445 ] |
433 | 446 |
434 public_deps = [ | 447 public_deps = [ |
448 ":views_vector_icons", | |
tapted
2017/06/14 09:14:09
I had to move this.. but for generated headers thi
| |
435 "//base", | 449 "//base", |
436 "//ui/accessibility:ax_gen", | 450 "//ui/accessibility:ax_gen", |
437 "//ui/base", | 451 "//ui/base", |
438 "//ui/base/ime", | 452 "//ui/base/ime", |
439 "//ui/compositor", | 453 "//ui/compositor", |
440 "//ui/display", | 454 "//ui/display", |
441 "//ui/events", | 455 "//ui/events", |
442 "//ui/events:events_base", | 456 "//ui/events:events_base", |
443 "//ui/events/platform", | 457 "//ui/events/platform", |
444 "//ui/gfx", | 458 "//ui/gfx", |
445 "//ui/gfx/animation", | 459 "//ui/gfx/animation", |
446 "//ui/gfx/geometry", | 460 "//ui/gfx/geometry", |
447 "//ui/vector_icons", | 461 "//ui/vector_icons", |
448 "//ui/views/resources", | 462 "//ui/views/resources", |
449 ] | 463 ] |
450 | 464 |
451 if (use_x11 && !is_chromeos) { | 465 if (use_x11 && !is_chromeos) { |
452 deps += [ "//ui/display/util" ] | 466 deps += [ "//ui/display/util" ] |
453 } | 467 } |
454 if (is_linux && !is_chromeos) { | 468 if (is_linux && !is_chromeos) { |
455 sources -= [ "window/window_button_order_provider.cc" ] | 469 sources -= [ "window/window_button_order_provider.cc" ] |
456 deps += [ "//ui/shell_dialogs" ] | 470 deps += [ "//ui/shell_dialogs" ] |
457 } else { | 471 } else { |
472 public -= [ | |
473 "linux_ui/linux_ui.h", | |
474 "linux_ui/window_button_order_observer.h", | |
475 ] | |
tapted
2017/06/14 09:14:09
not sure whether it's necessary to maintain remova
| |
458 sources -= [ | 476 sources -= [ |
459 "linux_ui/linux_ui.cc", | 477 "linux_ui/linux_ui.cc", |
460 "linux_ui/linux_ui.h", | |
461 "linux_ui/window_button_order_observer.h", | |
462 "linux_ui/window_button_order_provider.cc", | 478 "linux_ui/window_button_order_provider.cc", |
463 ] | 479 ] |
464 } | 480 } |
465 | 481 |
466 if (is_chromeos) { | 482 if (is_chromeos) { |
483 public -= [ "linux_ui/status_icon_linux.h" ] | |
467 sources -= [ | 484 sources -= [ |
468 "controls/menu/menu_config_linux.cc", | 485 "controls/menu/menu_config_linux.cc", |
469 "linux_ui/status_icon_linux.cc", | 486 "linux_ui/status_icon_linux.cc", |
470 "linux_ui/status_icon_linux.h", | |
471 ] | 487 ] |
472 sources += [ "widget/desktop_aura/desktop_window_tree_host_chromeos.cc" ] | 488 sources += [ "widget/desktop_aura/desktop_window_tree_host_chromeos.cc" ] |
473 } | 489 } |
474 | 490 |
475 if (is_win) { | 491 if (is_win) { |
476 sources += [ | 492 public += [ |
477 "widget/widget_hwnd_utils.cc", | |
478 "widget/widget_hwnd_utils.h", | 493 "widget/widget_hwnd_utils.h", |
479 "win/fullscreen_handler.cc", | |
480 "win/fullscreen_handler.h", | 494 "win/fullscreen_handler.h", |
481 "win/hwnd_message_handler.cc", | |
482 "win/hwnd_message_handler.h", | 495 "win/hwnd_message_handler.h", |
483 "win/hwnd_message_handler_delegate.h", | 496 "win/hwnd_message_handler_delegate.h", |
484 "win/hwnd_util.h", | 497 "win/hwnd_util.h", |
498 "win/scoped_fullscreen_visibility.h", | |
499 "win/windows_session_change_observer.h", | |
500 ] | |
501 sources += [ | |
502 "widget/widget_hwnd_utils.cc", | |
503 "win/fullscreen_handler.cc", | |
504 "win/hwnd_message_handler.cc", | |
485 "win/hwnd_util_aurawin.cc", | 505 "win/hwnd_util_aurawin.cc", |
486 "win/scoped_fullscreen_visibility.cc", | 506 "win/scoped_fullscreen_visibility.cc", |
487 "win/scoped_fullscreen_visibility.h", | |
488 "win/windows_session_change_observer.cc", | 507 "win/windows_session_change_observer.cc", |
489 "win/windows_session_change_observer.h", | |
490 ] | 508 ] |
491 libs = [ | 509 libs = [ |
492 "dwmapi.lib", | 510 "dwmapi.lib", |
493 "imm32.lib", | 511 "imm32.lib", |
494 "oleacc.lib", | 512 "oleacc.lib", |
495 "wtsapi32.lib", | 513 "wtsapi32.lib", |
496 ] | 514 ] |
497 ldflags = [ "/DELAYLOAD:user32.dll" ] | 515 ldflags = [ "/DELAYLOAD:user32.dll" ] |
498 deps += [ | 516 deps += [ |
499 "//third_party/iaccessible2", | 517 "//third_party/iaccessible2", |
(...skipping 11 matching lines...) Expand all Loading... | |
511 ] | 529 ] |
512 deps += [ | 530 deps += [ |
513 "//ui/events/devices", | 531 "//ui/events/devices", |
514 "//ui/events/devices/x11", | 532 "//ui/events/devices/x11", |
515 "//ui/events/platform/x11", | 533 "//ui/events/platform/x11", |
516 "//ui/gfx/x", | 534 "//ui/gfx/x", |
517 ] | 535 ] |
518 } | 536 } |
519 | 537 |
520 if (use_aura) { | 538 if (use_aura) { |
539 public += [ | |
540 "accessibility/ax_aura_obj_cache.h", | |
541 "accessibility/ax_aura_obj_wrapper.h", | |
542 "accessibility/ax_view_obj_wrapper.h", | |
543 "accessibility/ax_widget_obj_wrapper.h", | |
544 "accessibility/ax_window_obj_wrapper.h", | |
545 "bubble/bubble_window_targeter.h", | |
546 "bubble/tray_bubble_view.h", | |
547 "controls/menu/menu_pre_target_handler.h", | |
548 "controls/native/native_view_host_aura.h", | |
549 "corewm/cursor_height_provider_win.h", | |
550 "corewm/tooltip.h", | |
551 "corewm/tooltip_aura.h", | |
552 "corewm/tooltip_controller.h", | |
553 "corewm/tooltip_win.h", | |
554 "event_monitor_aura.h", | |
555 "touchui/touch_selection_controller_impl.h", | |
556 "touchui/touch_selection_menu_runner_views.h", | |
557 "view_constants_aura.h", | |
558 "widget/desktop_aura/desktop_capture_client.h", | |
559 "widget/desktop_aura/desktop_drop_target_win.h", | |
560 "widget/desktop_aura/desktop_event_client.h", | |
561 "widget/desktop_aura/desktop_focus_rules.h", | |
562 "widget/desktop_aura/desktop_native_cursor_manager.h", | |
563 "widget/desktop_aura/desktop_native_widget_aura.h", | |
564 "widget/desktop_aura/desktop_screen.h", | |
565 "widget/desktop_aura/desktop_screen_position_client.h", | |
566 "widget/desktop_aura/desktop_window_tree_host.h", | |
567 "widget/focus_manager_event_handler.h", | |
568 "widget/native_widget_aura.h", | |
569 "widget/tooltip_manager_aura.h", | |
570 "widget/window_reorderer.h", | |
571 ] | |
521 sources += [ | 572 sources += [ |
522 "accessibility/ax_aura_obj_cache.cc", | 573 "accessibility/ax_aura_obj_cache.cc", |
523 "accessibility/ax_aura_obj_cache.h", | |
524 "accessibility/ax_aura_obj_wrapper.cc", | 574 "accessibility/ax_aura_obj_wrapper.cc", |
525 "accessibility/ax_aura_obj_wrapper.h", | |
526 "accessibility/ax_view_obj_wrapper.cc", | 575 "accessibility/ax_view_obj_wrapper.cc", |
527 "accessibility/ax_view_obj_wrapper.h", | |
528 "accessibility/ax_widget_obj_wrapper.cc", | 576 "accessibility/ax_widget_obj_wrapper.cc", |
529 "accessibility/ax_widget_obj_wrapper.h", | |
530 "accessibility/ax_window_obj_wrapper.cc", | 577 "accessibility/ax_window_obj_wrapper.cc", |
531 "accessibility/ax_window_obj_wrapper.h", | |
532 "bubble/bubble_window_targeter.cc", | 578 "bubble/bubble_window_targeter.cc", |
533 "bubble/bubble_window_targeter.h", | |
534 "bubble/tray_bubble_view.cc", | 579 "bubble/tray_bubble_view.cc", |
535 "bubble/tray_bubble_view.h", | |
536 "controls/menu/display_change_listener_aura.cc", | 580 "controls/menu/display_change_listener_aura.cc", |
537 "controls/menu/menu_pre_target_handler.cc", | 581 "controls/menu/menu_pre_target_handler.cc", |
538 "controls/menu/menu_pre_target_handler.h", | |
539 "controls/native/native_view_host_aura.cc", | 582 "controls/native/native_view_host_aura.cc", |
540 "controls/native/native_view_host_aura.h", | |
541 "corewm/cursor_height_provider_win.cc", | 583 "corewm/cursor_height_provider_win.cc", |
542 "corewm/cursor_height_provider_win.h", | |
543 "corewm/tooltip.h", | |
544 "corewm/tooltip_aura.cc", | 584 "corewm/tooltip_aura.cc", |
545 "corewm/tooltip_aura.h", | |
546 "corewm/tooltip_controller.cc", | 585 "corewm/tooltip_controller.cc", |
547 "corewm/tooltip_controller.h", | |
548 "corewm/tooltip_win.cc", | 586 "corewm/tooltip_win.cc", |
549 "corewm/tooltip_win.h", | |
550 "drag_utils_aura.cc", | 587 "drag_utils_aura.cc", |
551 "event_monitor_aura.cc", | 588 "event_monitor_aura.cc", |
552 "event_monitor_aura.h", | |
553 "metrics_aura.cc", | 589 "metrics_aura.cc", |
554 "native_cursor_aura.cc", | 590 "native_cursor_aura.cc", |
555 "touchui/touch_selection_controller_impl.cc", | 591 "touchui/touch_selection_controller_impl.cc", |
556 "touchui/touch_selection_controller_impl.h", | |
557 "touchui/touch_selection_menu_runner_views.cc", | 592 "touchui/touch_selection_menu_runner_views.cc", |
558 "touchui/touch_selection_menu_runner_views.h", | |
559 "view_constants_aura.cc", | 593 "view_constants_aura.cc", |
560 "view_constants_aura.h", | |
561 "views_touch_selection_controller_factory_aura.cc", | 594 "views_touch_selection_controller_factory_aura.cc", |
562 "widget/desktop_aura/desktop_capture_client.cc", | 595 "widget/desktop_aura/desktop_capture_client.cc", |
563 "widget/desktop_aura/desktop_capture_client.h", | |
564 "widget/desktop_aura/desktop_drop_target_win.cc", | 596 "widget/desktop_aura/desktop_drop_target_win.cc", |
565 "widget/desktop_aura/desktop_drop_target_win.h", | |
566 "widget/desktop_aura/desktop_event_client.cc", | 597 "widget/desktop_aura/desktop_event_client.cc", |
567 "widget/desktop_aura/desktop_event_client.h", | |
568 "widget/desktop_aura/desktop_focus_rules.cc", | 598 "widget/desktop_aura/desktop_focus_rules.cc", |
569 "widget/desktop_aura/desktop_focus_rules.h", | |
570 "widget/desktop_aura/desktop_native_cursor_manager.cc", | 599 "widget/desktop_aura/desktop_native_cursor_manager.cc", |
571 "widget/desktop_aura/desktop_native_cursor_manager.h", | |
572 "widget/desktop_aura/desktop_native_widget_aura.cc", | 600 "widget/desktop_aura/desktop_native_widget_aura.cc", |
573 "widget/desktop_aura/desktop_native_widget_aura.h", | |
574 "widget/desktop_aura/desktop_screen.h", | |
575 "widget/desktop_aura/desktop_screen_position_client.cc", | 601 "widget/desktop_aura/desktop_screen_position_client.cc", |
576 "widget/desktop_aura/desktop_screen_position_client.h", | |
577 "widget/desktop_aura/desktop_window_tree_host.h", | |
578 "widget/focus_manager_event_handler.cc", | 602 "widget/focus_manager_event_handler.cc", |
579 "widget/focus_manager_event_handler.h", | |
580 "widget/native_widget_aura.cc", | 603 "widget/native_widget_aura.cc", |
581 "widget/native_widget_aura.h", | |
582 "widget/tooltip_manager_aura.cc", | 604 "widget/tooltip_manager_aura.cc", |
583 "widget/tooltip_manager_aura.h", | |
584 "widget/window_reorderer.cc", | 605 "widget/window_reorderer.cc", |
585 "widget/window_reorderer.h", | |
586 ] | 606 ] |
587 deps += [ | 607 deps += [ |
588 "//services/ui/public/interfaces", | 608 "//services/ui/public/interfaces", |
589 "//ui/aura", | 609 "//ui/aura", |
590 "//ui/touch_selection", | 610 "//ui/touch_selection", |
591 "//ui/wm", | 611 "//ui/wm", |
592 "//ui/wm/public", | 612 "//ui/wm/public", |
593 ] | 613 ] |
594 if (!is_chromeos) { | 614 if (!is_chromeos) { |
595 if (use_x11) { | 615 if (use_x11) { |
596 sources += [ | 616 public += [ |
597 "widget/desktop_aura/desktop_drag_drop_client_aurax11.cc", | |
598 "widget/desktop_aura/desktop_drag_drop_client_aurax11.h", | 617 "widget/desktop_aura/desktop_drag_drop_client_aurax11.h", |
599 "widget/desktop_aura/desktop_screen_x11.cc", | |
600 "widget/desktop_aura/desktop_screen_x11.h", | 618 "widget/desktop_aura/desktop_screen_x11.h", |
601 "widget/desktop_aura/desktop_window_tree_host_observer_x11.h", | 619 "widget/desktop_aura/desktop_window_tree_host_observer_x11.h", |
602 "widget/desktop_aura/desktop_window_tree_host_x11.cc", | |
603 "widget/desktop_aura/desktop_window_tree_host_x11.h", | 620 "widget/desktop_aura/desktop_window_tree_host_x11.h", |
604 "widget/desktop_aura/x11_desktop_handler.cc", | |
605 "widget/desktop_aura/x11_desktop_handler.h", | 621 "widget/desktop_aura/x11_desktop_handler.h", |
606 "widget/desktop_aura/x11_desktop_handler_observer.h", | 622 "widget/desktop_aura/x11_desktop_handler_observer.h", |
607 "widget/desktop_aura/x11_desktop_window_move_client.cc", | |
608 "widget/desktop_aura/x11_desktop_window_move_client.h", | 623 "widget/desktop_aura/x11_desktop_window_move_client.h", |
609 "widget/desktop_aura/x11_move_loop.h", | 624 "widget/desktop_aura/x11_move_loop.h", |
610 "widget/desktop_aura/x11_move_loop_delegate.h", | 625 "widget/desktop_aura/x11_move_loop_delegate.h", |
626 "widget/desktop_aura/x11_pointer_grab.h", | |
627 "widget/desktop_aura/x11_topmost_window_finder.h", | |
628 "widget/desktop_aura/x11_whole_screen_move_loop.h", | |
629 "widget/desktop_aura/x11_window_event_filter.h", | |
630 ] | |
631 sources += [ | |
632 "widget/desktop_aura/desktop_drag_drop_client_aurax11.cc", | |
633 "widget/desktop_aura/desktop_screen_x11.cc", | |
634 "widget/desktop_aura/desktop_window_tree_host_x11.cc", | |
635 "widget/desktop_aura/x11_desktop_handler.cc", | |
636 "widget/desktop_aura/x11_desktop_window_move_client.cc", | |
611 "widget/desktop_aura/x11_pointer_grab.cc", | 637 "widget/desktop_aura/x11_pointer_grab.cc", |
612 "widget/desktop_aura/x11_pointer_grab.h", | |
613 "widget/desktop_aura/x11_topmost_window_finder.cc", | 638 "widget/desktop_aura/x11_topmost_window_finder.cc", |
614 "widget/desktop_aura/x11_topmost_window_finder.h", | |
615 "widget/desktop_aura/x11_whole_screen_move_loop.cc", | 639 "widget/desktop_aura/x11_whole_screen_move_loop.cc", |
616 "widget/desktop_aura/x11_whole_screen_move_loop.h", | |
617 "widget/desktop_aura/x11_window_event_filter.cc", | 640 "widget/desktop_aura/x11_window_event_filter.cc", |
618 "widget/desktop_aura/x11_window_event_filter.h", | |
619 ] | 641 ] |
620 if (use_atk) { | 642 if (use_atk) { |
621 sources += [ | 643 sources += [ |
622 "accessibility/native_view_accessibility_auralinux.cc", | 644 "accessibility/native_view_accessibility_auralinux.cc", |
623 "accessibility/native_view_accessibility_auralinux.h", | 645 "accessibility/native_view_accessibility_auralinux.h", |
624 ] | 646 ] |
625 configs += [ "//build/config/linux/atk" ] | 647 configs += [ "//build/config/linux/atk" ] |
626 } | 648 } |
627 } else if (is_win) { | 649 } else if (is_win) { |
628 sources += [ | 650 sources += [ |
(...skipping 22 matching lines...) Expand all Loading... | |
651 "AppKit.framework", | 673 "AppKit.framework", |
652 "CoreGraphics.framework", | 674 "CoreGraphics.framework", |
653 "Foundation.framework", | 675 "Foundation.framework", |
654 "QuartzCore.framework", # Required by bridged_native_widget.mm. | 676 "QuartzCore.framework", # Required by bridged_native_widget.mm. |
655 ] | 677 ] |
656 } | 678 } |
657 | 679 |
658 if (has_native_accessibility) { | 680 if (has_native_accessibility) { |
659 sources += [ | 681 sources += [ |
660 "accessibility/native_view_accessibility_base.cc", | 682 "accessibility/native_view_accessibility_base.cc", |
661 "accessibility/native_view_accessibility_base.h", | 683 "accessibility/native_view_accessibility_base.h", |
tapted
2017/06/14 09:14:09
If a section didn't raise a gn check I didn't spli
| |
662 "accessibility/native_view_accessibility_mac.h", | 684 "accessibility/native_view_accessibility_mac.h", |
663 "accessibility/native_view_accessibility_mac.mm", | 685 "accessibility/native_view_accessibility_mac.mm", |
664 "accessibility/native_view_accessibility_win.cc", | 686 "accessibility/native_view_accessibility_win.cc", |
665 "accessibility/native_view_accessibility_win.h", | 687 "accessibility/native_view_accessibility_win.h", |
666 ] | 688 ] |
667 } else { | 689 } else { |
668 sources += [ "accessibility/native_view_accessibility_stub.cc" ] | 690 sources += [ "accessibility/native_view_accessibility_stub.cc" ] |
669 } | 691 } |
670 } | 692 } |
671 | 693 |
(...skipping 157 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
829 ] | 851 ] |
830 sources = [ | 852 sources = [ |
831 "test/native_widget_factory_desktop.cc", | 853 "test/native_widget_factory_desktop.cc", |
832 ] | 854 ] |
833 } | 855 } |
834 | 856 |
835 # This target contains the unit tests that are shared between views_unittests | 857 # This target contains the unit tests that are shared between views_unittests |
836 # and views_mus_unittests. | 858 # and views_mus_unittests. |
837 source_set("views_unittests_sources") { | 859 source_set("views_unittests_sources") { |
838 testonly = true | 860 testonly = true |
861 | |
862 # Headers used in tests that appear in :views private sources list. Permits | |
863 # this target to act as a "friend" of :views. The build system doesn't | |
864 # currently have a way to represent this. See http://crbug.com/732993. | |
865 public = [ | |
866 "controls/button/label_button_label.h", | |
867 ] | |
868 if (has_native_accessibility) { | |
869 public += [ "accessibility/native_view_accessibility_base.h" ] | |
870 } | |
871 | |
839 sources = [ | 872 sources = [ |
840 "accessibility/native_view_accessibility_win_unittest.cc", | 873 "accessibility/native_view_accessibility_win_unittest.cc", |
841 "accessible_pane_view_unittest.cc", | 874 "accessible_pane_view_unittest.cc", |
842 "animation/bounds_animator_unittest.cc", | 875 "animation/bounds_animator_unittest.cc", |
843 "animation/flood_fill_ink_drop_ripple_unittest.cc", | 876 "animation/flood_fill_ink_drop_ripple_unittest.cc", |
844 "animation/ink_drop_highlight_unittest.cc", | 877 "animation/ink_drop_highlight_unittest.cc", |
845 "animation/ink_drop_host_view_unittest.cc", | 878 "animation/ink_drop_host_view_unittest.cc", |
846 "animation/ink_drop_impl_unittest.cc", | 879 "animation/ink_drop_impl_unittest.cc", |
847 "animation/ink_drop_ripple_unittest.cc", | 880 "animation/ink_drop_ripple_unittest.cc", |
848 "animation/ink_drop_unittest.cc", | 881 "animation/ink_drop_unittest.cc", |
849 "animation/square_ink_drop_ripple_unittest.cc", | 882 "animation/square_ink_drop_ripple_unittest.cc", |
850 "border_unittest.cc", | 883 "border_unittest.cc", |
851 "bubble/bubble_border_unittest.cc", | 884 "bubble/bubble_border_unittest.cc", |
852 "bubble/bubble_dialog_delegate_unittest.cc", | 885 "bubble/bubble_dialog_delegate_unittest.cc", |
853 "bubble/bubble_frame_view_unittest.cc", | 886 "bubble/bubble_frame_view_unittest.cc", |
854 "bubble/bubble_window_targeter_unittest.cc", | 887 "bubble/bubble_window_targeter_unittest.cc", |
855 "cocoa/bridged_native_widget_unittest.mm", | 888 "cocoa/bridged_native_widget_unittest.mm", |
856 "cocoa/cocoa_mouse_capture_unittest.mm", | 889 "cocoa/cocoa_mouse_capture_unittest.mm", |
857 "cocoa/drag_drop_client_mac_unittest.mm", | 890 "cocoa/drag_drop_client_mac_unittest.mm", |
858 "controls/button/blue_button_unittest.cc", | 891 "controls/button/blue_button_unittest.cc", |
859 "controls/button/custom_button_unittest.cc", | 892 "controls/button/custom_button_unittest.cc", |
860 "controls/button/image_button_factory_unittest.cc", | 893 "controls/button/image_button_factory_unittest.cc", |
861 "controls/button/image_button_unittest.cc", | 894 "controls/button/image_button_unittest.cc", |
895 "controls/button/label_button_label_unittest.cc", | |
862 "controls/button/label_button_unittest.cc", | 896 "controls/button/label_button_unittest.cc", |
863 "controls/button/menu_button_unittest.cc", | 897 "controls/button/menu_button_unittest.cc", |
864 "controls/button/toggle_button_unittest.cc", | 898 "controls/button/toggle_button_unittest.cc", |
865 "controls/combobox/combobox_unittest.cc", | 899 "controls/combobox/combobox_unittest.cc", |
866 "controls/label_unittest.cc", | 900 "controls/label_unittest.cc", |
867 "controls/menu/menu_controller_unittest.cc", | 901 "controls/menu/menu_controller_unittest.cc", |
868 "controls/menu/menu_item_view_unittest.cc", | 902 "controls/menu/menu_item_view_unittest.cc", |
869 "controls/menu/menu_model_adapter_unittest.cc", | 903 "controls/menu/menu_model_adapter_unittest.cc", |
870 "controls/menu/menu_runner_cocoa_unittest.mm", | 904 "controls/menu/menu_runner_cocoa_unittest.mm", |
871 "controls/menu/menu_runner_unittest.cc", | 905 "controls/menu/menu_runner_unittest.cc", |
(...skipping 39 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
911 "window/dialog_client_view_unittest.cc", | 945 "window/dialog_client_view_unittest.cc", |
912 "window/dialog_delegate_unittest.cc", | 946 "window/dialog_delegate_unittest.cc", |
913 ] | 947 ] |
914 | 948 |
915 configs += [ "//build/config:precompiled_headers" ] | 949 configs += [ "//build/config:precompiled_headers" ] |
916 | 950 |
917 # Make all deps in this target public so both views_unittests and | 951 # Make all deps in this target public so both views_unittests and |
918 # views_mus_unittests will get them. | 952 # views_mus_unittests will get them. |
919 public_deps = [ | 953 public_deps = [ |
920 ":test_support", | 954 ":test_support", |
955 ":views", | |
921 "//base", | 956 "//base", |
922 "//base:i18n", | 957 "//base:i18n", |
923 "//base/test:test_support", | 958 "//base/test:test_support", |
924 "//cc", | 959 "//cc", |
925 "//cc/paint", | 960 "//cc/paint", |
926 "//services/ui/public/interfaces", | 961 "//services/ui/public/interfaces", |
927 "//skia", | 962 "//skia", |
928 "//testing/gtest", | 963 "//testing/gtest", |
929 "//third_party/icu", | 964 "//third_party/icu", |
930 "//ui/accessibility", | 965 "//ui/accessibility", |
(...skipping 145 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
1076 "//ui/base:test_support", | 1111 "//ui/base:test_support", |
1077 "//ui/compositor", | 1112 "//ui/compositor", |
1078 "//ui/events:test_support", | 1113 "//ui/events:test_support", |
1079 "//ui/gl:test_support", | 1114 "//ui/gl:test_support", |
1080 "//ui/resources", | 1115 "//ui/resources", |
1081 "//ui/resources:ui_test_pak", | 1116 "//ui/resources:ui_test_pak", |
1082 "//ui/strings", | 1117 "//ui/strings", |
1083 ] | 1118 ] |
1084 } | 1119 } |
1085 } | 1120 } |
OLD | NEW |