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

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

Issue 2739203002: Initial Implementation of Iframe Attribute for Feature Policy (Part 3) (Closed)
Patch Set: Created 3 years, 9 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 210 matching lines...) Expand 10 before | Expand all | Expand 10 after
221 virtual void didUpdateToUniqueOrigin( 221 virtual void didUpdateToUniqueOrigin(
222 bool isPotentiallyTrustworthyUniqueOrigin) {} 222 bool isPotentiallyTrustworthyUniqueOrigin) {}
223 223
224 // The sandbox flags have changed for a child frame of this frame. 224 // The sandbox flags have changed for a child frame of this frame.
225 virtual void didChangeSandboxFlags(WebFrame* childFrame, 225 virtual void didChangeSandboxFlags(WebFrame* childFrame,
226 WebSandboxFlags flags) {} 226 WebSandboxFlags flags) {}
227 227
228 // Called when a Feature-Policy HTTP header is encountered while loading the 228 // Called when a Feature-Policy HTTP header is encountered while loading the
229 // frame's document. 229 // frame's document.
230 virtual void didSetFeaturePolicyHeader( 230 virtual void didSetFeaturePolicyHeader(
231 const WebParsedFeaturePolicyHeader& parsedHeader) {} 231 const WebParsedFeaturePolicy& parsedHeader) {}
232 232
233 // Called when a new Content Security Policy is added to the frame's 233 // Called when a new Content Security Policy is added to the frame's
234 // document. This can be triggered by handling of HTTP headers, handling 234 // document. This can be triggered by handling of HTTP headers, handling
235 // of <meta> element, or by inheriting CSP from the parent (in case of 235 // of <meta> element, or by inheriting CSP from the parent (in case of
236 // about:blank). 236 // about:blank).
237 virtual void didAddContentSecurityPolicy( 237 virtual void didAddContentSecurityPolicy(
238 const WebString& headerValue, 238 const WebString& headerValue,
239 WebContentSecurityPolicyType type, 239 WebContentSecurityPolicyType type,
240 WebContentSecurityPolicySource source, 240 WebContentSecurityPolicySource source,
241 const std::vector<WebContentSecurityPolicyPolicy>& policies) {} 241 const std::vector<WebContentSecurityPolicyPolicy>& policies) {}
(...skipping 512 matching lines...) Expand 10 before | Expand all | Expand 10 after
754 // Overwrites the given URL to use an HTML5 embed if possible. 754 // Overwrites the given URL to use an HTML5 embed if possible.
755 // An empty URL is returned if the URL is not overriden. 755 // An empty URL is returned if the URL is not overriden.
756 virtual WebURL overrideFlashEmbedWithHTML(const WebURL& url) { 756 virtual WebURL overrideFlashEmbedWithHTML(const WebURL& url) {
757 return WebURL(); 757 return WebURL();
758 } 758 }
759 }; 759 };
760 760
761 } // namespace blink 761 } // namespace blink
762 762
763 #endif 763 #endif
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698