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

Unified Diff: webkit/tools/test_shell/webwidget_host_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 | « webkit/tools/test_shell/webview_host_win.cc ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: webkit/tools/test_shell/webwidget_host_win.cc
===================================================================
--- webkit/tools/test_shell/webwidget_host_win.cc (revision 71828)
+++ webkit/tools/test_shell/webwidget_host_win.cc (working copy)
@@ -4,7 +4,6 @@
#include "webkit/tools/test_shell/webwidget_host.h"
-#include "app/win/hwnd_util.h"
#include "base/logging.h"
#include "gfx/rect.h"
#include "skia/ext/platform_canvas.h"
@@ -14,6 +13,7 @@
#include "third_party/WebKit/Source/WebKit/chromium/public/WebSize.h"
#include "third_party/WebKit/Source/WebKit/chromium/public/win/WebInputEventFactory.h"
#include "third_party/WebKit/Source/WebKit/chromium/public/win/WebScreenInfoFactory.h"
+#include "ui/base/win/hwnd_util.h"
#include "webkit/tools/test_shell/test_shell.h"
using WebKit::WebInputEvent;
@@ -52,7 +52,7 @@
kWindowClassName, kWindowClassName, WS_POPUP,
0, 0, 0, 0,
parent_view, NULL, GetModuleHandle(NULL), NULL);
- app::win::SetWindowUserData(host->view_, host);
+ ui::SetWindowUserData(host->view_, host);
host->webwidget_ = WebPopupMenu::create(client);
@@ -60,7 +60,7 @@
}
static WebWidgetHost* FromWindow(HWND view) {
- return reinterpret_cast<WebWidgetHost*>(app::win::GetWindowUserData(view));
+ return reinterpret_cast<WebWidgetHost*>(ui::GetWindowUserData(view));
}
/*static*/
@@ -205,7 +205,7 @@
}
WebWidgetHost::~WebWidgetHost() {
- app::win::SetWindowUserData(view_, 0);
+ ui::SetWindowUserData(view_, 0);
TrackMouseLeave(false);
« no previous file with comments | « webkit/tools/test_shell/webview_host_win.cc ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698