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

Unified Diff: ui/views/widget/x11_window_event_filter.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/views/widget/x11_window_event_filter.h ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ui/views/widget/x11_window_event_filter.cc
===================================================================
--- ui/views/widget/x11_window_event_filter.cc (revision 150582)
+++ ui/views/widget/x11_window_event_filter.cc (working copy)
@@ -13,6 +13,7 @@
#include "ui/aura/desktop/desktop_activation_client.h"
#include "ui/aura/root_window.h"
#include "ui/aura/window_delegate.h"
+#include "ui/base/event.h"
#include "ui/base/hit_test.h"
#include "ui/views/widget/native_widget_aura.h"
@@ -90,12 +91,12 @@
}
bool X11WindowEventFilter::PreHandleKeyEvent(aura::Window* target,
- aura::KeyEvent* event) {
+ ui::KeyEvent* event) {
return false;
}
bool X11WindowEventFilter::PreHandleMouseEvent(aura::Window* target,
- aura::MouseEvent* event) {
+ ui::MouseEvent* event) {
if (event->type() != ui::ET_MOUSE_PRESSED)
return false;
@@ -130,13 +131,13 @@
ui::TouchStatus X11WindowEventFilter::PreHandleTouchEvent(
aura::Window* target,
- aura::TouchEvent* event) {
+ ui::TouchEventImpl* event) {
return ui::TOUCH_STATUS_UNKNOWN;
}
ui::GestureStatus X11WindowEventFilter::PreHandleGestureEvent(
aura::Window* target,
- aura::GestureEvent* event) {
+ ui::GestureEventImpl* event) {
return ui::GESTURE_STATUS_UNKNOWN;
}
« no previous file with comments | « ui/views/widget/x11_window_event_filter.h ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698