| 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(ScriptState*) const override; | 80 CustomElementsRegistry* customElementsForBindings(ScriptState*) const overri
de; |
| 81 | 81 |
| 82 void frameDetached(); | 82 void frameDetached(); |
| 83 | 83 |
| 84 protected: | 84 protected: |
| 85 // Protected DOMWindow overrides: | 85 // Protected DOMWindow overrides: |
| 86 void schedulePostMessage(MessageEvent*, PassRefPtr<SecurityOrigin> target, D
ocument* source) override; | 86 void schedulePostMessage(MessageEvent*, PassRefPtr<SecurityOrigin> target, D
ocument* source) override; |
| 87 | 87 |
| 88 private: | 88 private: |
| 89 explicit RemoteDOMWindow(RemoteFrame&); | 89 explicit RemoteDOMWindow(RemoteFrame&); |
| 90 | 90 |
| 91 Member<RemoteFrame> m_frame; | 91 Member<RemoteFrame> m_frame; |
| 92 }; | 92 }; |
| 93 | 93 |
| 94 } // namespace blink | 94 } // namespace blink |
| 95 | 95 |
| 96 #endif // DOMWindow_h | 96 #endif // DOMWindow_h |
| OLD | NEW |