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 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 47 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
58 virtual void setReplicatedOrigin(const WebSecurityOrigin&) const = 0; | 58 virtual void setReplicatedOrigin(const WebSecurityOrigin&) const = 0; |
59 | 59 |
60 // Set sandbox flags replicated from another process. | 60 // Set sandbox flags replicated from another process. |
61 virtual void setReplicatedSandboxFlags(WebSandboxFlags) const = 0; | 61 virtual void setReplicatedSandboxFlags(WebSandboxFlags) const = 0; |
62 | 62 |
63 // Set frame |name| and |uniqueName| replicated from another process. | 63 // Set frame |name| and |uniqueName| replicated from another process. |
64 virtual void setReplicatedName(const WebString& name, | 64 virtual void setReplicatedName(const WebString& name, |
65 const WebString& uniqueName) const = 0; | 65 const WebString& uniqueName) const = 0; |
66 | 66 |
67 virtual void setReplicatedFeaturePolicyHeader( | 67 virtual void setReplicatedFeaturePolicyHeader( |
68 const WebParsedFeaturePolicyHeader& parsedHeader) const = 0; | 68 const WebParsedFeaturePolicy& parsedHeader) const = 0; |
69 | 69 |
70 // Adds |header| to the set of replicated CSP headers. | 70 // Adds |header| to the set of replicated CSP headers. |
71 virtual void addReplicatedContentSecurityPolicyHeader( | 71 virtual void addReplicatedContentSecurityPolicyHeader( |
72 const WebString& headerValue, | 72 const WebString& headerValue, |
73 WebContentSecurityPolicyType, | 73 WebContentSecurityPolicyType, |
74 WebContentSecurityPolicySource) const = 0; | 74 WebContentSecurityPolicySource) const = 0; |
75 | 75 |
76 // Resets replicated CSP headers to an empty set. | 76 // Resets replicated CSP headers to an empty set. |
77 virtual void resetReplicatedContentSecurityPolicy() const = 0; | 77 virtual void resetReplicatedContentSecurityPolicy() const = 0; |
78 | 78 |
(...skipping 32 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
111 // to call these on a WebRemoteFrame. | 111 // to call these on a WebRemoteFrame. |
112 bool isWebLocalFrame() const override = 0; | 112 bool isWebLocalFrame() const override = 0; |
113 WebLocalFrame* toWebLocalFrame() override = 0; | 113 WebLocalFrame* toWebLocalFrame() override = 0; |
114 bool isWebRemoteFrame() const override = 0; | 114 bool isWebRemoteFrame() const override = 0; |
115 WebRemoteFrame* toWebRemoteFrame() override = 0; | 115 WebRemoteFrame* toWebRemoteFrame() override = 0; |
116 }; | 116 }; |
117 | 117 |
118 } // namespace blink | 118 } // namespace blink |
119 | 119 |
120 #endif // WebRemoteFrame_h | 120 #endif // WebRemoteFrame_h |
OLD | NEW |