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

Unified Diff: ui/views/controls/slider.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/controls/slider.h ('k') | ui/views/controls/slider_unittest.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ui/views/controls/slider.cc
===================================================================
--- ui/views/controls/slider.cc (revision 151406)
+++ ui/views/controls/slider.cc (working copy)
@@ -223,19 +223,19 @@
View::OnPaint(canvas);
}
-bool Slider::OnMousePressed(const views::MouseEvent& event) {
+bool Slider::OnMousePressed(const ui::MouseEvent& event) {
if (listener_)
listener_->SliderDragStarted(this);
MoveButtonTo(event.location());
return true;
}
-bool Slider::OnMouseDragged(const views::MouseEvent& event) {
+bool Slider::OnMouseDragged(const ui::MouseEvent& event) {
MoveButtonTo(event.location());
return true;
}
-void Slider::OnMouseReleased(const views::MouseEvent& event) {
+void Slider::OnMouseReleased(const ui::MouseEvent& event) {
if (listener_)
listener_->SliderDragEnded(this);
}
« no previous file with comments | « ui/views/controls/slider.h ('k') | ui/views/controls/slider_unittest.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698