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

Unified Diff: ui/views/controls/tree/tree_view_views.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/tree/tree_view_views.h ('k') | ui/views/events/event.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ui/views/controls/tree/tree_view_views.cc
===================================================================
--- ui/views/controls/tree/tree_view_views.cc (revision 151406)
+++ ui/views/controls/tree/tree_view_views.cc (working copy)
@@ -302,7 +302,7 @@
return preferred_size_;
}
-bool TreeView::OnMousePressed(const MouseEvent& event) {
+bool TreeView::OnMousePressed(const ui::MouseEvent& event) {
int row = (event.y() - kVerticalInset) / row_height_;
int depth;
InternalNode* node = GetNodeByRow(row, &depth);
« no previous file with comments | « ui/views/controls/tree/tree_view_views.h ('k') | ui/views/events/event.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698