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

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

Issue 395563002: Make RootView::DispatchGestureEvent() non-virtual (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: 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 b418641b3c7e4ea40f3fce0f46c8ac6582e0785a..e72bf901731e679c5d9b89badd68c8d62155dbb8 100644
--- a/ui/views/widget/root_view.h
+++ b/ui/views/widget/root_view.h
@@ -112,11 +112,6 @@ class VIEWS_EXPORT RootView : public View,
virtual void UpdateParentLayer() OVERRIDE;
protected:
- // TODO(tdanderson): Remove RootView::DispatchGestureEvent() once
- // its targeting and dispatch logic has been moved
- // elsewhere. See crbug.com/348083.
- virtual void DispatchGestureEvent(ui::GestureEvent* event);
-
// Overridden from View:
virtual void ViewHierarchyChanged(
const ViewHierarchyChangedDetails& details) OVERRIDE;
@@ -133,6 +128,11 @@ class VIEWS_EXPORT RootView : public View,
// Input ---------------------------------------------------------------------
+ // TODO(tdanderson): Remove RootView::DispatchGestureEvent() once
+ // its targeting and dispatch logic has been moved
+ // elsewhere. See crbug.com/348083.
+ void DispatchGestureEvent(ui::GestureEvent* event);
+
// Update the cursor given a mouse event. This is called by non mouse_move
// event handlers to honor the cursor desired by views located under the
// cursor during drag operations. The location of the mouse should be in the

Powered by Google App Engine
This is Rietveld 408576698