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

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

Issue 354483004: Implement <appview> (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@app_view_skeleton
Patch Set: Added tests Created 6 years, 6 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/guest_view_manager.h
diff --git a/chrome/browser/guest_view/guest_view_manager.h b/chrome/browser/guest_view/guest_view_manager.h
index 4e13efa4c662e2b4088998ee389d88833c8ae1dc..68a358033c32e4a78480fe707d56ee91507363fd 100644
--- a/chrome/browser/guest_view/guest_view_manager.h
+++ b/chrome/browser/guest_view/guest_view_manager.h
@@ -14,6 +14,7 @@
#include "content/public/browser/site_instance.h"
#include "content/public/browser/web_contents.h"
+class AppViewGuest;
class GuestViewBase;
class GuestViewManagerFactory;
class GuestWebContentsObserver;
@@ -78,6 +79,7 @@ class GuestViewManager : public content::BrowserPluginGuestManager,
const GuestCallback& callback) OVERRIDE;
protected:
+ friend class AppViewGuest;
friend class GuestViewBase;
friend class GuestWebContentsObserver;
friend class guestview::TestGuestViewManager;
@@ -90,8 +92,7 @@ class GuestViewManager : public content::BrowserPluginGuestManager,
void RemoveGuest(int guest_instance_id);
content::WebContents* GetGuestByInstanceID(
lazyboy 2014/07/07 21:34:44 nit: can fit in one line.
Fady Samuel 2014/07/08 15:47:09 Done.
- int guest_instance_id,
- int embedder_render_process_id);
+ int guest_instance_id);
bool CanEmbedderAccessInstanceIDMaybeKill(
int embedder_render_process_id,

Powered by Google App Engine
This is Rietveld 408576698