summaryrefslogtreecommitdiffstats
path: root/views/widget/widget_win.h
diff options
context:
space:
mode:
Diffstat (limited to 'views/widget/widget_win.h')
-rw-r--r--views/widget/widget_win.h8
1 files changed, 3 insertions, 5 deletions
diff --git a/views/widget/widget_win.h b/views/widget/widget_win.h
index b39362f..d948e66 100644
--- a/views/widget/widget_win.h
+++ b/views/widget/widget_win.h
@@ -6,9 +6,7 @@
#define VIEWS_WIDGET_WIDGET_WIN_H_
#include <atlbase.h>
-#include <atlapp.h>
#include <atlcrack.h>
-#include <atlmisc.h>
#include "base/message_loop.h"
#include "base/system_monitor.h"
@@ -38,7 +36,7 @@ RootView* GetRootViewForHWND(HWND hwnd);
// uMsg - kReflectedMessage
// wParam - Should be 0
// lParam - Pointer to MSG struct containing the original message.
-const int kReflectedMessage = WM_APP + 3;
+static 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.
@@ -48,8 +46,8 @@ const int kReflectedMessage = WM_APP + 3;
// window and paint the standard caption/title over the top of the custom one.
// So we need to handle these messages in CustomFrameWindow to prevent this
// from happening.
-const int WM_NCUAHDRAWCAPTION = 0xAE;
-const int WM_NCUAHDRAWFRAME = 0xAF;
+static const int WM_NCUAHDRAWCAPTION = 0xAE;
+static const int WM_NCUAHDRAWFRAME = 0xAF;
///////////////////////////////////////////////////////////////////////////////
//