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

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

Issue 10824295: Rid the world of the last of views::Event types: TouchEvent, GestureEvent, MouseWheelEvent, ScrollE… (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src/
Patch Set: Created 8 years, 4 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/controls/scrollbar/native_scroll_bar.cc
===================================================================
--- ui/views/controls/scrollbar/native_scroll_bar.cc (revision 151481)
+++ ui/views/controls/scrollbar/native_scroll_bar.cc (working copy)
@@ -76,13 +76,14 @@
return native_wrapper_->GetView()->OnKeyPressed(event);
}
-ui::GestureStatus NativeScrollBar::OnGestureEvent(const GestureEvent& event) {
+ui::GestureStatus NativeScrollBar::OnGestureEvent(
+ const ui::GestureEvent& event) {
if (!native_wrapper_)
return ui::GESTURE_STATUS_UNKNOWN;
return native_wrapper_->GetView()->OnGestureEvent(event);
}
-bool NativeScrollBar::OnMouseWheel(const MouseWheelEvent& event) {
+bool NativeScrollBar::OnMouseWheel(const ui::MouseWheelEvent& event) {
if (!native_wrapper_)
return false;
return native_wrapper_->GetView()->OnMouseWheel(event);
« no previous file with comments | « ui/views/controls/scrollbar/native_scroll_bar.h ('k') | ui/views/controls/scrollbar/native_scroll_bar_win.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698