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

Unified Diff: ui/views/controls/scrollbar/native_scroll_bar.cc

Issue 11280290: events: Change gesture-event handler in EventHandler to not return any values. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: 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/controls/scrollbar/native_scroll_bar.h ('k') | ui/views/controls/slide_out_view.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ui/views/controls/scrollbar/native_scroll_bar.cc
diff --git a/ui/views/controls/scrollbar/native_scroll_bar.cc b/ui/views/controls/scrollbar/native_scroll_bar.cc
index 77c4387fae92e7ef3b89a2a0111e032f4b334a72..0848576816f73602c4c4042f3eabcd6119258ea0 100644
--- a/ui/views/controls/scrollbar/native_scroll_bar.cc
+++ b/ui/views/controls/scrollbar/native_scroll_bar.cc
@@ -78,10 +78,10 @@ bool NativeScrollBar::OnKeyPressed(const ui::KeyEvent& event) {
return native_wrapper_->GetView()->OnKeyPressed(event);
}
-ui::EventResult NativeScrollBar::OnGestureEvent(ui::GestureEvent* event) {
+void NativeScrollBar::OnGestureEvent(ui::GestureEvent* event) {
if (!native_wrapper_)
- return ui::ER_UNHANDLED;
- return native_wrapper_->GetView()->OnGestureEvent(event);
+ return;
+ native_wrapper_->GetView()->OnGestureEvent(event);
}
bool NativeScrollBar::OnMouseWheel(const ui::MouseWheelEvent& event) {
« no previous file with comments | « ui/views/controls/scrollbar/native_scroll_bar.h ('k') | ui/views/controls/slide_out_view.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698