OLD | NEW |
1 /* | 1 /* |
2 * Copyright (C) 2006, 2007, 2008, 2009, 2010, 2011, 2012 Apple Inc. All rights | 2 * Copyright (C) 2006, 2007, 2008, 2009, 2010, 2011, 2012 Apple Inc. All rights |
3 * reserved. | 3 * reserved. |
4 * Copyright (C) 2012 Google Inc. All rights reserved. | 4 * Copyright (C) 2012 Google Inc. All rights reserved. |
5 * | 5 * |
6 * Redistribution and use in source and binary forms, with or without | 6 * Redistribution and use in source and binary forms, with or without |
7 * modification, are permitted provided that the following conditions | 7 * modification, are permitted provided that the following conditions |
8 * are met: | 8 * are met: |
9 * | 9 * |
10 * 1. Redistributions of source code must retain the above copyright | 10 * 1. Redistributions of source code must retain the above copyright |
(...skipping 254 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
265 | 265 |
266 virtual void didChangeName(const String& name, const String& uniqueName) {} | 266 virtual void didChangeName(const String& name, const String& uniqueName) {} |
267 | 267 |
268 virtual void didEnforceInsecureRequestPolicy(WebInsecureRequestPolicy) {} | 268 virtual void didEnforceInsecureRequestPolicy(WebInsecureRequestPolicy) {} |
269 | 269 |
270 virtual void didUpdateToUniqueOrigin() {} | 270 virtual void didUpdateToUniqueOrigin() {} |
271 | 271 |
272 virtual void didChangeSandboxFlags(Frame* childFrame, SandboxFlags) {} | 272 virtual void didChangeSandboxFlags(Frame* childFrame, SandboxFlags) {} |
273 | 273 |
274 virtual void didSetFeaturePolicyHeader( | 274 virtual void didSetFeaturePolicyHeader( |
275 const WebParsedFeaturePolicyHeader& parsedHeader) {} | 275 const WebParsedFeaturePolicy& parsedHeader) {} |
276 | 276 |
277 // Called when a new Content Security Policy is added to the frame's document. | 277 // Called when a new Content Security Policy is added to the frame's document. |
278 // This can be triggered by handling of HTTP headers, handling of <meta> | 278 // This can be triggered by handling of HTTP headers, handling of <meta> |
279 // element, or by inheriting CSP from the parent (in case of about:blank). | 279 // element, or by inheriting CSP from the parent (in case of about:blank). |
280 virtual void didAddContentSecurityPolicy( | 280 virtual void didAddContentSecurityPolicy( |
281 const String& headerValue, | 281 const String& headerValue, |
282 ContentSecurityPolicyHeaderType, | 282 ContentSecurityPolicyHeaderType, |
283 ContentSecurityPolicyHeaderSource, | 283 ContentSecurityPolicyHeaderSource, |
284 const std::vector<WebContentSecurityPolicyPolicy>&) {} | 284 const std::vector<WebContentSecurityPolicyPolicy>&) {} |
285 | 285 |
(...skipping 51 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
337 virtual KURL overrideFlashEmbedWithHTML(const KURL&) { return KURL(); } | 337 virtual KURL overrideFlashEmbedWithHTML(const KURL&) { return KURL(); } |
338 | 338 |
339 virtual BlameContext* frameBlameContext() { return nullptr; } | 339 virtual BlameContext* frameBlameContext() { return nullptr; } |
340 | 340 |
341 virtual void setHasReceivedUserGesture() {} | 341 virtual void setHasReceivedUserGesture() {} |
342 }; | 342 }; |
343 | 343 |
344 } // namespace blink | 344 } // namespace blink |
345 | 345 |
346 #endif // LocalFrameClient_h | 346 #endif // LocalFrameClient_h |
OLD | NEW |