| 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 57 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 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 |
| 74 // Set frame enforcement of insecure request policy replicated from another | 74 // Set frame enforcement of insecure request policy replicated from another |
| 75 // process. | 75 // process. |
| 76 virtual void setReplicatedInsecureRequestPolicy( | 76 virtual void setReplicatedInsecureRequestPolicy( |
| 77 WebInsecureRequestPolicy) const = 0; | 77 WebInsecureRequestPolicy) const = 0; |
| 78 virtual void setReplicatedInsecureNavigationsSet( |
| 79 const std::vector<unsigned>&) const = 0; |
| 78 | 80 |
| 79 // Set the frame to a unique origin that is potentially trustworthy, | 81 // Set the frame to a unique origin that is potentially trustworthy, |
| 80 // replicated from another process. | 82 // replicated from another process. |
| 81 virtual void setReplicatedPotentiallyTrustworthyUniqueOrigin(bool) const = 0; | 83 virtual void setReplicatedPotentiallyTrustworthyUniqueOrigin(bool) const = 0; |
| 82 | 84 |
| 83 virtual void dispatchLoadEventOnFrameOwner() const = 0; | 85 virtual void dispatchLoadEventOnFrameOwner() const = 0; |
| 84 | 86 |
| 85 virtual void didStartLoading() = 0; | 87 virtual void didStartLoading() = 0; |
| 86 virtual void didStopLoading() = 0; | 88 virtual void didStopLoading() = 0; |
| 87 | 89 |
| (...skipping 19 matching lines...) Expand all Loading... |
| 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 |
| OLD | NEW |