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

Unified Diff: views/widget/root_view.h

Issue 6347002: touch: Return an enum from OnTouchEvent. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 9 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
Index: views/widget/root_view.h
diff --git a/views/widget/root_view.h b/views/widget/root_view.h
index bf47c42d7c883cbbf3be42d286ba14487c97c41b..dee51a402a677f131c6c935a1002ee1f986d33f9 100644
--- a/views/widget/root_view.h
+++ b/views/widget/root_view.h
@@ -39,6 +39,9 @@ class GestureManager;
//
/////////////////////////////////////////////////////////////////////////////
class RootView : public View,
+#if defined(TOUCH_UI)
+ public TouchEventObserver,
+#endif
public FocusTraversable {
public:
static const char kViewClassName[];
@@ -188,6 +191,11 @@ class RootView : public View,
void SetGestureManager(GestureManager* g) { gesture_manager_ = g; }
#endif
+#if defined(TOUCH_UI)
+ // Overridden from TouchEventObserver.
+ virtual void OnTouchSequenceEnd();
+#endif
+
protected:
// Overridden to properly reset our event propagation member

Powered by Google App Engine
This is Rietveld 408576698