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

Unified Diff: ui/views/touchui/touch_selection_controller_impl.cc

Issue 10832282: Replace views::MouseEvent with ui::MouseEvent (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/events/event_aura.cc ('k') | ui/views/view.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ui/views/touchui/touch_selection_controller_impl.cc
===================================================================
--- ui/views/touchui/touch_selection_controller_impl.cc (revision 151406)
+++ ui/views/touchui/touch_selection_controller_impl.cc (working copy)
@@ -112,17 +112,17 @@
kSelectionHandleColor);
}
- virtual bool OnMousePressed(const MouseEvent& event) OVERRIDE {
+ virtual bool OnMousePressed(const ui::MouseEvent& event) OVERRIDE {
controller_->dragging_handle_ = this;
return true;
}
- virtual bool OnMouseDragged(const MouseEvent& event) OVERRIDE {
+ virtual bool OnMouseDragged(const ui::MouseEvent& event) OVERRIDE {
controller_->SelectionHandleDragged(event.location());
return true;
}
- virtual void OnMouseReleased(const MouseEvent& event) OVERRIDE {
+ virtual void OnMouseReleased(const ui::MouseEvent& event) OVERRIDE {
controller_->dragging_handle_ = NULL;
}
« no previous file with comments | « ui/views/events/event_aura.cc ('k') | ui/views/view.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698