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

Unified Diff: ui/views/controls/single_split_view.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/single_split_view.h ('k') | ui/views/controls/single_split_view_unittest.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ui/views/controls/single_split_view.cc
===================================================================
--- ui/views/controls/single_split_view.cc (revision 151406)
+++ ui/views/controls/single_split_view.cc (working copy)
@@ -90,7 +90,7 @@
return gfx::Size(width, height);
}
-gfx::NativeCursor SingleSplitView::GetCursor(const MouseEvent& event) {
+gfx::NativeCursor SingleSplitView::GetCursor(const ui::MouseEvent& event) {
if (!IsPointInDivider(event.location()))
return gfx::kNullCursor;
#if defined(USE_AURA)
@@ -149,7 +149,7 @@
accessible_name_ = name;
}
-bool SingleSplitView::OnMousePressed(const MouseEvent& event) {
+bool SingleSplitView::OnMousePressed(const ui::MouseEvent& event) {
if (!IsPointInDivider(event.location()))
return false;
drag_info_.initial_mouse_offset = GetPrimaryAxisSize(event.x(), event.y());
@@ -158,7 +158,7 @@
return true;
}
-bool SingleSplitView::OnMouseDragged(const MouseEvent& event) {
+bool SingleSplitView::OnMouseDragged(const ui::MouseEvent& event) {
if (child_count() < 2)
return false;
« no previous file with comments | « ui/views/controls/single_split_view.h ('k') | ui/views/controls/single_split_view_unittest.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698