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

Side by Side Diff: third_party/WebKit/public/web/WebFrameClient.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
OLDNEW
1 /* 1 /*
2 * Copyright (C) 2011, 2012 Google Inc. All rights reserved. 2 * Copyright (C) 2011, 2012 Google Inc. All rights reserved.
3 * 3 *
4 * Redistribution and use in source and binary forms, with or without 4 * Redistribution and use in source and binary forms, with or without
5 * modification, are permitted provided that the following conditions are 5 * modification, are permitted provided that the following conditions are
6 * met: 6 * met:
7 * 7 *
8 * * Redistributions of source code must retain the above copyright 8 * * Redistributions of source code must retain the above copyright
9 * notice, this list of conditions and the following disclaimer. 9 * notice, this list of conditions and the following disclaimer.
10 * * Redistributions in binary form must reproduce the above 10 * * Redistributions in binary form must reproduce the above
(...skipping 212 matching lines...) Expand 10 before | Expand all | Expand 10 after
223 virtual void didUpdateToUniqueOrigin( 223 virtual void didUpdateToUniqueOrigin(
224 bool isPotentiallyTrustworthyUniqueOrigin) {} 224 bool isPotentiallyTrustworthyUniqueOrigin) {}
225 225
226 // The sandbox flags have changed for a child frame of this frame. 226 // The sandbox flags have changed for a child frame of this frame.
227 virtual void didChangeSandboxFlags(WebFrame* childFrame, 227 virtual void didChangeSandboxFlags(WebFrame* childFrame,
228 WebSandboxFlags flags) {} 228 WebSandboxFlags flags) {}
229 229
230 // Called when a Feature-Policy HTTP header is encountered while loading the 230 // Called when a Feature-Policy HTTP header is encountered while loading the
231 // frame's document. 231 // frame's document.
232 virtual void didSetFeaturePolicyHeader( 232 virtual void didSetFeaturePolicyHeader(
233 const WebParsedFeaturePolicy& parsedHeader) {} 233 const WebParsedFeaturePolicyHeader& parsedHeader) {}
234 234
235 // Called when a new Content Security Policy is added to the frame's 235 // Called when a new Content Security Policy is added to the frame's
236 // document. This can be triggered by handling of HTTP headers, handling 236 // document. This can be triggered by handling of HTTP headers, handling
237 // of <meta> element, or by inheriting CSP from the parent (in case of 237 // of <meta> element, or by inheriting CSP from the parent (in case of
238 // about:blank). 238 // about:blank).
239 virtual void didAddContentSecurityPolicy(const WebString& headerValue, 239 virtual void didAddContentSecurityPolicy(const WebString& headerValue,
240 WebContentSecurityPolicyType, 240 WebContentSecurityPolicyType,
241 WebContentSecurityPolicySource) {} 241 WebContentSecurityPolicySource) {}
242 242
243 // Some frame owner properties have changed for a child frame of this frame. 243 // Some frame owner properties have changed for a child frame of this frame.
(...skipping 514 matching lines...) Expand 10 before | Expand all | Expand 10 after
758 // Overwrites the given URL to use an HTML5 embed if possible. 758 // Overwrites the given URL to use an HTML5 embed if possible.
759 // An empty URL is returned if the URL is not overriden. 759 // An empty URL is returned if the URL is not overriden.
760 virtual WebURL overrideFlashEmbedWithHTML(const WebURL& url) { 760 virtual WebURL overrideFlashEmbedWithHTML(const WebURL& url) {
761 return WebURL(); 761 return WebURL();
762 } 762 }
763 }; 763 };
764 764
765 } // namespace blink 765 } // namespace blink
766 766
767 #endif 767 #endif
OLDNEW
« no previous file with comments | « third_party/WebKit/public/platform/WebFeaturePolicy.h ('k') | third_party/WebKit/public/web/WebRemoteFrame.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698