| Index: content/public/browser/web_contents.h
|
| diff --git a/content/public/browser/web_contents.h b/content/public/browser/web_contents.h
|
| index b7f67e46eaef8e423c4d24d3ff9753bdd5ed2de1..368c9d8f75de6998074e38e04f6d72a6c7a8e67b 100644
|
| --- a/content/public/browser/web_contents.h
|
| +++ b/content/public/browser/web_contents.h
|
| @@ -98,7 +98,8 @@ class WebContents : public PageNavigator,
|
| // the SessionStorageNamespaceMap of the WebContents. This can happen if
|
| // you duplicate a WebContents, try to reconstitute it from a saved state,
|
| // or when you create a new WebContents based on another one (eg., when
|
| - // servicing a window.open() call).
|
| + // servicing a window.open() call). If |opener| is non-NULL, the created
|
| + // WebContents will have its opener set to |opener|.
|
| //
|
| // You do not want to call this. If you think you do, make sure you completely
|
| // understand when SessionStorageNamespace objects should be cloned, why
|
| @@ -106,7 +107,8 @@ class WebContents : public PageNavigator,
|
| // can happen if you share the object.
|
| CONTENT_EXPORT static WebContents* CreateWithSessionStorage(
|
| const CreateParams& params,
|
| - const SessionStorageNamespaceMap& session_storage_namespace_map);
|
| + const SessionStorageNamespaceMap& session_storage_namespace_map,
|
| + WebContents* opener);
|
|
|
| // Adds/removes a callback called on creation of each new WebContents.
|
| typedef base::Callback<void(WebContents*)> CreatedCallback;
|
|
|