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