Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(135)

Unified Diff: chrome/browser/tab_contents/render_view_context_menu.cc

Issue 9316073: Expose contextual menu state. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: shared linux build fix Created 8 years, 11 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
Index: chrome/browser/tab_contents/render_view_context_menu.cc
diff --git a/chrome/browser/tab_contents/render_view_context_menu.cc b/chrome/browser/tab_contents/render_view_context_menu.cc
index 3e41d8855baa1137b923cba5d79d8c9d650dd07c..e24f65e242729009b70710cbc26008720c68800f 100644
--- a/chrome/browser/tab_contents/render_view_context_menu.cc
+++ b/chrome/browser/tab_contents/render_view_context_menu.cc
@@ -1853,7 +1853,7 @@ void RenderViewContextMenu::MenuWillShow(ui::SimpleMenuModel* source) {
RenderWidgetHostView* view = source_web_contents_->GetRenderWidgetHostView();
if (view)
- view->ShowingContextMenu(true);
+ view->SetShowingContextMenu(true);
}
void RenderViewContextMenu::MenuClosed(ui::SimpleMenuModel* source) {
@@ -1863,7 +1863,7 @@ void RenderViewContextMenu::MenuClosed(ui::SimpleMenuModel* source) {
RenderWidgetHostView* view = source_web_contents_->GetRenderWidgetHostView();
if (view)
- view->ShowingContextMenu(false);
+ view->SetShowingContextMenu(false);
RenderViewHost* rvh = source_web_contents_->GetRenderViewHost();
if (rvh) {
rvh->NotifyContextMenuClosed(params_.custom_context);

Powered by Google App Engine
This is Rietveld 408576698