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

Unified Diff: content/browser/renderer_host/render_widget_host_view_mac.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_view_mac.h
diff --git a/content/browser/renderer_host/render_widget_host_view_mac.h b/content/browser/renderer_host/render_widget_host_view_mac.h
index 5ea52b3ee74cf57f0afb5c30684e89c39cbd7497..17803a94a7d590124c6aa80d4efa7f6084b145e5 100644
--- a/content/browser/renderer_host/render_widget_host_view_mac.h
+++ b/content/browser/renderer_host/render_widget_host_view_mac.h
@@ -269,7 +269,6 @@ class CONTENT_EXPORT RenderWidgetHostViewMac
void WasUnOccluded() override;
void WasOccluded() override;
gfx::Rect GetViewBounds() const override;
- void SetShowingContextMenu(bool showing) override;
void SetActive(bool active) override;
void ShowDefinitionForSelection() override;
bool SupportsSpeech() const override;
@@ -464,6 +463,8 @@ class CONTENT_EXPORT RenderWidgetHostViewMac
// Exposed for testing.
cc::SurfaceId SurfaceIdForTesting() const override;
+ void SetShowingContextMenu(bool showing) override;
+
// Helper method to obtain ui::TextInputType for the active widget from the
// TextInputManager.
ui::TextInputType GetTextInputType();

Powered by Google App Engine
This is Rietveld 408576698