OLD | NEW |
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 59 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
70 void resizeBy(int x, int y) const override; | 70 void resizeBy(int x, int y) const override; |
71 void resizeTo(int width, int height) const override; | 71 void resizeTo(int width, int height) const override; |
72 MediaQueryList* matchMedia(const String&) override; | 72 MediaQueryList* matchMedia(const String&) override; |
73 CSSStyleDeclaration* getComputedStyle(Element*, const String& pseudoElt) con
st override; | 73 CSSStyleDeclaration* getComputedStyle(Element*, const String& pseudoElt) con
st override; |
74 CSSRuleList* getMatchedCSSRules(Element*, const String& pseudoElt) const ove
rride; | 74 CSSRuleList* getMatchedCSSRules(Element*, const String& pseudoElt) const ove
rride; |
75 int requestAnimationFrame(FrameRequestCallback*) override; | 75 int requestAnimationFrame(FrameRequestCallback*) override; |
76 int webkitRequestAnimationFrame(FrameRequestCallback*) override; | 76 int webkitRequestAnimationFrame(FrameRequestCallback*) override; |
77 void cancelAnimationFrame(int id) override; | 77 void cancelAnimationFrame(int id) override; |
78 int requestIdleCallback(IdleRequestCallback*, const IdleRequestOptions&) ove
rride; | 78 int requestIdleCallback(IdleRequestCallback*, const IdleRequestOptions&) ove
rride; |
79 void cancelIdleCallback(int id) override; | 79 void cancelIdleCallback(int id) override; |
80 CustomElementsRegistry* customElements() const override; | 80 CustomElementsRegistry* customElements(ScriptState*) const override; |
81 | 81 |
82 void frameDetached(); | 82 void frameDetached(); |
83 | 83 |
84 private: | 84 private: |
85 explicit RemoteDOMWindow(RemoteFrame&); | 85 explicit RemoteDOMWindow(RemoteFrame&); |
86 | 86 |
87 Member<RemoteFrame> m_frame; | 87 Member<RemoteFrame> m_frame; |
88 }; | 88 }; |
89 | 89 |
90 } // namespace blink | 90 } // namespace blink |
91 | 91 |
92 #endif // DOMWindow_h | 92 #endif // DOMWindow_h |
OLD | NEW |