| 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/WebFeaturePolicy.h" | 8 #include "public/platform/WebFeaturePolicy.h" |
| 9 #include "public/platform/WebInsecureRequestPolicy.h" | 9 #include "public/platform/WebInsecureRequestPolicy.h" |
| 10 #include "public/web/WebContentSecurityPolicy.h" | 10 #include "public/web/WebContentSecurityPolicy.h" |
| (...skipping 42 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 53 virtual void setReplicatedOrigin(const WebSecurityOrigin&) const = 0; | 53 virtual void setReplicatedOrigin(const WebSecurityOrigin&) const = 0; |
| 54 | 54 |
| 55 // Set sandbox flags replicated from another process. | 55 // Set sandbox flags replicated from another process. |
| 56 virtual void setReplicatedSandboxFlags(WebSandboxFlags) const = 0; | 56 virtual void setReplicatedSandboxFlags(WebSandboxFlags) const = 0; |
| 57 | 57 |
| 58 // Set frame |name| and |uniqueName| replicated from another process. | 58 // Set frame |name| and |uniqueName| replicated from another process. |
| 59 virtual void setReplicatedName(const WebString& name, | 59 virtual void setReplicatedName(const WebString& name, |
| 60 const WebString& uniqueName) const = 0; | 60 const WebString& uniqueName) const = 0; |
| 61 | 61 |
| 62 virtual void setReplicatedFeaturePolicyHeader( | 62 virtual void setReplicatedFeaturePolicyHeader( |
| 63 const WebParsedFeaturePolicy& parsedHeader) const = 0; | 63 const WebParsedFeaturePolicyHeader& parsedHeader) const = 0; |
| 64 | 64 |
| 65 // Adds |header| to the set of replicated CSP headers. | 65 // Adds |header| to the set of replicated CSP headers. |
| 66 virtual void addReplicatedContentSecurityPolicyHeader( | 66 virtual void addReplicatedContentSecurityPolicyHeader( |
| 67 const WebString& headerValue, | 67 const WebString& headerValue, |
| 68 WebContentSecurityPolicyType, | 68 WebContentSecurityPolicyType, |
| 69 WebContentSecurityPolicySource) const = 0; | 69 WebContentSecurityPolicySource) const = 0; |
| 70 | 70 |
| 71 // Resets replicated CSP headers to an empty set. | 71 // Resets replicated CSP headers to an empty set. |
| 72 virtual void resetReplicatedContentSecurityPolicy() const = 0; | 72 virtual void resetReplicatedContentSecurityPolicy() const = 0; |
| 73 | 73 |
| (...skipping 33 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 107 // to call these on a WebRemoteFrame. | 107 // to call these on a WebRemoteFrame. |
| 108 bool isWebLocalFrame() const override = 0; | 108 bool isWebLocalFrame() const override = 0; |
| 109 WebLocalFrame* toWebLocalFrame() override = 0; | 109 WebLocalFrame* toWebLocalFrame() override = 0; |
| 110 bool isWebRemoteFrame() const override = 0; | 110 bool isWebRemoteFrame() const override = 0; |
| 111 WebRemoteFrame* toWebRemoteFrame() override = 0; | 111 WebRemoteFrame* toWebRemoteFrame() override = 0; |
| 112 }; | 112 }; |
| 113 | 113 |
| 114 } // namespace blink | 114 } // namespace blink |
| 115 | 115 |
| 116 #endif // WebRemoteFrame_h | 116 #endif // WebRemoteFrame_h |
| OLD | NEW |