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