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

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

Issue 261013005: BrowserPlugin: Move CreateGuest to chrome (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@guestview_manager_simplify_api
Patch Set: Removed AddGuest/RemoveGuest from content API! w00t! Created 6 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: content/public/browser/web_contents.h
diff --git a/content/public/browser/web_contents.h b/content/public/browser/web_contents.h
index 0e0ed9bad84610b17e3bc17707fa81f8faf445f8..b77c05606a2bf5140221210f8aba598dd4ae2485 100644
--- a/content/public/browser/web_contents.h
+++ b/content/public/browser/web_contents.h
@@ -30,6 +30,7 @@
#endif
namespace base {
+class DictionaryValue;
class TimeTicks;
}
@@ -87,6 +88,7 @@ class WebContents : public PageNavigator,
public:
struct CONTENT_EXPORT CreateParams {
explicit CreateParams(BrowserContext* context);
+ virtual ~CreateParams();
CreateParams(BrowserContext* context, SiteInstance* site);
BrowserContext* browser_context;
@@ -106,6 +108,13 @@ class WebContents : public PageNavigator,
// True if the contents should be initially hidden.
bool initially_hidden;
+ // The guest instance to use.
lazyboy 2014/05/02 19:52:52 Need more description about guest since it is in W
Fady Samuel 2014/05/06 20:02:48 Done.
+ int guest_instance_id;
+
+ // TODO(fsmauel): This is temporary. Remove this when WebContents is
+ // created from the chrome layer.
+ scoped_ptr<base::DictionaryValue> guest_extra_params;
+
// Used to specify the location context which display the new view should
// belong. This can be NULL if not needed.
gfx::NativeView context;

Powered by Google App Engine
This is Rietveld 408576698