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