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

Side by Side Diff: ui/views/views.gyp

Issue 10256008: Adds a class that makes it easy to subclass a HWND and filter messages sent to it. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src/
Patch Set: Created 8 years, 7 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 | Annotate | Revision Log
« no previous file with comments | « no previous file | ui/views/widget/hwnd_subclass.h » ('j') | ui/views/widget/hwnd_subclass.cc » ('J')
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 # Copyright (c) 2012 The Chromium Authors. All rights reserved. 1 # Copyright (c) 2012 The Chromium Authors. All rights reserved.
2 # Use of this source code is governed by a BSD-style license that can be 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 'variables': { 5 'variables': {
6 'chromium_code': 1, 6 'chromium_code': 1,
7 }, 7 },
8 8
9 'target_defaults': { 9 'target_defaults': {
10 'conditions': [ 10 'conditions': [
(...skipping 304 matching lines...) Expand 10 before | Expand all | Expand 10 after
315 'widget/child_window_message_processor.cc', 315 'widget/child_window_message_processor.cc',
316 'widget/child_window_message_processor.h', 316 'widget/child_window_message_processor.h',
317 'widget/default_theme_provider.cc', 317 'widget/default_theme_provider.cc',
318 'widget/default_theme_provider.h', 318 'widget/default_theme_provider.h',
319 'widget/desktop_native_widget_helper_aura.cc', 319 'widget/desktop_native_widget_helper_aura.cc',
320 'widget/desktop_native_widget_helper_aura.h', 320 'widget/desktop_native_widget_helper_aura.h',
321 'widget/drop_helper.cc', 321 'widget/drop_helper.cc',
322 'widget/drop_helper.h', 322 'widget/drop_helper.h',
323 'widget/drop_target_win.cc', 323 'widget/drop_target_win.cc',
324 'widget/drop_target_win.h', 324 'widget/drop_target_win.h',
325 'widget/hwnd_subclass.cc',
326 'widget/hwnd_subclass.h',
325 'widget/root_view.cc', 327 'widget/root_view.cc',
326 'widget/root_view.h', 328 'widget/root_view.h',
327 'widget/tooltip_manager_aura.cc', 329 'widget/tooltip_manager_aura.cc',
328 'widget/tooltip_manager_aura.h', 330 'widget/tooltip_manager_aura.h',
329 'widget/tooltip_manager_win.cc', 331 'widget/tooltip_manager_win.cc',
330 'widget/tooltip_manager_win.h', 332 'widget/tooltip_manager_win.h',
331 'widget/tooltip_manager.cc', 333 'widget/tooltip_manager.cc',
332 'widget/tooltip_manager.h', 334 'widget/tooltip_manager.h',
333 'widget/monitor_win.cc', 335 'widget/monitor_win.cc',
334 'widget/monitor_win.h', 336 'widget/monitor_win.h',
(...skipping 84 matching lines...) Expand 10 before | Expand all | Expand 10 after
419 ], 421 ],
420 }], 422 }],
421 ['OS=="win"', { 423 ['OS=="win"', {
422 'dependencies': [ 424 'dependencies': [
423 # For accessibility 425 # For accessibility
424 '../../third_party/iaccessible2/iaccessible2.gyp:iaccessible2', 426 '../../third_party/iaccessible2/iaccessible2.gyp:iaccessible2',
425 ], 427 ],
426 'include_dirs': [ 428 'include_dirs': [
427 '../../third_party/wtl/include', 429 '../../third_party/wtl/include',
428 ], 430 ],
431 }, { # OS!="win"
432 'sources!': [
433 'widget/hwnd_subclass.cc',
434 'widget/hwnd_subclass.h',
435 ],
429 }], 436 }],
430 ['use_x11==0', { 437 ['use_x11==0', {
431 'sources!': [ 438 'sources!': [
432 'events/event_x.cc', 439 'events/event_x.cc',
433 ], 440 ],
434 }], 441 }],
435 ], 442 ],
436 }, # target_name: views 443 }, # target_name: views
437 { 444 {
438 'target_name': 'views_unittests', 445 'target_name': 'views_unittests',
(...skipping 50 matching lines...) Expand 10 before | Expand all | Expand 10 after
489 'layout/box_layout_unittest.cc', 496 'layout/box_layout_unittest.cc',
490 'layout/grid_layout_unittest.cc', 497 'layout/grid_layout_unittest.cc',
491 'test/test_tooltip_client.h', 498 'test/test_tooltip_client.h',
492 'test/test_views_delegate.cc', 499 'test/test_views_delegate.cc',
493 'test/test_views_delegate.h', 500 'test/test_views_delegate.h',
494 'test/views_test_base.cc', 501 'test/views_test_base.cc',
495 'test/views_test_base.h', 502 'test/views_test_base.h',
496 'view_model_unittest.cc', 503 'view_model_unittest.cc',
497 'view_model_utils_unittest.cc', 504 'view_model_utils_unittest.cc',
498 'view_unittest.cc', 505 'view_unittest.cc',
506 'widget/hwnd_subclass_unittest.cc',
499 'widget/native_widget_aura_unittest.cc', 507 'widget/native_widget_aura_unittest.cc',
500 'widget/native_widget_test_utils.h', 508 'widget/native_widget_test_utils.h',
501 'widget/native_widget_test_utils_aura.cc', 509 'widget/native_widget_test_utils_aura.cc',
502 'widget/native_widget_test_utils_win.cc', 510 'widget/native_widget_test_utils_win.cc',
503 'widget/native_widget_unittest.cc', 511 'widget/native_widget_unittest.cc',
504 'widget/native_widget_win_unittest.cc', 512 'widget/native_widget_win_unittest.cc',
505 'widget/widget_unittest.cc', 513 'widget/widget_unittest.cc',
506 'run_all_unittests.cc', 514 'run_all_unittests.cc',
507 515
508 '<(SHARED_INTERMEDIATE_DIR)/ui/gfx/gfx_resources.rc', 516 '<(SHARED_INTERMEDIATE_DIR)/ui/gfx/gfx_resources.rc',
509 '<(SHARED_INTERMEDIATE_DIR)/ui/ui_resources/ui_resources.rc', 517 '<(SHARED_INTERMEDIATE_DIR)/ui/ui_resources/ui_resources.rc',
510 '<(SHARED_INTERMEDIATE_DIR)/ui/ui_resources_standard/ui_resources_standa rd.rc', 518 '<(SHARED_INTERMEDIATE_DIR)/ui/ui_resources_standard/ui_resources_standa rd.rc',
511 ], 519 ],
512 'conditions': [ 520 'conditions': [
513 ['OS=="win"', { 521 ['OS=="win"', {
514 'link_settings': { 522 'link_settings': {
515 'libraries': [ 523 'libraries': [
516 '-limm32.lib', 524 '-limm32.lib',
517 '-loleacc.lib', 525 '-loleacc.lib',
518 ] 526 ]
519 }, 527 },
520 'include_dirs': [ 528 'include_dirs': [
521 '../third_party/wtl/include', 529 '../third_party/wtl/include',
522 ], 530 ],
531 }, { # OS!="win"
532 'sources!': [
533 'widget/hwnd_subclass_unittest.cc',
534 ],
523 }], 535 }],
524 ['use_aura==0 and OS=="win"', { 536 ['use_aura==0 and OS=="win"', {
525 'sources/': [ 537 'sources/': [
526 ['exclude', 'controls/combobox/native_combobox_views_unittest.cc'], 538 ['exclude', 'controls/combobox/native_combobox_views_unittest.cc'],
527 ['exclude', 'controls/textfield/native_textfield_views_unittest.cc'] , 539 ['exclude', 'controls/textfield/native_textfield_views_unittest.cc'] ,
528 ['exclude', 'controls/tree/tree_view_views_unittest.cc'], 540 ['exclude', 'controls/tree/tree_view_views_unittest.cc'],
529 ], 541 ],
530 }], 542 }],
531 [ 'use_aura==1', { 543 [ 'use_aura==1', {
532 'dependencies': [ 544 'dependencies': [
(...skipping 163 matching lines...) Expand 10 before | Expand all | Expand 10 after
696 'sources/': [ 708 'sources/': [
697 # This is needed because the aura rule strips it from the default 709 # This is needed because the aura rule strips it from the default
698 # sources list. 710 # sources list.
699 ['include', '^../../content/app/startup_helper_win.cc'], 711 ['include', '^../../content/app/startup_helper_win.cc'],
700 ], 712 ],
701 }], 713 }],
702 ], 714 ],
703 }, # target_name: views_examples_lib 715 }, # target_name: views_examples_lib
704 ], 716 ],
705 } 717 }
OLDNEW
« no previous file with comments | « no previous file | ui/views/widget/hwnd_subclass.h » ('j') | ui/views/widget/hwnd_subclass.cc » ('J')

Powered by Google App Engine
This is Rietveld 408576698