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

Unified Diff: ui/views/view.h

Issue 10828265: Replace views::LocatedEvent with ui::LocatedEvent (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.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ui/views/view.h
===================================================================
--- ui/views/view.h (revision 151267)
+++ ui/views/view.h (working copy)
@@ -407,9 +407,9 @@
// |source| and |target| must be in the same widget, but doesn't need to be in
// the same view hierarchy.
// |source| can be NULL in which case it means the screen coordinate system.
- static void ConvertPointToView(const View* source,
- const View* target,
- gfx::Point* point);
+ static void ConvertPointToTarget(const View* source,
+ const View* target,
+ gfx::Point* point);
// Convert a point from a View's coordinate system to that of its Widget.
static void ConvertPointToWidget(const View* src, gfx::Point* point);
@@ -1332,7 +1332,7 @@
// supported drag operations. When done, OnDragDone is invoked. |press_pt| is
// in the view's coordinate system.
// Returns true if a drag was started.
- bool DoDrag(const LocatedEvent& event, const gfx::Point& press_pt);
+ bool DoDrag(const ui::LocatedEvent& event, const gfx::Point& press_pt);
//////////////////////////////////////////////////////////////////////////////
« no previous file with comments | « ui/views/events/event_aura.cc ('k') | ui/views/view.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698