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

Unified Diff: ui/views/controls/scrollbar/base_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
« no previous file with comments | « ui/views/controls/scrollbar/base_scroll_bar.h ('k') | ui/views/controls/scrollbar/native_scroll_bar.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ui/views/controls/scrollbar/base_scroll_bar.cc
===================================================================
--- ui/views/controls/scrollbar/base_scroll_bar.cc (revision 151481)
+++ ui/views/controls/scrollbar/base_scroll_bar.cc (working copy)
@@ -167,7 +167,7 @@
return false;
}
-ui::GestureStatus BaseScrollBar::OnGestureEvent(const GestureEvent& event) {
+ui::GestureStatus BaseScrollBar::OnGestureEvent(const ui::GestureEvent& event) {
if (event.type() == ui::ET_GESTURE_TAP_DOWN) {
ProcessPressEvent(event);
return ui::GESTURE_STATUS_CONSUMED;
@@ -200,7 +200,7 @@
return ui::GESTURE_STATUS_UNKNOWN;
}
-bool BaseScrollBar::OnMouseWheel(const MouseWheelEvent& event) {
+bool BaseScrollBar::OnMouseWheel(const ui::MouseWheelEvent& event) {
ScrollByContentsOffset(event.offset());
return true;
}
« no previous file with comments | « ui/views/controls/scrollbar/base_scroll_bar.h ('k') | ui/views/controls/scrollbar/native_scroll_bar.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698