| Index: third_party/WebKit/Source/bindings/core/v8/WindowProxy.h
|
| diff --git a/third_party/WebKit/Source/bindings/core/v8/WindowProxy.h b/third_party/WebKit/Source/bindings/core/v8/WindowProxy.h
|
| index f42a069a37c75a683c9e6b2b8f4c576b8be76f6b..7143fa4c1dedd5d790a5e56388e1a9e574cd8ffe 100644
|
| --- a/third_party/WebKit/Source/bindings/core/v8/WindowProxy.h
|
| +++ b/third_party/WebKit/Source/bindings/core/v8/WindowProxy.h
|
| @@ -151,6 +151,7 @@ class WindowProxy : public GarbageCollectedFinalized<WindowProxy> {
|
|
|
| void ClearForClose();
|
| void ClearForNavigation();
|
| + void ClearForSwap();
|
|
|
| CORE_EXPORT v8::Local<v8::Object> GlobalProxyIfNotDetached();
|
| v8::Local<v8::Object> ReleaseGlobalProxy();
|
| @@ -162,6 +163,8 @@ class WindowProxy : public GarbageCollectedFinalized<WindowProxy> {
|
|
|
| virtual bool IsLocal() const { return false; }
|
|
|
| + enum FrameReuseStatus { kFrameWillNotBeReused, kFrameWillBeReused };
|
| +
|
| protected:
|
| // Lifecycle represents the following four states.
|
| //
|
| @@ -227,7 +230,7 @@ class WindowProxy : public GarbageCollectedFinalized<WindowProxy> {
|
|
|
| virtual void Initialize() = 0;
|
|
|
| - virtual void DisposeContext(Lifecycle next_status) = 0;
|
| + virtual void DisposeContext(Lifecycle next_status, FrameReuseStatus) = 0;
|
|
|
| WARN_UNUSED_RESULT v8::Local<v8::Object> AssociateWithWrapper(
|
| DOMWindow*,
|
|
|