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

Unified Diff: ui/views/widget/root_view.cc

Issue 9221014: aura: Gesture event plumbing (skeleton). (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: copyright Created 8 years, 11 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/native_widget_aura.cc ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ui/views/widget/root_view.cc
diff --git a/ui/views/widget/root_view.cc b/ui/views/widget/root_view.cc
index a8f4ef6ffc7c07efd5dffbea7f7476733c160c4e..f6ac343bbb7c710fbc20dabd54d0c5efbabf87c7 100644
--- a/ui/views/widget/root_view.cc
+++ b/ui/views/widget/root_view.cc
@@ -414,17 +414,17 @@ ui::GestureStatus RootView::OnGestureEvent(const GestureEvent& event) {
// The view could have removed itself from the tree when handling
// OnGestureEvent(). So handle as per OnMousePressed. NB: we
// assume that the RootView itself cannot be so removed.
- if (!gesture_handling_view_) return ui::GESTURE_STATUS_UNKNOWN;
+ if (!gesture_handling_view_)
+ return ui::GESTURE_STATUS_UNKNOWN;
// The gesture event wasn't processed. Go up the view hierarchy and
// dispatch the gesture event.
- if (status == ui::GESTURE_STATUS_UNKNOWN) {
+ if (status == ui::GESTURE_STATUS_UNKNOWN)
continue;
- } else if (status == ui::GESTURE_STATUS_CONSUMED) {
+ else if (status == ui::GESTURE_STATUS_CONSUMED)
return status;
- } else {
+ else
return ui::GESTURE_STATUS_UNKNOWN;
- }
}
return status;
}
« no previous file with comments | « ui/views/widget/native_widget_aura.cc ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698