summaryrefslogtreecommitdiffstats
path: root/chrome/browser/views/toolbar_view.h
diff options
context:
space:
mode:
Diffstat (limited to 'chrome/browser/views/toolbar_view.h')
-rw-r--r--chrome/browser/views/toolbar_view.h13
1 files changed, 5 insertions, 8 deletions
diff --git a/chrome/browser/views/toolbar_view.h b/chrome/browser/views/toolbar_view.h
index ffbec68f..23f5232 100644
--- a/chrome/browser/views/toolbar_view.h
+++ b/chrome/browser/views/toolbar_view.h
@@ -1,4 +1,4 @@
-// Copyright (c) 2009 The Chromium Authors. All rights reserved.
+// Copyright (c) 2010 The Chromium Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
@@ -114,15 +114,12 @@ class ToolbarView : public AccessibleToolbarView,
private:
// Overridden from views::DragController:
virtual void WriteDragData(View* sender,
- int press_x,
- int press_y,
+ const gfx::Point& press_pt,
OSExchangeData* data);
- virtual int GetDragOperations(View* sender, int x, int y);
+ virtual int GetDragOperations(View* sender, const gfx::Point& p);
virtual bool CanStartDrag(View* sender,
- int press_x,
- int press_y,
- int x,
- int y) {
+ const gfx::Point& press_pt,
+ const gfx::Point& p) {
return true;
}