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

Unified Diff: ash/wm/system_modal_container_event_filter.cc

Issue 11364062: ui: Remove TouchStatus in favour of EventResult. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: . Created 8 years, 1 month 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/system_modal_container_event_filter.h ('k') | ash/wm/user_activity_detector.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ash/wm/system_modal_container_event_filter.cc
diff --git a/ash/wm/system_modal_container_event_filter.cc b/ash/wm/system_modal_container_event_filter.cc
index 6e74af0f27fedc2ce1fccd0b24ca6e7957f8c069..9932120592a14cc5cb049d3b7e5afbb1bbcc7ae5 100644
--- a/ash/wm/system_modal_container_event_filter.cc
+++ b/ash/wm/system_modal_container_event_filter.cc
@@ -30,11 +30,11 @@ bool SystemModalContainerEventFilter::PreHandleMouseEvent(
return !delegate_->CanWindowReceiveEvents(target);
}
-ui::TouchStatus SystemModalContainerEventFilter::PreHandleTouchEvent(
+ui::EventResult SystemModalContainerEventFilter::PreHandleTouchEvent(
aura::Window* target,
ui::TouchEvent* event) {
// TODO(sadrul): !
- return ui::TOUCH_STATUS_UNKNOWN;
+ return ui::ER_UNHANDLED;
}
ui::EventResult SystemModalContainerEventFilter::PreHandleGestureEvent(
« no previous file with comments | « ash/wm/system_modal_container_event_filter.h ('k') | ash/wm/user_activity_detector.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698