diff options
author | thakis@chromium.org <thakis@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2011-03-04 04:57:58 +0000 |
---|---|---|
committer | thakis@chromium.org <thakis@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2011-03-04 04:57:58 +0000 |
commit | 0933ab808b0245878803552b9908c720b0faf1d1 (patch) | |
tree | 99d088873b45c8295af71287b3ad2865e141bf59 /ui/views/events | |
parent | eb8a06d3f439f3be31a5a0dcbcdd86160c50cbb7 (diff) | |
download | chromium_src-0933ab808b0245878803552b9908c720b0faf1d1.zip chromium_src-0933ab808b0245878803552b9908c720b0faf1d1.tar.gz chromium_src-0933ab808b0245878803552b9908c720b0faf1d1.tar.bz2 |
Rename ContextMenuController::ShowContextMenu() to ShowContextMenuForView().
For classes deriving from both View and ContextMenuController, this
makes it clear which of method is overridden.
Rename TabController::ShowContextMenu to ShowContextMenuForTab for the same reason.
No intended functionality change.
BUG=70465,72205
TEST=none
TBR=beng
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@76878 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'ui/views/events')
-rw-r--r-- | ui/views/events/context_menu_controller.h | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/ui/views/events/context_menu_controller.h b/ui/views/events/context_menu_controller.h index 3b8a0b0..ab35a32 100644 --- a/ui/views/events/context_menu_controller.h +++ b/ui/views/events/context_menu_controller.h @@ -34,9 +34,9 @@ class ContextMenuController { // recommended location to show the menu at. // // |point| is in screen coordinates. - virtual void ShowContextMenu(View* source, - const gfx::Point& point, - bool is_mouse_gesture) = 0; + virtual void ShowContextMenuForView(View* source, + const gfx::Point& point, + bool is_mouse_gesture) = 0; protected: virtual ~ContextMenuController() {} |