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

Unified Diff: ash/wm/user_activity_detector.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 | « ash/wm/user_activity_detector.h ('k') | ash/wm/user_activity_detector_unittest.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ash/wm/user_activity_detector.cc
===================================================================
--- ash/wm/user_activity_detector.cc (revision 150582)
+++ ash/wm/user_activity_detector.cc (working copy)
@@ -7,8 +7,8 @@
#include "ash/wm/property_util.h"
#include "ash/wm/user_activity_observer.h"
#include "ash/wm/window_util.h"
-#include "ui/aura/event.h"
#include "ui/aura/window.h"
+#include "ui/base/event.h"
namespace ash {
@@ -29,7 +29,7 @@
}
bool UserActivityDetector::PreHandleKeyEvent(aura::Window* target,
- aura::KeyEvent* event) {
+ ui::KeyEvent* event) {
// Ignore input events on secondary displays in non extended desktop
// mode. Remove this once this mode is gone. crbug.com/135245.
if (!GetRootWindowController(target->GetRootWindow()))
@@ -39,7 +39,7 @@
}
bool UserActivityDetector::PreHandleMouseEvent(aura::Window* target,
- aura::MouseEvent* event) {
+ ui::MouseEvent* event) {
if (!GetRootWindowController(target->GetRootWindow()))
return true;
if (!(event->flags() & ui::EF_IS_SYNTHESIZED))
@@ -49,7 +49,7 @@
ui::TouchStatus UserActivityDetector::PreHandleTouchEvent(
aura::Window* target,
- aura::TouchEvent* event) {
+ ui::TouchEventImpl* event) {
if (!GetRootWindowController(target->GetRootWindow()))
return ui::TOUCH_STATUS_END;
MaybeNotify();
@@ -58,7 +58,7 @@
ui::GestureStatus UserActivityDetector::PreHandleGestureEvent(
aura::Window* target,
- aura::GestureEvent* event) {
+ ui::GestureEventImpl* event) {
if (!GetRootWindowController(target->GetRootWindow()))
return ui::GESTURE_STATUS_CONSUMED;
MaybeNotify();
« no previous file with comments | « ash/wm/user_activity_detector.h ('k') | ash/wm/user_activity_detector_unittest.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698