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

Side by Side Diff: third_party/WebKit/Source/core/frame/RemoteDOMWindow.h

Issue 1487253006: Explicitly detach remote window from its frame. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 5 years 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 unified diff | Download patch
« no previous file with comments | « no previous file | third_party/WebKit/Source/core/frame/RemoteDOMWindow.cpp » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 // Copyright 2014 The Chromium Authors. All rights reserved. 1 // Copyright 2014 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be 2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file. 3 // found in the LICENSE file.
4 4
5 #ifndef RemoteDOMWindow_h 5 #ifndef RemoteDOMWindow_h
6 #define RemoteDOMWindow_h 6 #define RemoteDOMWindow_h
7 7
8 #include "core/frame/DOMWindow.h" 8 #include "core/frame/DOMWindow.h"
9 #include "core/frame/RemoteFrame.h" 9 #include "core/frame/RemoteFrame.h"
10 10
(...skipping 62 matching lines...) Expand 10 before | Expand all | Expand 10 after
73 void resizeTo(int width, int height) const override; 73 void resizeTo(int width, int height) const override;
74 PassRefPtrWillBeRawPtr<MediaQueryList> matchMedia(const String&) override; 74 PassRefPtrWillBeRawPtr<MediaQueryList> matchMedia(const String&) override;
75 PassRefPtrWillBeRawPtr<CSSStyleDeclaration> getComputedStyle(Element*, const String& pseudoElt) const override; 75 PassRefPtrWillBeRawPtr<CSSStyleDeclaration> getComputedStyle(Element*, const String& pseudoElt) const override;
76 PassRefPtrWillBeRawPtr<CSSRuleList> getMatchedCSSRules(Element*, const Strin g& pseudoElt) const override; 76 PassRefPtrWillBeRawPtr<CSSRuleList> getMatchedCSSRules(Element*, const Strin g& pseudoElt) const override;
77 int requestAnimationFrame(FrameRequestCallback*) override; 77 int requestAnimationFrame(FrameRequestCallback*) override;
78 int webkitRequestAnimationFrame(FrameRequestCallback*) override; 78 int webkitRequestAnimationFrame(FrameRequestCallback*) override;
79 void cancelAnimationFrame(int id) override; 79 void cancelAnimationFrame(int id) override;
80 int requestIdleCallback(IdleRequestCallback*, const IdleRequestOptions&) ove rride; 80 int requestIdleCallback(IdleRequestCallback*, const IdleRequestOptions&) ove rride;
81 void cancelIdleCallback(int id) override; 81 void cancelIdleCallback(int id) override;
82 82
83 void frameDetached();
84
83 private: 85 private:
84 explicit RemoteDOMWindow(RemoteFrame&); 86 explicit RemoteDOMWindow(RemoteFrame&);
85 87
86 RawPtrWillBeMember<RemoteFrame> m_frame; 88 RawPtrWillBeMember<RemoteFrame> m_frame;
87 }; 89 };
88 90
89 } // namespace blink 91 } // namespace blink
90 92
91 #endif // DOMWindow_h 93 #endif // DOMWindow_h
OLDNEW
« no previous file with comments | « no previous file | third_party/WebKit/Source/core/frame/RemoteDOMWindow.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698