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

Unified Diff: chrome/browser/guest_view/app_view/app_view_guest.h

Issue 426593007: Refactor guest view availability to be API not permission based. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 6 years, 5 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/app_view/app_view_guest.h
diff --git a/chrome/browser/guest_view/app_view/app_view_guest.h b/chrome/browser/guest_view/app_view/app_view_guest.h
index 87aa89c5a9183e3b26bf8253045bffe08b36b66e..3d729927fbc80ef87577f3f3a809e00f7fddfac0 100644
--- a/chrome/browser/guest_view/app_view/app_view_guest.h
+++ b/chrome/browser/guest_view/app_view/app_view_guest.h
@@ -47,8 +47,7 @@ class AppViewGuest : public GuestView<AppViewGuest>,
const content::ContextMenuParams& params) OVERRIDE;
// GuestViewBase implementation.
- virtual bool CanEmbedderUseGuestView(
- const std::string& embedder_extension_id) OVERRIDE;
+ virtual extensions::Feature* GetFeature() OVERRIDE;
virtual void CreateWebContents(
const std::string& embedder_extension_id,
int embedder_render_process_id,

Powered by Google App Engine
This is Rietveld 408576698