OLD | NEW |
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 Loading... |
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 502 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
744 // Overwrites the given URL to use an HTML5 embed if possible. | 744 // Overwrites the given URL to use an HTML5 embed if possible. |
745 // An empty URL is returned if the URL is not overriden. | 745 // An empty URL is returned if the URL is not overriden. |
746 virtual WebURL overrideFlashEmbedWithHTML(const WebURL& url) { | 746 virtual WebURL overrideFlashEmbedWithHTML(const WebURL& url) { |
747 return WebURL(); | 747 return WebURL(); |
748 } | 748 } |
749 }; | 749 }; |
750 | 750 |
751 } // namespace blink | 751 } // namespace blink |
752 | 752 |
753 #endif | 753 #endif |
OLD | NEW |