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

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

Issue 404213003: [WIP] Allow scroll events to permanently change the default gesture handler in RootView (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: friend test Created 6 years, 5 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
Index: ui/views/widget/root_view.h
diff --git a/ui/views/widget/root_view.h b/ui/views/widget/root_view.h
index e72bf901731e679c5d9b89badd68c8d62155dbb8..97ce1d5cb2cbbc157b093dc482b30ac941528540 100644
--- a/ui/views/widget/root_view.h
+++ b/ui/views/widget/root_view.h
@@ -188,13 +188,9 @@ class VIEWS_EXPORT RootView : public View,
int last_mouse_event_y_;
// The view currently handling gesture events. When set, this handler receives
- // all gesture events, except when there is an event handler for the specific
- // gesture (e.g. scroll).
+ // all gesture events.
View* gesture_handler_;
- // The view currently handling scroll gesture events.
- View* scroll_gesture_handler_;
-
scoped_ptr<internal::PreEventDispatchHandler> pre_dispatch_handler_;
scoped_ptr<internal::PostEventDispatchHandler> post_dispatch_handler_;

Powered by Google App Engine
This is Rietveld 408576698