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 262 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
273 | 273 |
274 virtual void didEnforceInsecureRequestPolicy(WebInsecureRequestPolicy) {} | 274 virtual void didEnforceInsecureRequestPolicy(WebInsecureRequestPolicy) {} |
275 | 275 |
276 virtual void didUpdateToUniqueOrigin() {} | 276 virtual void didUpdateToUniqueOrigin() {} |
277 | 277 |
278 virtual void didChangeSandboxFlags(Frame* childFrame, SandboxFlags) {} | 278 virtual void didChangeSandboxFlags(Frame* childFrame, SandboxFlags) {} |
279 | 279 |
280 virtual void didSetFeaturePolicyHeader( | 280 virtual void didSetFeaturePolicyHeader( |
281 const WebParsedFeaturePolicy& parsedHeader) {} | 281 const WebParsedFeaturePolicy& parsedHeader) {} |
282 | 282 |
283 // Called when a new Content Security Policy is added to the frame's document. | 283 // Called when a set of new Content Security Policies is added to the frame's |
284 // This can be triggered by handling of HTTP headers, handling of <meta> | 284 // document. This can be triggered by handling of HTTP headers, handling of |
285 // element, or by inheriting CSP from the parent (in case of about:blank). | 285 // <meta> element, or by inheriting CSP from the parent (in case of |
286 virtual void didAddContentSecurityPolicy( | 286 // about:blank). |
287 const String& headerValue, | 287 virtual void didAddContentSecurityPolicies( |
288 ContentSecurityPolicyHeaderType, | 288 const blink::WebVector<WebContentSecurityPolicy>&) {} |
289 ContentSecurityPolicyHeaderSource, | |
290 const std::vector<WebContentSecurityPolicy>&) {} | |
291 | 289 |
292 virtual void didChangeFrameOwnerProperties(HTMLFrameElementBase*) {} | 290 virtual void didChangeFrameOwnerProperties(HTMLFrameElementBase*) {} |
293 | 291 |
294 virtual void dispatchWillStartUsingPeerConnectionHandler( | 292 virtual void dispatchWillStartUsingPeerConnectionHandler( |
295 WebRTCPeerConnectionHandler*) {} | 293 WebRTCPeerConnectionHandler*) {} |
296 | 294 |
297 virtual bool allowWebGL(bool enabledPerSettings) { | 295 virtual bool allowWebGL(bool enabledPerSettings) { |
298 return enabledPerSettings; | 296 return enabledPerSettings; |
299 } | 297 } |
300 | 298 |
(...skipping 44 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
345 virtual BlameContext* frameBlameContext() { return nullptr; } | 343 virtual BlameContext* frameBlameContext() { return nullptr; } |
346 | 344 |
347 virtual void setHasReceivedUserGesture() {} | 345 virtual void setHasReceivedUserGesture() {} |
348 | 346 |
349 virtual void abortClientNavigation() {} | 347 virtual void abortClientNavigation() {} |
350 }; | 348 }; |
351 | 349 |
352 } // namespace blink | 350 } // namespace blink |
353 | 351 |
354 #endif // LocalFrameClient_h | 352 #endif // LocalFrameClient_h |
OLD | NEW |