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

Unified Diff: components/renderer_context_menu/render_view_context_menu_base.h

Issue 941603002: This is followup of 449919 for addressing nit. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 5 years, 10 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: components/renderer_context_menu/render_view_context_menu_base.h
diff --git a/components/renderer_context_menu/render_view_context_menu_base.h b/components/renderer_context_menu/render_view_context_menu_base.h
index fbfbe5b34990c3e1ad9e04d42f400d966b66bea0..d6d7bbd5a5703343aa46f5a91a952ae93fc58a74 100644
--- a/components/renderer_context_menu/render_view_context_menu_base.h
+++ b/components/renderer_context_menu/render_view_context_menu_base.h
@@ -163,7 +163,10 @@ class RenderViewContextMenuBase : public ui::SimpleMenuModel::Delegate,
content::ContextMenuParams params_;
content::WebContents* source_web_contents_;
- content::WebContents* embedded_web_contents_;
+ // 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_;
content::BrowserContext* browser_context_;
ui::SimpleMenuModel menu_model_;

Powered by Google App Engine
This is Rietveld 408576698