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 "platform/heap/SelfKeepAlive.h" | 9 #include "platform/heap/SelfKeepAlive.h" |
10 #include "public/platform/WebInsecureRequestPolicy.h" | 10 #include "public/platform/WebInsecureRequestPolicy.h" |
11 #include "public/web/WebRemoteFrame.h" | 11 #include "public/web/WebRemoteFrame.h" |
12 #include "public/web/WebRemoteFrameClient.h" | 12 #include "public/web/WebRemoteFrameClient.h" |
13 #include "web/RemoteFrameClientImpl.h" | 13 #include "web/RemoteFrameClientImpl.h" |
14 #include "web/WebExport.h" | 14 #include "web/WebExport.h" |
15 #include "web/WebFrameImplBase.h" | 15 #include "web/WebFrameImplBase.h" |
16 #include "wtf/Compiler.h" | 16 #include "wtf/Compiler.h" |
| 17 #include "wtf/OwnPtr.h" |
17 | 18 |
18 namespace blink { | 19 namespace blink { |
19 | 20 |
20 class FrameHost; | 21 class FrameHost; |
21 class FrameOwner; | 22 class FrameOwner; |
22 class RemoteFrame; | 23 class RemoteFrame; |
23 enum class WebFrameLoadType; | 24 enum class WebFrameLoadType; |
24 | 25 |
25 class WEB_EXPORT WebRemoteFrameImpl final : public WebFrameImplBase, WTF_NON_EXP
ORTED_BASE(public WebRemoteFrame) { | 26 class WEB_EXPORT WebRemoteFrameImpl final : public WebFrameImplBase, WTF_NON_EXP
ORTED_BASE(public WebRemoteFrame) { |
26 public: | 27 public: |
(...skipping 161 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
188 // Accomplish that by keeping a self-referential Persistent<>. It is | 189 // Accomplish that by keeping a self-referential Persistent<>. It is |
189 // cleared upon close(). | 190 // cleared upon close(). |
190 SelfKeepAlive<WebRemoteFrameImpl> m_selfKeepAlive; | 191 SelfKeepAlive<WebRemoteFrameImpl> m_selfKeepAlive; |
191 }; | 192 }; |
192 | 193 |
193 DEFINE_TYPE_CASTS(WebRemoteFrameImpl, WebFrame, frame, frame->isWebRemoteFrame()
, frame.isWebRemoteFrame()); | 194 DEFINE_TYPE_CASTS(WebRemoteFrameImpl, WebFrame, frame, frame->isWebRemoteFrame()
, frame.isWebRemoteFrame()); |
194 | 195 |
195 } // namespace blink | 196 } // namespace blink |
196 | 197 |
197 #endif // WebRemoteFrameImpl_h | 198 #endif // WebRemoteFrameImpl_h |
OLD | NEW |