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

Unified Diff: views/widget/widget_win.cc

Issue 6019007: Remove win_util::FormatMessage and FormatLastWin32Error. These were only used... (Closed) Base URL: svn://chrome-svn/chrome/trunk/src/
Patch Set: '' Created 10 years 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 | « views/widget/widget_win.h ('k') | views/window/window_win.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: views/widget/widget_win.cc
===================================================================
--- views/widget/widget_win.cc (revision 70263)
+++ views/widget/widget_win.cc (working copy)
@@ -8,9 +8,9 @@
#include "app/l10n_util_win.h"
#include "app/system_monitor.h"
#include "app/view_prop.h"
+#include "app/win/hwnd_util.h"
#include "app/win_util.h"
#include "base/string_util.h"
-#include "base/win_util.h"
#include "gfx/canvas_skia.h"
#include "gfx/native_theme_win.h"
#include "gfx/path.h"
@@ -78,7 +78,7 @@
// WindowImpl).
if (!WindowImpl::IsWindowImpl(hwnd))
return NULL;
- return reinterpret_cast<WidgetWin*>(win_util::GetWindowUserData(hwnd));
+ return reinterpret_cast<WidgetWin*>(app::win::GetWindowUserData(hwnd));
}
// static
@@ -1105,7 +1105,7 @@
HWND parent = hwnd;
while (parent) {
WidgetWin* widget =
- reinterpret_cast<WidgetWin*>(win_util::GetWindowUserData(parent));
+ reinterpret_cast<WidgetWin*>(app::win::GetWindowUserData(parent));
if (widget && widget->is_window_)
return static_cast<WindowWin*>(widget);
parent = ::GetParent(parent);
« no previous file with comments | « views/widget/widget_win.h ('k') | views/window/window_win.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698