| 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/RemoteFrame.h" | 8 #include "core/frame/RemoteFrame.h" |
| 9 #include "public/web/WebRemoteFrame.h" | 9 #include "public/web/WebRemoteFrame.h" |
| 10 #include "public/web/WebRemoteFrameClient.h" | 10 #include "public/web/WebRemoteFrameClient.h" |
| (...skipping 123 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 134 | 134 |
| 135 bool selectionStartHasSpellingMarkerFor(int from, int length) const override
; | 135 bool selectionStartHasSpellingMarkerFor(int from, int length) const override
; |
| 136 WebString layerTreeAsText(bool showDebugInfo = false) const override; | 136 WebString layerTreeAsText(bool showDebugInfo = false) const override; |
| 137 | 137 |
| 138 WebFrameImplBase* toImplBase() { return this; } | 138 WebFrameImplBase* toImplBase() { return this; } |
| 139 | 139 |
| 140 // WebFrameImplBase methods: | 140 // WebFrameImplBase methods: |
| 141 void initializeCoreFrame(FrameHost*, FrameOwner*, const AtomicString& name,
const AtomicString& uniqueName) override; | 141 void initializeCoreFrame(FrameHost*, FrameOwner*, const AtomicString& name,
const AtomicString& uniqueName) override; |
| 142 RemoteFrame* frame() const override { return m_frame.get(); } | 142 RemoteFrame* frame() const override { return m_frame.get(); } |
| 143 | 143 |
| 144 void setCoreFrame(RawPtr<RemoteFrame>); | 144 void setCoreFrame(RemoteFrame*); |
| 145 | 145 |
| 146 WebRemoteFrameClient* client() const { return m_client; } | 146 WebRemoteFrameClient* client() const { return m_client; } |
| 147 | 147 |
| 148 static WebRemoteFrameImpl* fromFrame(RemoteFrame&); | 148 static WebRemoteFrameImpl* fromFrame(RemoteFrame&); |
| 149 | 149 |
| 150 // WebRemoteFrame methods: | 150 // WebRemoteFrame methods: |
| 151 WebLocalFrame* createLocalChild(WebTreeScopeType, const WebString& name, con
st WebString& uniqueName, WebSandboxFlags, WebFrameClient*, WebFrame* previousSi
bling, const WebFrameOwnerProperties&, WebFrame* opener) override; | 151 WebLocalFrame* createLocalChild(WebTreeScopeType, const WebString& name, con
st WebString& uniqueName, WebSandboxFlags, WebFrameClient*, WebFrame* previousSi
bling, const WebFrameOwnerProperties&, WebFrame* opener) override; |
| 152 WebRemoteFrame* createRemoteChild(WebTreeScopeType, const WebString& name, c
onst WebString& uniqueName, WebSandboxFlags, WebRemoteFrameClient*, WebFrame* op
ener) override; | 152 WebRemoteFrame* createRemoteChild(WebTreeScopeType, const WebString& name, c
onst WebString& uniqueName, WebSandboxFlags, WebRemoteFrameClient*, WebFrame* op
ener) override; |
| 153 | 153 |
| 154 void initializeFromFrame(WebLocalFrame*) const override; | 154 void initializeFromFrame(WebLocalFrame*) const override; |
| (...skipping 34 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 189 // cleared upon close(). | 189 // cleared upon close(). |
| 190 SelfKeepAlive<WebRemoteFrameImpl> m_selfKeepAlive; | 190 SelfKeepAlive<WebRemoteFrameImpl> m_selfKeepAlive; |
| 191 #endif | 191 #endif |
| 192 }; | 192 }; |
| 193 | 193 |
| 194 DEFINE_TYPE_CASTS(WebRemoteFrameImpl, WebFrame, frame, frame->isWebRemoteFrame()
, frame.isWebRemoteFrame()); | 194 DEFINE_TYPE_CASTS(WebRemoteFrameImpl, WebFrame, frame, frame->isWebRemoteFrame()
, frame.isWebRemoteFrame()); |
| 195 | 195 |
| 196 } // namespace blink | 196 } // namespace blink |
| 197 | 197 |
| 198 #endif // WebRemoteFrameImpl_h | 198 #endif // WebRemoteFrameImpl_h |
| OLD | NEW |