summaryrefslogtreecommitdiffstats
path: root/views/controls/button/custom_button.h
diff options
context:
space:
mode:
Diffstat (limited to 'views/controls/button/custom_button.h')
-rw-r--r--views/controls/button/custom_button.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/views/controls/button/custom_button.h b/views/controls/button/custom_button.h
index 032db17..c8977f8 100644
--- a/views/controls/button/custom_button.h
+++ b/views/controls/button/custom_button.h
@@ -1,4 +1,4 @@
-// Copyright (c) 2006-2008 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.
@@ -76,7 +76,7 @@ class CustomButton : public Button,
virtual bool OnKeyPressed(const KeyEvent& e);
virtual bool OnKeyReleased(const KeyEvent& e);
virtual void OnDragDone();
- virtual void ShowContextMenu(int x, int y, bool is_mouse_gesture);
+ virtual void ShowContextMenu(const gfx::Point& p, bool is_mouse_gesture);
virtual void ViewHierarchyChanged(bool is_add, View *parent, View *child);
virtual void SetHotTracked(bool flag);
virtual bool IsHotTracked() const;