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

Unified Diff: views/widget/widget_win.cc

Issue 6254011: Move UI-relevant Windows files to ui/base. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src/
Patch Set: '' Created 9 years, 11 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 | « 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 71828)
+++ views/widget/widget_win.cc (working copy)
@@ -6,7 +6,6 @@
#include "app/l10n_util_win.h"
#include "app/view_prop.h"
-#include "app/win/hwnd_util.h"
#include "app/win/win_util.h"
#include "base/string_util.h"
#include "gfx/canvas_skia.h"
@@ -14,6 +13,7 @@
#include "gfx/path.h"
#include "ui/base/keycodes/keyboard_code_conversion_win.h"
#include "ui/base/system_monitor/system_monitor.h"
+#include "ui/base/win/hwnd_util.h"
#include "views/accessibility/view_accessibility.h"
#include "views/controls/native_control_win.h"
#include "views/focus/focus_util_win.h"
@@ -78,7 +78,7 @@
// WindowImpl).
if (!WindowImpl::IsWindowImpl(hwnd))
return NULL;
- return reinterpret_cast<WidgetWin*>(app::win::GetWindowUserData(hwnd));
+ return reinterpret_cast<WidgetWin*>(ui::GetWindowUserData(hwnd));
}
// static
@@ -1110,7 +1110,7 @@
HWND parent = hwnd;
while (parent) {
WidgetWin* widget =
- reinterpret_cast<WidgetWin*>(app::win::GetWindowUserData(parent));
+ reinterpret_cast<WidgetWin*>(ui::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