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

Unified Diff: ui/aura/root_window_host_win.cc

Issue 10827145: Convert Aura to use ui::Event. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src/
Patch Set: Created 8 years, 4 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 | « ui/aura/root_window_host_linux.cc ('k') | ui/aura/root_window_unittest.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ui/aura/root_window_host_win.cc
===================================================================
--- ui/aura/root_window_host_win.cc (revision 150582)
+++ ui/aura/root_window_host_win.cc (working copy)
@@ -11,8 +11,8 @@
#include "base/message_loop.h"
#include "ui/aura/client/capture_client.h"
#include "ui/aura/env.h"
-#include "ui/aura/event.h"
#include "ui/aura/root_window.h"
+#include "ui/base/event.h"
#include "ui/base/view_prop.h"
using std::max;
@@ -309,7 +309,7 @@
WPARAM w_param,
LPARAM l_param) {
MSG msg = { hwnd(), message, w_param, l_param };
- KeyEvent keyev(msg, message == WM_CHAR);
+ ui::KeyEvent keyev(msg, message == WM_CHAR);
SetMsgHandled(delegate_->OnHostKeyEvent(&keyev));
return 0;
}
@@ -319,7 +319,7 @@
LPARAM l_param) {
MSG msg = { hwnd(), message, w_param, l_param, 0,
{ GET_X_LPARAM(l_param), GET_Y_LPARAM(l_param) } };
- MouseEvent event(msg);
+ ui::MouseEvent event(msg);
bool handled = false;
if (!(event.flags() & ui::EF_IS_NON_CLIENT))
handled = delegate_->OnHostMouseEvent(&event);
« no previous file with comments | « ui/aura/root_window_host_linux.cc ('k') | ui/aura/root_window_unittest.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698