summaryrefslogtreecommitdiffstats
path: root/views/window
diff options
context:
space:
mode:
authorbrettw@google.com <brettw@google.com@0039d316-1c4b-4281-b951-d872f2087c98>2010-12-30 15:38:47 +0000
committerbrettw@google.com <brettw@google.com@0039d316-1c4b-4281-b951-d872f2087c98>2010-12-30 15:38:47 +0000
commitfff369b8be4e7df5af4f9c2cedd29234248fd35b (patch)
tree4e6494c94c2cb379273ab1beab20c0c142485601 /views/window
parentc376c45bd9f166acbdc776c640161d7fbd5956a4 (diff)
downloadchromium_src-fff369b8be4e7df5af4f9c2cedd29234248fd35b.zip
chromium_src-fff369b8be4e7df5af4f9c2cedd29234248fd35b.tar.gz
chromium_src-fff369b8be4e7df5af4f9c2cedd29234248fd35b.tar.bz2
Remove win_util::FormatMessage and FormatLastWin32Error. These were only used in a couple of diagnostic places and one can always use the "Error Lookup" utility.
Move window HWND-specific functions from base/win_util.h to a new file app/win/hwnd_util.h. I plan to put some more stuff from app/win_util into this file as well. Move gfx/window_impl.h into app/win TEST=it compiles BUG=none Review URL: http://codereview.chromium.org/6019007 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@70312 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'views/window')
-rw-r--r--views/window/window_win.cc4
1 files changed, 2 insertions, 2 deletions
diff --git a/views/window/window_win.cc b/views/window/window_win.cc
index 5cf09bb..1f525e9 100644
--- a/views/window/window_win.cc
+++ b/views/window/window_win.cc
@@ -9,9 +9,9 @@
#include "app/keyboard_code_conversion_win.h"
#include "app/theme_provider.h"
+#include "app/win/hwnd_util.h"
#include "app/win_util.h"
#include "base/i18n/rtl.h"
-#include "base/win_util.h"
#include "base/win/windows_version.h"
#include "gfx/canvas_skia_paint.h"
#include "gfx/font.h"
@@ -546,7 +546,7 @@ void WindowWin::Init(HWND parent, const gfx::Rect& bounds) {
set_window_ex_style(CalculateWindowExStyle());
WidgetWin::Init(parent, bounds);
- win_util::SetWindowUserData(GetNativeView(), this);
+ app::win::SetWindowUserData(GetNativeView(), this);
// Create the ClientView, add it to the NonClientView and add the
// NonClientView to the RootView. This will cause everything to be parented.