| 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 266 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 277 virtual void didSetFeaturePolicyHeader( | 277 virtual void didSetFeaturePolicyHeader( |
| 278 const WebParsedFeaturePolicy& parsedHeader) {} | 278 const WebParsedFeaturePolicy& parsedHeader) {} |
| 279 | 279 |
| 280 // Called when a new Content Security Policy is added to the frame's document. | 280 // Called when a new Content Security Policy is added to the frame's document. |
| 281 // This can be triggered by handling of HTTP headers, handling of <meta> | 281 // This can be triggered by handling of HTTP headers, handling of <meta> |
| 282 // element, or by inheriting CSP from the parent (in case of about:blank). | 282 // element, or by inheriting CSP from the parent (in case of about:blank). |
| 283 virtual void didAddContentSecurityPolicy( | 283 virtual void didAddContentSecurityPolicy( |
| 284 const String& headerValue, | 284 const String& headerValue, |
| 285 ContentSecurityPolicyHeaderType, | 285 ContentSecurityPolicyHeaderType, |
| 286 ContentSecurityPolicyHeaderSource, | 286 ContentSecurityPolicyHeaderSource, |
| 287 const std::vector<WebContentSecurityPolicyPolicy>&) {} | 287 const WebContentSecurityPolicyPolicy&) {} |
| 288 | 288 |
| 289 virtual void didChangeFrameOwnerProperties(HTMLFrameElementBase*) {} | 289 virtual void didChangeFrameOwnerProperties(HTMLFrameElementBase*) {} |
| 290 | 290 |
| 291 virtual void dispatchWillStartUsingPeerConnectionHandler( | 291 virtual void dispatchWillStartUsingPeerConnectionHandler( |
| 292 WebRTCPeerConnectionHandler*) {} | 292 WebRTCPeerConnectionHandler*) {} |
| 293 | 293 |
| 294 virtual bool allowWebGL(bool enabledPerSettings) { | 294 virtual bool allowWebGL(bool enabledPerSettings) { |
| 295 return enabledPerSettings; | 295 return enabledPerSettings; |
| 296 } | 296 } |
| 297 | 297 |
| (...skipping 42 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 340 virtual KURL overrideFlashEmbedWithHTML(const KURL&) { return KURL(); } | 340 virtual KURL overrideFlashEmbedWithHTML(const KURL&) { return KURL(); } |
| 341 | 341 |
| 342 virtual BlameContext* frameBlameContext() { return nullptr; } | 342 virtual BlameContext* frameBlameContext() { return nullptr; } |
| 343 | 343 |
| 344 virtual void setHasReceivedUserGesture() {} | 344 virtual void setHasReceivedUserGesture() {} |
| 345 }; | 345 }; |
| 346 | 346 |
| 347 } // namespace blink | 347 } // namespace blink |
| 348 | 348 |
| 349 #endif // LocalFrameClient_h | 349 #endif // LocalFrameClient_h |
| OLD | NEW |