summaryrefslogtreecommitdiffstats
path: root/ui/views/events
diff options
context:
space:
mode:
authorthakis@chromium.org <thakis@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2011-03-04 01:04:18 +0000
committerthakis@chromium.org <thakis@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2011-03-04 01:04:18 +0000
commitc3fac080f2f42ab386f0a6e834351ab220be8d4a (patch)
tree7e56c8c6bd1aa1c576f90c2335322f743a6e1d79 /ui/views/events
parent8ef4d59eff51761c3d2243fb813d088eb2511989 (diff)
downloadchromium_src-c3fac080f2f42ab386f0a6e834351ab220be8d4a.zip
chromium_src-c3fac080f2f42ab386f0a6e834351ab220be8d4a.tar.gz
chromium_src-c3fac080f2f42ab386f0a6e834351ab220be8d4a.tar.bz2
Rename the methods in DragController.
They used to have the same name as methods in View. Some views would derive from both View and DragController, which was confusing. For example for clang's -Woverride-virtual. No functionality change. BUG=70465,72205 TEST=none Review URL: http://codereview.chromium.org/6609033 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@76847 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'ui/views/events')
-rw-r--r--ui/views/events/drag_controller.h14
1 files changed, 7 insertions, 7 deletions
diff --git a/ui/views/events/drag_controller.h b/ui/views/events/drag_controller.h
index 4352195..6344f83 100644
--- a/ui/views/events/drag_controller.h
+++ b/ui/views/events/drag_controller.h
@@ -13,20 +13,20 @@ namespace ui {
class DragController {
public:
// Writes the data for the drag.
- virtual void WriteDragData(View* sender,
- const gfx::Point& press_pt,
- OSExchangeData* data) = 0;
+ virtual void WriteDragDataForView(View* sender,
+ const gfx::Point& press_pt,
+ OSExchangeData* data) = 0;
// Returns the supported drag operations (see DragDropTypes for possible
// values). A drag is only started if this returns a non-zero value.
- virtual int GetDragOperations(View* sender, const gfx::Point& p) = 0;
+ virtual int GetDragOperationsForView(View* sender, const gfx::Point& p) = 0;
// Returns true if a drag operation can be started.
// |press_pt| represents the coordinates where the mouse was initially
// pressed down. |p| is the current mouse coordinates.
- virtual bool CanStartDrag(View* sender,
- const gfx::Point& press_pt,
- const gfx::Point& p) = 0;
+ virtual bool CanStartDragForView(View* sender,
+ const gfx::Point& press_pt,
+ const gfx::Point& p) = 0;
protected:
virtual ~DragController() {}