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

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

Issue 2648423002: Rename feature policy classes. (Closed)
Patch Set: Rebase Created 3 years, 11 months 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/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
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 35 matching lines...) Expand 10 before | Expand all | Expand 10 after
109 // to call these on a WebRemoteFrame. 109 // to call these on a WebRemoteFrame.
110 bool isWebLocalFrame() const override = 0; 110 bool isWebLocalFrame() const override = 0;
111 WebLocalFrame* toWebLocalFrame() override = 0; 111 WebLocalFrame* toWebLocalFrame() override = 0;
112 bool isWebRemoteFrame() const override = 0; 112 bool isWebRemoteFrame() const override = 0;
113 WebRemoteFrame* toWebRemoteFrame() override = 0; 113 WebRemoteFrame* toWebRemoteFrame() override = 0;
114 }; 114 };
115 115
116 } // namespace blink 116 } // namespace blink
117 117
118 #endif // WebRemoteFrame_h 118 #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