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 WebRemoteFrameImpl_h | 5 #ifndef WebRemoteFrameImpl_h |
6 #define WebRemoteFrameImpl_h | 6 #define WebRemoteFrameImpl_h |
7 | 7 |
8 #include "core/frame/FrameOwner.h" | 8 #include "core/frame/FrameOwner.h" |
9 #include "platform/heap/Handle.h" | 9 #include "platform/heap/Handle.h" |
10 #include "public/web/WebRemoteFrame.h" | 10 #include "public/web/WebRemoteFrame.h" |
(...skipping 149 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
160 | 160 |
161 WebString contentAsText(size_t maxChars) const override; | 161 WebString contentAsText(size_t maxChars) const override; |
162 WebString contentAsMarkup() const override; | 162 WebString contentAsMarkup() const override; |
163 WebString layoutTreeAsText(LayoutAsTextControls toShow = LayoutAsTextNormal)
const override; | 163 WebString layoutTreeAsText(LayoutAsTextControls toShow = LayoutAsTextNormal)
const override; |
164 WebString markerTextForListItem(const WebElement&) const override; | 164 WebString markerTextForListItem(const WebElement&) const override; |
165 WebRect selectionBoundsRect() const override; | 165 WebRect selectionBoundsRect() const override; |
166 | 166 |
167 bool selectionStartHasSpellingMarkerFor(int from, int length) const override
; | 167 bool selectionStartHasSpellingMarkerFor(int from, int length) const override
; |
168 WebString layerTreeAsText(bool showDebugInfo = false) const override; | 168 WebString layerTreeAsText(bool showDebugInfo = false) const override; |
169 | 169 |
170 WebLocalFrame* createLocalChild(WebTreeScopeType, const WebString& name, Web
SandboxFlags, WebFrameClient*, WebFrame* previousSibling) override; | 170 WebLocalFrame* createLocalChild(WebTreeScopeType, const WebString& name, Web
SandboxFlags, WebFrameClient*, WebFrame* previousSibling, const WebFrameOwnerPro
perties&) override; |
171 WebRemoteFrame* createRemoteChild(WebTreeScopeType, const WebString& name, W
ebSandboxFlags, WebRemoteFrameClient*) override; | 171 WebRemoteFrame* createRemoteChild(WebTreeScopeType, const WebString& name, W
ebSandboxFlags, WebRemoteFrameClient*) override; |
172 | 172 |
173 void initializeCoreFrame(FrameHost*, FrameOwner*, const AtomicString& name); | 173 void initializeCoreFrame(FrameHost*, FrameOwner*, const AtomicString& name); |
174 | 174 |
175 void setCoreFrame(PassRefPtrWillBeRawPtr<RemoteFrame>); | 175 void setCoreFrame(PassRefPtrWillBeRawPtr<RemoteFrame>); |
176 RemoteFrame* frame() const { return m_frame.get(); } | 176 RemoteFrame* frame() const { return m_frame.get(); } |
177 | 177 |
178 WebRemoteFrameClient* client() const { return m_client; } | 178 WebRemoteFrameClient* client() const { return m_client; } |
179 | 179 |
180 static WebRemoteFrameImpl* fromFrame(RemoteFrame&); | 180 static WebRemoteFrameImpl* fromFrame(RemoteFrame&); |
(...skipping 27 matching lines...) Expand all Loading... |
208 // cleared upon close(). | 208 // cleared upon close(). |
209 SelfKeepAlive<WebRemoteFrameImpl> m_selfKeepAlive; | 209 SelfKeepAlive<WebRemoteFrameImpl> m_selfKeepAlive; |
210 #endif | 210 #endif |
211 }; | 211 }; |
212 | 212 |
213 DEFINE_TYPE_CASTS(WebRemoteFrameImpl, WebFrame, frame, frame->isWebRemoteFrame()
, frame.isWebRemoteFrame()); | 213 DEFINE_TYPE_CASTS(WebRemoteFrameImpl, WebFrame, frame, frame->isWebRemoteFrame()
, frame.isWebRemoteFrame()); |
214 | 214 |
215 } // namespace blink | 215 } // namespace blink |
216 | 216 |
217 #endif // WebRemoteFrameImpl_h | 217 #endif // WebRemoteFrameImpl_h |
OLD | NEW |