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

Unified Diff: ash/wm/window_modality_controller.cc

Issue 10912063: events: Get rid of GestureStatus in favour of EventResult. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: . Created 8 years, 3 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/window_modality_controller.h ('k') | ash/wm/workspace/frame_maximize_button.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ash/wm/window_modality_controller.cc
diff --git a/ash/wm/window_modality_controller.cc b/ash/wm/window_modality_controller.cc
index 65325657dfc0e07ac0cb04ffa436d9153adda41c..902612bed02143bb8ee45a89aac86b6efc012ffb 100644
--- a/ash/wm/window_modality_controller.cc
+++ b/ash/wm/window_modality_controller.cc
@@ -91,11 +91,11 @@ ui::TouchStatus WindowModalityController::PreHandleTouchEvent(
ui::TOUCH_STATUS_UNKNOWN;
}
-ui::GestureStatus WindowModalityController::PreHandleGestureEvent(
+ui::EventResult WindowModalityController::PreHandleGestureEvent(
aura::Window* target,
ui::GestureEvent* event) {
// TODO: make gestures work with modals.
- return ui::GESTURE_STATUS_UNKNOWN;
+ return ui::ER_UNHANDLED;
}
void WindowModalityController::OnWindowInitialized(aura::Window* window) {
« no previous file with comments | « ash/wm/window_modality_controller.h ('k') | ash/wm/workspace/frame_maximize_button.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698