summaryrefslogtreecommitdiffstats
path: root/views/view.cc
diff options
context:
space:
mode:
authorthakis@chromium.org <thakis@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2011-03-04 04:57:58 +0000
committerthakis@chromium.org <thakis@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2011-03-04 04:57:58 +0000
commit0933ab808b0245878803552b9908c720b0faf1d1 (patch)
tree99d088873b45c8295af71287b3ad2865e141bf59 /views/view.cc
parenteb8a06d3f439f3be31a5a0dcbcdd86160c50cbb7 (diff)
downloadchromium_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 'views/view.cc')
-rw-r--r--views/view.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/views/view.cc b/views/view.cc
index d1510d5..58c50f7 100644
--- a/views/view.cc
+++ b/views/view.cc
@@ -934,7 +934,7 @@ void View::ShowContextMenu(const gfx::Point& p, bool is_mouse_gesture) {
if (!context_menu_controller_)
return;
- context_menu_controller_->ShowContextMenu(this, p, is_mouse_gesture);
+ context_menu_controller_->ShowContextMenuForView(this, p, is_mouse_gesture);
}
// Drag and drop ---------------------------------------------------------------