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

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

Issue 10912063: events: Get rid of GestureStatus in favour of EventResult. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: . Created 8 years, 3 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_unittest.cc ('k') | ui/views/widget/root_view.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ui/views/widget/native_widget_delegate.h
diff --git a/ui/views/widget/native_widget_delegate.h b/ui/views/widget/native_widget_delegate.h
index cdb5a6545463f9ef7b21f37ad5d5a867a44cdc34..50cf9a1b4aaed461fda46000bc3908fef2188d06 100644
--- a/ui/views/widget/native_widget_delegate.h
+++ b/ui/views/widget/native_widget_delegate.h
@@ -109,7 +109,7 @@ class VIEWS_EXPORT NativeWidgetDelegate {
virtual bool OnMouseEvent(const ui::MouseEvent& event) = 0;
virtual void OnMouseCaptureLost() = 0;
virtual ui::TouchStatus OnTouchEvent(const ui::TouchEvent& event) = 0;
- virtual ui::GestureStatus OnGestureEvent(const ui::GestureEvent& event) = 0;
+ virtual ui::EventResult OnGestureEvent(const ui::GestureEvent& event) = 0;
// Runs the specified native command. Returns true if the command is handled.
virtual bool ExecuteCommand(int command_id) = 0;
« no previous file with comments | « ui/views/widget/native_widget_aura_unittest.cc ('k') | ui/views/widget/root_view.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698