Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(102)

Side by Side Diff: views/views.gyp

Issue 3704005: Hijack mouse-related events for TOUCH_UI builds (Closed) Base URL: http://src.chromium.org/git/chromium.git
Patch Set: Refactoring to accomodate both Gtk and X11 easily Created 10 years, 2 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
« no previous file with comments | « views/touchui/touch_event_dispatcher_gtk.cc ('k') | views/widget/widget_gtk.h » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 # Copyright (c) 2010 The Chromium Authors. All rights reserved. 1 # Copyright (c) 2010 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 { 5 {
6 'variables': { 6 'variables': {
7 'chromium_code': 1, 7 'chromium_code': 1,
8 }, 8 },
9 'target_defaults': { 9 'target_defaults': {
10 'sources/': [ 10 'sources/': [
(...skipping 15 matching lines...) Expand all
26 ['exclude', '\\.mm?$'], 26 ['exclude', '\\.mm?$'],
27 ], 27 ],
28 }], 28 }],
29 ['OS=="win"', {'sources/': [ 29 ['OS=="win"', {'sources/': [
30 ['include', '_(win)\\.cc$'], 30 ['include', '_(win)\\.cc$'],
31 ['include', '/win/'], 31 ['include', '/win/'],
32 ['include', '/win_[^/]*\\.cc$'], 32 ['include', '/win_[^/]*\\.cc$'],
33 ]}], 33 ]}],
34 ['touchui==0', {'sources/': [ 34 ['touchui==0', {'sources/': [
35 ['exclude', 'touchui/'], 35 ['exclude', 'touchui/'],
36 ['exclude', '_(touch)\\.cc$'],
36 ]}], 37 ]}],
37 ], 38 ],
38 }, 39 },
39 'targets': [ 40 'targets': [
40 { 41 {
41 'target_name': 'views', 42 'target_name': 'views',
42 'type': '<(library)', 43 'type': '<(library)',
43 'msvs_guid': '6F9258E5-294F-47B2-919D-17FFE7A8B751', 44 'msvs_guid': '6F9258E5-294F-47B2-919D-17FFE7A8B751',
44 'dependencies': [ 45 'dependencies': [
45 '../app/app.gyp:app_base', 46 '../app/app.gyp:app_base',
(...skipping 185 matching lines...) Expand 10 before | Expand all | Expand 10 after
231 'drag_utils_gtk.cc', 232 'drag_utils_gtk.cc',
232 'drag_utils_win.cc', 233 'drag_utils_win.cc',
233 'event.cc', 234 'event.cc',
234 'event.h', 235 'event.h',
235 'event_gtk.cc', 236 'event_gtk.cc',
236 'event_win.cc', 237 'event_win.cc',
237 'fill_layout.cc', 238 'fill_layout.cc',
238 'fill_layout.h', 239 'fill_layout.h',
239 'focus/accelerator_handler.h', 240 'focus/accelerator_handler.h',
240 'focus/accelerator_handler_gtk.cc', 241 'focus/accelerator_handler_gtk.cc',
242 'focus/accelerator_handler_touch.cc',
241 'focus/accelerator_handler_win.cc', 243 'focus/accelerator_handler_win.cc',
242 'focus/external_focus_tracker.cc', 244 'focus/external_focus_tracker.cc',
243 'focus/external_focus_tracker.h', 245 'focus/external_focus_tracker.h',
244 'focus/focus_manager_gtk.cc', 246 'focus/focus_manager_gtk.cc',
245 'focus/focus_manager_win.cc', 247 'focus/focus_manager_win.cc',
246 'focus/focus_manager.cc', 248 'focus/focus_manager.cc',
247 'focus/focus_manager.h', 249 'focus/focus_manager.h',
248 'focus/focus_search.cc', 250 'focus/focus_search.cc',
249 'focus/focus_search.h', 251 'focus/focus_search.h',
250 'focus/focus_util_win.cc', 252 'focus/focus_util_win.cc',
251 'focus/focus_util_win.h', 253 'focus/focus_util_win.h',
252 'focus/view_storage.cc', 254 'focus/view_storage.cc',
253 'focus/view_storage.h', 255 'focus/view_storage.h',
254 'grid_layout.cc', 256 'grid_layout.cc',
255 'grid_layout.h', 257 'grid_layout.h',
256 'layout_manager.cc', 258 'layout_manager.cc',
257 'layout_manager.h', 259 'layout_manager.h',
258 'mouse_watcher.cc', 260 'mouse_watcher.cc',
259 'mouse_watcher.h', 261 'mouse_watcher.h',
260 'painter.cc', 262 'painter.cc',
261 'painter.h', 263 'painter.h',
262 'repeat_controller.cc', 264 'repeat_controller.cc',
263 'repeat_controller.h', 265 'repeat_controller.h',
264 'screen.h', 266 'screen.h',
265 'screen_gtk.cc', 267 'screen_gtk.cc',
266 'screen_win.cc', 268 'screen_win.cc',
267 'standard_layout.h', 269 'standard_layout.h',
270 'touchui/gesture_manager.cc',
268 'touchui/gesture_manager.h', 271 'touchui/gesture_manager.h',
269 'touchui/gesture_manager.cc', 272 'touchui/touch_event_dispatcher_gtk.cc',
273 'touchui/touch_event_dispatcher_gtk.h',
270 'view.cc', 274 'view.cc',
271 'view.h', 275 'view.h',
272 'view_constants.cc', 276 'view_constants.cc',
273 'view_constants.h', 277 'view_constants.h',
274 'view_gtk.cc', 278 'view_gtk.cc',
275 'view_text_utils.cc', 279 'view_text_utils.cc',
276 'view_text_utils.h', 280 'view_text_utils.h',
277 'view_win.cc', 281 'view_win.cc',
278 'views_delegate.h', 282 'views_delegate.h',
279 'widget/aero_tooltip_manager.cc', 283 'widget/aero_tooltip_manager.cc',
(...skipping 81 matching lines...) Expand 10 before | Expand all | Expand 10 after
361 'resize_corner.cc', 365 'resize_corner.cc',
362 'widget/aero_tooltip_manager.cc', 366 'widget/aero_tooltip_manager.cc',
363 'widget/root_view_drop_target.cc', 367 'widget/root_view_drop_target.cc',
364 'window/hit_test.cc', 368 'window/hit_test.cc',
365 'window/native_frame_view.cc', 369 'window/native_frame_view.cc',
366 'widget/widget_win.cc', 370 'widget/widget_win.cc',
367 ], 371 ],
368 }], 372 }],
369 ['touchui==1', { 373 ['touchui==1', {
370 'defines': ['TOUCH_UI=1'], 374 'defines': ['TOUCH_UI=1'],
375 'sources/': [
376 ['exclude', 'focus/accelerator_handler_gtk.cc'],
377 ],
371 }], 378 }],
372 ['OS=="win"', { 379 ['OS=="win"', {
373 'sources!': [ 380 'sources!': [
374 'controls/slider/slider.cc', 381 'controls/slider/slider.cc',
375 'controls/slider/slider.h', 382 'controls/slider/slider.h',
376 'controls/slider/native_slider_wrapper.h', 383 'controls/slider/native_slider_wrapper.h',
377 ], 384 ],
378 'include_dirs': [ 385 'include_dirs': [
379 '<(DEPTH)/third_party/wtl/include', 386 '<(DEPTH)/third_party/wtl/include',
380 ], 387 ],
(...skipping 130 matching lines...) Expand 10 before | Expand all | Expand 10 after
511 ], 518 ],
512 }, 519 },
513 ], 520 ],
514 } 521 }
515 522
516 # Local Variables: 523 # Local Variables:
517 # tab-width:2 524 # tab-width:2
518 # indent-tabs-mode:nil 525 # indent-tabs-mode:nil
519 # End: 526 # End:
520 # vim: set expandtab tabstop=2 shiftwidth=2: 527 # vim: set expandtab tabstop=2 shiftwidth=2:
OLDNEW
« no previous file with comments | « views/touchui/touch_event_dispatcher_gtk.cc ('k') | views/widget/widget_gtk.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698