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