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 scrollBy(const ScrollToOptions&) const override; | 70 void scrollBy(const ScrollToOptions&) const override; |
71 void scrollTo(double x, double y) const override; | 71 void scrollTo(double x, double y) const override; |
72 void scrollTo(const ScrollToOptions&) const override; | 72 void scrollTo(const ScrollToOptions&) const override; |
73 void moveBy(int x, int y, bool hasX, bool hasY) const override; | 73 void moveBy(int x, int y, bool hasX, bool hasY) const override; |
74 void moveTo(int x, int y, bool hasX, bool hasY) const override; | 74 void moveTo(int x, int y, bool hasX, bool hasY) const override; |
75 void resizeBy(int x, int y, bool hasX, bool hasY) const override; | 75 void resizeBy(int x, int y, bool hasX, bool hasY) const override; |
76 void resizeTo(int width, int height, bool hasWidth, bool hasHeight) const ov
erride; | 76 void resizeTo(int width, int height, bool hasWidth, bool hasHeight) const ov
erride; |
77 PassRefPtrWillBeRawPtr<MediaQueryList> matchMedia(const String&) override; | 77 PassRefPtrWillBeRawPtr<MediaQueryList> matchMedia(const String&) override; |
78 PassRefPtrWillBeRawPtr<CSSStyleDeclaration> getComputedStyle(Element*, const
String& pseudoElt) const override; | 78 PassRefPtrWillBeRawPtr<CSSStyleDeclaration> getComputedStyle(Element*, const
String& pseudoElt) const override; |
79 PassRefPtrWillBeRawPtr<CSSRuleList> getMatchedCSSRules(Element*, const Strin
g& pseudoElt) const override; | 79 PassRefPtrWillBeRawPtr<CSSRuleList> getMatchedCSSRules(Element*, const Strin
g& pseudoElt) const override; |
80 int requestAnimationFrame(RequestAnimationFrameCallback*) override; | 80 int requestAnimationFrame(FrameRequestCallback*) override; |
81 int webkitRequestAnimationFrame(RequestAnimationFrameCallback*) override; | 81 int webkitRequestAnimationFrame(FrameRequestCallback*) override; |
82 void cancelAnimationFrame(int id) override; | 82 void cancelAnimationFrame(int id) override; |
83 String sanitizedCrossDomainAccessErrorMessage(LocalDOMWindow* callingWindow)
override; | 83 String sanitizedCrossDomainAccessErrorMessage(LocalDOMWindow* callingWindow)
override; |
84 String crossDomainAccessErrorMessage(LocalDOMWindow* callingWindow) override
; | 84 String crossDomainAccessErrorMessage(LocalDOMWindow* callingWindow) override
; |
85 | 85 |
86 private: | 86 private: |
87 explicit RemoteDOMWindow(RemoteFrame&); | 87 explicit RemoteDOMWindow(RemoteFrame&); |
88 | 88 |
89 RawPtrWillBeMember<RemoteFrame> m_frame; | 89 RawPtrWillBeMember<RemoteFrame> m_frame; |
90 }; | 90 }; |
91 | 91 |
92 } // namespace blink | 92 } // namespace blink |
93 | 93 |
94 #endif // DOMWindow_h | 94 #endif // DOMWindow_h |
OLD | NEW |