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" |
(...skipping 109 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
120 static WebRemoteFrameImpl* fromFrame(RemoteFrame&); | 120 static WebRemoteFrameImpl* fromFrame(RemoteFrame&); |
121 | 121 |
122 // WebRemoteFrame methods: | 122 // WebRemoteFrame methods: |
123 WebLocalFrame* createLocalChild(WebTreeScopeType, | 123 WebLocalFrame* createLocalChild(WebTreeScopeType, |
124 const WebString& name, | 124 const WebString& name, |
125 WebSandboxFlags, | 125 WebSandboxFlags, |
126 WebFrameClient*, | 126 WebFrameClient*, |
127 blink::InterfaceProvider*, | 127 blink::InterfaceProvider*, |
128 blink::InterfaceRegistry*, | 128 blink::InterfaceRegistry*, |
129 WebFrame* previousSibling, | 129 WebFrame* previousSibling, |
| 130 const WebParsedFeaturePolicy&, |
130 const WebFrameOwnerProperties&, | 131 const WebFrameOwnerProperties&, |
131 WebFrame* opener) override; | 132 WebFrame* opener) override; |
132 WebRemoteFrame* createRemoteChild(WebTreeScopeType, | 133 WebRemoteFrame* createRemoteChild(WebTreeScopeType, |
133 const WebString& name, | 134 const WebString& name, |
134 WebSandboxFlags, | 135 WebSandboxFlags, |
| 136 const WebParsedFeaturePolicy&, |
135 WebRemoteFrameClient*, | 137 WebRemoteFrameClient*, |
136 WebFrame* opener) override; | 138 WebFrame* opener) override; |
137 void setWebLayer(WebLayer*) override; | 139 void setWebLayer(WebLayer*) override; |
138 void setReplicatedOrigin(const WebSecurityOrigin&) override; | 140 void setReplicatedOrigin(const WebSecurityOrigin&) override; |
139 void setReplicatedSandboxFlags(WebSandboxFlags) override; | 141 void setReplicatedSandboxFlags(WebSandboxFlags) override; |
140 void setReplicatedName(const WebString&) override; | 142 void setReplicatedName(const WebString&) override; |
141 void setReplicatedFeaturePolicyHeader( | 143 void setReplicatedFeaturePolicyHeader( |
142 const WebParsedFeaturePolicy& parsedHeader) override; | 144 const WebParsedFeaturePolicy& parsedHeader) override; |
143 void addReplicatedContentSecurityPolicyHeader( | 145 void addReplicatedContentSecurityPolicyHeader( |
144 const WebString& headerValue, | 146 const WebString& headerValue, |
(...skipping 34 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
179 | 181 |
180 DEFINE_TYPE_CASTS(WebRemoteFrameImpl, | 182 DEFINE_TYPE_CASTS(WebRemoteFrameImpl, |
181 WebFrame, | 183 WebFrame, |
182 frame, | 184 frame, |
183 frame->isWebRemoteFrame(), | 185 frame->isWebRemoteFrame(), |
184 frame.isWebRemoteFrame()); | 186 frame.isWebRemoteFrame()); |
185 | 187 |
186 } // namespace blink | 188 } // namespace blink |
187 | 189 |
188 #endif // WebRemoteFrameImpl_h | 190 #endif // WebRemoteFrameImpl_h |
OLD | NEW |