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

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

Issue 11568006: events: Update scroll and touch handlers to not return EventResult. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: self-nit Created 8 years 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_delegate.h ('k') | ui/views/widget/root_view.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ui/views/widget/root_view.h
diff --git a/ui/views/widget/root_view.h b/ui/views/widget/root_view.h
index c87692db4b8dcd8fdb7b84478739b0cab628802d..1ee1b26099d4c042561d1ab1d5336a2043eb9ce6 100644
--- a/ui/views/widget/root_view.h
+++ b/ui/views/widget/root_view.h
@@ -62,8 +62,8 @@ class VIEWS_EXPORT RootView : public View, public FocusTraversable {
// path, and finally to the default keyboard handler, until someone consumes
// it. Returns whether anyone consumed the event.
ui::EventResult DispatchKeyEvent(const ui::KeyEvent& event);
- ui::EventResult DispatchScrollEvent(ui::ScrollEvent* event);
- ui::EventResult DispatchTouchEvent(ui::TouchEvent* event);
+ void DispatchScrollEvent(ui::ScrollEvent* event);
+ void DispatchTouchEvent(ui::TouchEvent* event);
virtual void DispatchGestureEvent(ui::GestureEvent* event);
// Focus ---------------------------------------------------------------------
« no previous file with comments | « ui/views/widget/native_widget_delegate.h ('k') | ui/views/widget/root_view.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698