Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(213)

Side by Side Diff: third_party/WebKit/Source/web/WebRemoteFrameImpl.h

Issue 2797813002: Replicate feature policy container policies. (Closed)
Patch Set: Addressing review comments Created 3 years, 8 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
OLDNEW
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 "platform/wtf/Compiler.h" 10 #include "platform/wtf/Compiler.h"
(...skipping 109 matching lines...) Expand 10 before | Expand all | Expand 10 after
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* previous_sibling, 129 WebFrame* previous_sibling,
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& parsed_header) override; 144 const WebParsedFeaturePolicy& parsed_header) override;
143 void AddReplicatedContentSecurityPolicyHeader( 145 void AddReplicatedContentSecurityPolicyHeader(
144 const WebString& header_value, 146 const WebString& header_value,
(...skipping 34 matching lines...) Expand 10 before | Expand all | Expand 10 after
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
OLDNEW
« no previous file with comments | « third_party/WebKit/Source/web/WebLocalFrameImpl.cpp ('k') | third_party/WebKit/Source/web/WebRemoteFrameImpl.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698