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

Side by Side Diff: third_party/WebKit/public/web/WebRemoteFrame.h

Issue 2520223002: Replicate a parsed feature policy representation so it doesn't need to be parsed in the browser pro… (Closed)
Patch Set: Replicate a parsed feature policy representation so it doesn't need to be parsed in the browser pro… Created 4 years 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/WebFeaturePolicy.h"
8 #include "public/platform/WebInsecureRequestPolicy.h" 9 #include "public/platform/WebInsecureRequestPolicy.h"
9 #include "public/web/WebContentSecurityPolicy.h" 10 #include "public/web/WebContentSecurityPolicy.h"
10 #include "public/web/WebFrame.h" 11 #include "public/web/WebFrame.h"
11 #include "public/web/WebSandboxFlags.h" 12 #include "public/web/WebSandboxFlags.h"
12 13
13 namespace blink { 14 namespace blink {
14 15
15 enum class WebTreeScopeType; 16 enum class WebTreeScopeType;
16 class WebFrameClient; 17 class WebFrameClient;
17 class WebLayer; 18 class WebLayer;
(...skipping 34 matching lines...) Expand 10 before | Expand all | Expand 10 after
52 virtual void setReplicatedOrigin(const WebSecurityOrigin&) const = 0; 53 virtual void setReplicatedOrigin(const WebSecurityOrigin&) const = 0;
53 54
54 // Set sandbox flags replicated from another process. 55 // Set sandbox flags replicated from another process.
55 virtual void setReplicatedSandboxFlags(WebSandboxFlags) const = 0; 56 virtual void setReplicatedSandboxFlags(WebSandboxFlags) const = 0;
56 57
57 // Set frame |name| and |uniqueName| replicated from another process. 58 // Set frame |name| and |uniqueName| replicated from another process.
58 virtual void setReplicatedName(const WebString& name, 59 virtual void setReplicatedName(const WebString& name,
59 const WebString& uniqueName) const = 0; 60 const WebString& uniqueName) const = 0;
60 61
61 virtual void setReplicatedFeaturePolicyHeader( 62 virtual void setReplicatedFeaturePolicyHeader(
62 const WebString& headerValue) const = 0; 63 const WebParsedFeaturePolicy& parsedHeader) const = 0;
63 64
64 // Adds |header| to the set of replicated CSP headers. 65 // Adds |header| to the set of replicated CSP headers.
65 virtual void addReplicatedContentSecurityPolicyHeader( 66 virtual void addReplicatedContentSecurityPolicyHeader(
66 const WebString& headerValue, 67 const WebString& headerValue,
67 WebContentSecurityPolicyType, 68 WebContentSecurityPolicyType,
68 WebContentSecurityPolicySource) const = 0; 69 WebContentSecurityPolicySource) const = 0;
69 70
70 // Resets replicated CSP headers to an empty set. 71 // Resets replicated CSP headers to an empty set.
71 virtual void resetReplicatedContentSecurityPolicy() const = 0; 72 virtual void resetReplicatedContentSecurityPolicy() const = 0;
72 73
(...skipping 33 matching lines...) Expand 10 before | Expand all | Expand 10 after
106 // to call these on a WebRemoteFrame. 107 // to call these on a WebRemoteFrame.
107 bool isWebLocalFrame() const override = 0; 108 bool isWebLocalFrame() const override = 0;
108 WebLocalFrame* toWebLocalFrame() override = 0; 109 WebLocalFrame* toWebLocalFrame() override = 0;
109 bool isWebRemoteFrame() const override = 0; 110 bool isWebRemoteFrame() const override = 0;
110 WebRemoteFrame* toWebRemoteFrame() override = 0; 111 WebRemoteFrame* toWebRemoteFrame() override = 0;
111 }; 112 };
112 113
113 } // namespace blink 114 } // namespace blink
114 115
115 #endif // WebRemoteFrame_h 116 #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