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

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

Issue 2890143003: Move ContextMenu show/hide state tracking to WebContents (Closed)
Patch Set: Remove #if def Created 3 years, 6 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.h
diff --git a/content/browser/renderer_host/render_widget_host_delegate.h b/content/browser/renderer_host/render_widget_host_delegate.h
index 29b3115d1add49c0bdd444ceff1042f9f8a2a1d0..86bcb17368508b2f5a57127781e6cde0fbe37ace 100644
--- a/content/browser/renderer_host/render_widget_host_delegate.h
+++ b/content/browser/renderer_host/render_widget_host_delegate.h
@@ -272,6 +272,9 @@ class CONTENT_EXPORT RenderWidgetHostDelegate {
// Reset the auto-size value, to indicate that auto-size is no longer active.
virtual void ResetAutoResizeSize() {}
+ // Returns true if there is context menu shown on page.
+ virtual bool IsShowingContextMenuOnPage() const;
+
protected:
virtual ~RenderWidgetHostDelegate() {}
};

Powered by Google App Engine
This is Rietveld 408576698