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

Unified Diff: extensions/browser/guest_view/guest_view_manager.h

Issue 1087123002: Towards Decoupling GuestView from Extensions (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Addressed lazyboy@'s comments. Removed unnecessary includes. Simplified GuestViewEvent. 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: extensions/browser/guest_view/guest_view_manager.h
diff --git a/extensions/browser/guest_view/guest_view_manager.h b/extensions/browser/guest_view/guest_view_manager.h
index 934c46747dd4656b813caf6118ed1df0fbfac3d9..f68d3f5c73ec19b4c7849622abfda706e84e5661 100644
--- a/extensions/browser/guest_view/guest_view_manager.h
+++ b/extensions/browser/guest_view/guest_view_manager.h
@@ -104,6 +104,11 @@ class GuestViewManager : public content::BrowserPluginGuestManager,
// Can be overriden in tests.
virtual void RemoveGuest(int guest_instance_id);
+ // Indicates whether the provided |guest| can be used in the context it has
+ // been created.
+ bool IsGuestAvailableToContext(GuestViewBase* guest,
+ std::string* owner_extension_id);
+
content::WebContents* GetGuestByInstanceID(int guest_instance_id);
bool CanEmbedderAccessInstanceIDMaybeKill(
« no previous file with comments | « extensions/browser/guest_view/guest_view_event.cc ('k') | extensions/browser/guest_view/guest_view_manager.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698