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

Unified 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, 8 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 side-by-side diff with in-line comments
Download patch
« no previous file with comments | « no previous file | ui/views/widget/hwnd_subclass.h » ('j') | ui/views/widget/hwnd_subclass.cc » ('J')
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ui/views/views.gyp
===================================================================
--- ui/views/views.gyp (revision 134136)
+++ ui/views/views.gyp (working copy)
@@ -322,6 +322,8 @@
'widget/drop_helper.h',
'widget/drop_target_win.cc',
'widget/drop_target_win.h',
+ 'widget/hwnd_subclass.cc',
+ 'widget/hwnd_subclass.h',
'widget/root_view.cc',
'widget/root_view.h',
'widget/tooltip_manager_aura.cc',
@@ -426,6 +428,11 @@
'include_dirs': [
'../../third_party/wtl/include',
],
+ }, { # OS!="win"
+ 'sources!': [
+ 'widget/hwnd_subclass.cc',
+ 'widget/hwnd_subclass.h',
+ ],
}],
['use_x11==0', {
'sources!': [
@@ -496,6 +503,7 @@
'view_model_unittest.cc',
'view_model_utils_unittest.cc',
'view_unittest.cc',
+ 'widget/hwnd_subclass_unittest.cc',
'widget/native_widget_aura_unittest.cc',
'widget/native_widget_test_utils.h',
'widget/native_widget_test_utils_aura.cc',
@@ -520,6 +528,10 @@
'include_dirs': [
'../third_party/wtl/include',
],
+ }, { # OS!="win"
+ 'sources!': [
+ 'widget/hwnd_subclass_unittest.cc',
+ ],
}],
['use_aura==0 and OS=="win"', {
'sources/': [
« 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