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

Unified Diff: content/public/browser/web_contents.h

Issue 336283002: Remove GuestWebContentsCreated (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@simplify_creation
Patch Set: Fix diff 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: content/public/browser/web_contents.h
diff --git a/content/public/browser/web_contents.h b/content/public/browser/web_contents.h
index 0e3887649298e6409a0015d2122e2f71432fd5d8..66ac644692f73d6a29cdb56c8ca5d7f23f9f57ad 100644
--- a/content/public/browser/web_contents.h
+++ b/content/public/browser/web_contents.h
@@ -45,6 +45,7 @@ struct LoadStateWithParam;
namespace content {
class BrowserContext;
+class BrowserPluginGuestDelegate;
class InterstitialPage;
class PageState;
class RenderFrameHost;
@@ -109,13 +110,8 @@ class WebContents : public PageNavigator,
// True if the contents should be initially hidden.
bool initially_hidden;
- // If this instance ID is non-zero then it indicates that this WebContents
- // should behave as a guest.
- int guest_instance_id;
-
- // TODO(fsamuel): This is temporary. Remove this once all guests are created
- // from the content embedder.
- scoped_ptr<base::DictionaryValue> guest_extra_params;
+ // If non-null then this WebContents will be hosted by a BrowserPlugin.
+ BrowserPluginGuestDelegate* guest_delegate;
// Used to specify the location context which display the new view should
// belong. This can be NULL if not needed.

Powered by Google App Engine
This is Rietveld 408576698