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

Unified Diff: chrome/browser/renderer_context_menu/render_view_context_menu.h

Issue 1117893002: Moving extension code out of "components/" to avoid layering violations. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Addressing nit. Created 5 years, 8 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/renderer_context_menu/render_view_context_menu.h
diff --git a/chrome/browser/renderer_context_menu/render_view_context_menu.h b/chrome/browser/renderer_context_menu/render_view_context_menu.h
index 490a8dfff2b31d3603deca386053ddc964c9cb30..90cc0d7c8e6d7bd3ce4c63987e7a7f78f8e2440d 100644
--- a/chrome/browser/renderer_context_menu/render_view_context_menu.h
+++ b/chrome/browser/renderer_context_menu/render_view_context_menu.h
@@ -176,6 +176,11 @@ class RenderViewContextMenu : public RenderViewContextMenuBase {
scoped_ptr<PrintPreviewContextMenuObserver> print_preview_menu_observer_;
#endif
+ // In the case of a MimeHandlerView this will point to the WebContents that
+ // embeds the MimeHandlerViewGuest. Otherwise this will be the same as
+ // |source_web_contents_|.
+ content::WebContents* embedder_web_contents_;
+
DISALLOW_COPY_AND_ASSIGN(RenderViewContextMenu);
};

Powered by Google App Engine
This is Rietveld 408576698