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

Unified Diff: content/browser/renderer_host/render_widget_host_delegate.cc

Issue 2890143003: Move ContextMenu show/hide state tracking to WebContents (Closed)
Patch Set: Fixing another compile error Created 3 years, 7 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: content/browser/renderer_host/render_widget_host_delegate.cc
diff --git a/content/browser/renderer_host/render_widget_host_delegate.cc b/content/browser/renderer_host/render_widget_host_delegate.cc
index 184cce7f850a6d814093fe115e49b8157ce3e1c1..710b3cf4faf36c4247c135427fe1cf557d9ff29f 100644
--- a/content/browser/renderer_host/render_widget_host_delegate.cc
+++ b/content/browser/renderer_host/render_widget_host_delegate.cc
@@ -111,4 +111,8 @@ WebContents* RenderWidgetHostDelegate::GetAsWebContents() {
return nullptr;
}
+bool RenderWidgetHostDelegate::IsShowingContextMenuOnPage() const {
+ return false;
+}
+
} // namespace content

Powered by Google App Engine
This is Rietveld 408576698