Chromium Code Reviews| Index: content/public/browser/web_contents.h |
| diff --git a/content/public/browser/web_contents.h b/content/public/browser/web_contents.h |
| index fd31c1af4e9733b8072a861e635c4d695625d115..7d8196d91fea017a87c34beb034d09fb495ed7bd 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; |
| } |
| @@ -82,6 +83,7 @@ class WebContents : public PageNavigator, |
| public: |
| struct CONTENT_EXPORT CreateParams { |
| explicit CreateParams(BrowserContext* context); |
| + virtual ~CreateParams(); |
|
jam
2014/05/06 23:43:53
why virtual?
Fady Samuel
2014/05/07 00:07:47
No reason. Removed virtual.
|
| CreateParams(BrowserContext* context, SiteInstance* site); |
| BrowserContext* browser_context; |
| @@ -101,6 +103,14 @@ 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; |
| + |
| // Used to specify the location context which display the new view should |
| // belong. This can be NULL if not needed. |
| gfx::NativeView context; |