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

Side by Side Diff: third_party/WebKit/public/web/WebRemoteFrame.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
« no previous file with comments | « third_party/WebKit/public/web/WebFrameClient.h ('k') | no next file » | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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 WebRemoteFrame_h 5 #ifndef WebRemoteFrame_h
6 #define WebRemoteFrame_h 6 #define WebRemoteFrame_h
7 7
8 #include "public/platform/WebContentSecurityPolicy.h" 8 #include "public/platform/WebContentSecurityPolicy.h"
9 #include "public/platform/WebFeaturePolicy.h" 9 #include "public/platform/WebFeaturePolicy.h"
10 #include "public/platform/WebInsecureRequestPolicy.h" 10 #include "public/platform/WebInsecureRequestPolicy.h"
(...skipping 22 matching lines...) Expand all
33 // insertion order, so the local child version takes a previous sibling to 33 // insertion order, so the local child version takes a previous sibling to
34 // ensure that it is inserted into the correct location in the list of 34 // ensure that it is inserted into the correct location in the list of
35 // children. 35 // children.
36 virtual WebLocalFrame* CreateLocalChild(WebTreeScopeType, 36 virtual WebLocalFrame* CreateLocalChild(WebTreeScopeType,
37 const WebString& name, 37 const WebString& name,
38 WebSandboxFlags, 38 WebSandboxFlags,
39 WebFrameClient*, 39 WebFrameClient*,
40 blink::InterfaceProvider*, 40 blink::InterfaceProvider*,
41 blink::InterfaceRegistry*, 41 blink::InterfaceRegistry*,
42 WebFrame* previous_sibling, 42 WebFrame* previous_sibling,
43 const WebParsedFeaturePolicy&,
43 const WebFrameOwnerProperties&, 44 const WebFrameOwnerProperties&,
44 WebFrame* opener) = 0; 45 WebFrame* opener) = 0;
45 46
46 virtual WebRemoteFrame* CreateRemoteChild(WebTreeScopeType, 47 virtual WebRemoteFrame* CreateRemoteChild(WebTreeScopeType,
47 const WebString& name, 48 const WebString& name,
48 WebSandboxFlags, 49 WebSandboxFlags,
50 const WebParsedFeaturePolicy&,
49 WebRemoteFrameClient*, 51 WebRemoteFrameClient*,
50 WebFrame* opener) = 0; 52 WebFrame* opener) = 0;
51 53
52 // Layer for the in-process compositor. 54 // Layer for the in-process compositor.
53 virtual void SetWebLayer(WebLayer*) = 0; 55 virtual void SetWebLayer(WebLayer*) = 0;
54 56
55 // Set security origin replicated from another process. 57 // Set security origin replicated from another process.
56 virtual void SetReplicatedOrigin(const WebSecurityOrigin&) = 0; 58 virtual void SetReplicatedOrigin(const WebSecurityOrigin&) = 0;
57 59
58 // Set sandbox flags replicated from another process. 60 // Set sandbox flags replicated from another process.
(...skipping 48 matching lines...) Expand 10 before | Expand all | Expand 10 after
107 // to call these on a WebRemoteFrame. 109 // to call these on a WebRemoteFrame.
108 bool IsWebLocalFrame() const override = 0; 110 bool IsWebLocalFrame() const override = 0;
109 WebLocalFrame* ToWebLocalFrame() override = 0; 111 WebLocalFrame* ToWebLocalFrame() override = 0;
110 bool IsWebRemoteFrame() const override = 0; 112 bool IsWebRemoteFrame() const override = 0;
111 WebRemoteFrame* ToWebRemoteFrame() override = 0; 113 WebRemoteFrame* ToWebRemoteFrame() override = 0;
112 }; 114 };
113 115
114 } // namespace blink 116 } // namespace blink
115 117
116 #endif // WebRemoteFrame_h 118 #endif // WebRemoteFrame_h
OLDNEW
« no previous file with comments | « third_party/WebKit/public/web/WebFrameClient.h ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698