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

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: Addressing nit. Created 5 years, 7 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
« no previous file with comments | « no previous file | chrome/browser/guest_view/web_view/context_menu_content_type_web_view.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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..d41249816418c7947636167cd592dfc55995c0f2 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
@@ -25,6 +29,8 @@ class ContextMenuContentTypeWebView : public ContextMenuContentType {
private:
friend class ContextMenuContentTypeFactory;
+ const extensions::Extension* GetExtension() const;
+
DISALLOW_COPY_AND_ASSIGN(ContextMenuContentTypeWebView);
};
« no previous file with comments | « no previous file | chrome/browser/guest_view/web_view/context_menu_content_type_web_view.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698