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

Unified Diff: chrome/browser/guest_view/web_view/context_menu_content_type_web_view.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: 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/guest_view/web_view/context_menu_content_type_web_view.h
diff --git a/chrome/browser/guest_view/web_view/context_menu_content_type_web_view.h b/chrome/browser/guest_view/web_view/context_menu_content_type_web_view.h
index 0652fdd1ef83cc87341ddae3e74b89ebe86b6d6b..4ef45c6b0e2991b075f20008d3bc33eb3cbba794 100644
--- a/chrome/browser/guest_view/web_view/context_menu_content_type_web_view.h
+++ b/chrome/browser/guest_view/web_view/context_menu_content_type_web_view.h
@@ -7,6 +7,10 @@
#include "components/renderer_context_menu/context_menu_content_type.h"
+namespace extensions {
+class Extension;
+}
+
// A ContextMenuContentType for <webview> guest.
// Guests are rendered inside chrome apps, but have most of the actions
// that a regular web page has. Currently actions/items that are suppressed from
@@ -21,6 +25,7 @@ class ContextMenuContentTypeWebView : public ContextMenuContentType {
protected:
ContextMenuContentTypeWebView(content::WebContents* web_contents,
const content::ContextMenuParams& params);
+ const extensions::Extension* GetExtension() const;
lazyboy 2015/04/30 16:33:31 This should be private. Also the other GetExtensio
Deepak 2015/05/02 06:25:20 Done.
private:
friend class ContextMenuContentTypeFactory;

Powered by Google App Engine
This is Rietveld 408576698