summaryrefslogtreecommitdiffstats
path: root/views
diff options
context:
space:
mode:
authorjam@chromium.org <jam@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2011-08-26 16:41:47 +0000
committerjam@chromium.org <jam@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2011-08-26 16:41:47 +0000
commit2e5257e256f24e009fd5a0c20ad0730a33da7f65 (patch)
tree1eaa3f0c08e3a05dc2ef46a8ba05040e31d3fdef /views
parent6093d7478e0889fc079b7dd8fb840e9786e8e9cc (diff)
downloadchromium_src-2e5257e256f24e009fd5a0c20ad0730a33da7f65.zip
chromium_src-2e5257e256f24e009fd5a0c20ad0730a33da7f65.tar.gz
chromium_src-2e5257e256f24e009fd5a0c20ad0730a33da7f65.tar.bz2
Remove some views depenencies from RenderWidgetHostViewWin.
Review URL: http://codereview.chromium.org/7753021 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@98431 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'views')
-rw-r--r--views/widget/native_widget_win.h11
1 files changed, 2 insertions, 9 deletions
diff --git a/views/widget/native_widget_win.h b/views/widget/native_widget_win.h
index 9aef85d..c29d354 100644
--- a/views/widget/native_widget_win.h
+++ b/views/widget/native_widget_win.h
@@ -19,6 +19,7 @@
#include "base/memory/scoped_vector.h"
#include "base/message_loop.h"
#include "base/win/scoped_comptr.h"
+#include "base/win/win_util.h"
#include "ui/base/win/window_impl.h"
#include "views/focus/focus_manager.h"
#include "views/layout/layout_manager.h"
@@ -52,14 +53,6 @@ VIEWS_EXPORT void EnsureRectIsVisibleInRect(const gfx::Rect& parent_rect,
int padding);
} // namespace internal
-// A Windows message reflected from other windows. This message is sent
-// with the following arguments:
-// hWnd - Target window
-// uMsg - kReflectedMessage
-// wParam - Should be 0
-// lParam - Pointer to MSG struct containing the original message.
-const int kReflectedMessage = WM_APP + 3;
-
// These two messages aren't defined in winuser.h, but they are sent to windows
// with captions. They appear to paint the window caption and frame.
// Unfortunately if you override the standard non-client rendering as we do
@@ -296,7 +289,7 @@ class VIEWS_EXPORT NativeWidgetWin : public ui::WindowImpl,
MESSAGE_RANGE_HANDLER_EX(WM_NCMOUSEMOVE, WM_NCXBUTTONDBLCLK, OnMouseRange)
// Reflected message handler
- MESSAGE_HANDLER_EX(kReflectedMessage, OnReflectedMessage)
+ MESSAGE_HANDLER_EX(base::win::kReflectedMessage, OnReflectedMessage)
// CustomFrameWindow hacks
MESSAGE_HANDLER_EX(WM_NCUAHDRAWCAPTION, OnNCUAHDrawCaption)