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 44 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
55 #include "v8/include/v8.h" | 55 #include "v8/include/v8.h" |
56 #include "wtf/Forward.h" | 56 #include "wtf/Forward.h" |
57 #include "wtf/Vector.h" | 57 #include "wtf/Vector.h" |
58 | 58 |
59 namespace blink { | 59 namespace blink { |
60 | 60 |
61 class Document; | 61 class Document; |
62 class DocumentLoader; | 62 class DocumentLoader; |
63 struct FrameLoadRequest; | 63 struct FrameLoadRequest; |
64 class HTMLFormElement; | 64 class HTMLFormElement; |
65 class HTMLFrameElementBase; | |
66 class HTMLFrameOwnerElement; | 65 class HTMLFrameOwnerElement; |
67 class HTMLMediaElement; | 66 class HTMLMediaElement; |
68 class HTMLPlugInElement; | 67 class HTMLPlugInElement; |
69 class HistoryItem; | 68 class HistoryItem; |
70 class KURL; | 69 class KURL; |
71 class LocalFrame; | 70 class LocalFrame; |
72 class PluginView; | 71 class PluginView; |
73 class ResourceError; | 72 class ResourceError; |
74 class ResourceRequest; | 73 class ResourceRequest; |
75 class ResourceResponse; | 74 class ResourceResponse; |
(...skipping 204 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
280 virtual void didSetFeaturePolicyHeader( | 279 virtual void didSetFeaturePolicyHeader( |
281 const WebParsedFeaturePolicy& parsedHeader) {} | 280 const WebParsedFeaturePolicy& parsedHeader) {} |
282 | 281 |
283 // Called when a set of new Content Security Policies is added to the frame's | 282 // Called when a set of new Content Security Policies is added to the frame's |
284 // document. This can be triggered by handling of HTTP headers, handling of | 283 // document. This can be triggered by handling of HTTP headers, handling of |
285 // <meta> element, or by inheriting CSP from the parent (in case of | 284 // <meta> element, or by inheriting CSP from the parent (in case of |
286 // about:blank). | 285 // about:blank). |
287 virtual void didAddContentSecurityPolicies( | 286 virtual void didAddContentSecurityPolicies( |
288 const blink::WebVector<WebContentSecurityPolicy>&) {} | 287 const blink::WebVector<WebContentSecurityPolicy>&) {} |
289 | 288 |
290 virtual void didChangeFrameOwnerProperties(HTMLFrameElementBase*) {} | 289 virtual void didChangeFrameOwnerProperties(HTMLFrameOwnerElement*) {} |
291 | 290 |
292 virtual void dispatchWillStartUsingPeerConnectionHandler( | 291 virtual void dispatchWillStartUsingPeerConnectionHandler( |
293 WebRTCPeerConnectionHandler*) {} | 292 WebRTCPeerConnectionHandler*) {} |
294 | 293 |
295 virtual bool allowWebGL(bool enabledPerSettings) { | 294 virtual bool allowWebGL(bool enabledPerSettings) { |
296 return enabledPerSettings; | 295 return enabledPerSettings; |
297 } | 296 } |
298 | 297 |
299 // If an HTML document is being loaded, informs the embedder that the document | 298 // If an HTML document is being loaded, informs the embedder that the document |
300 // will have its <body> attached soon. | 299 // will have its <body> attached soon. |
(...skipping 42 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
343 virtual BlameContext* frameBlameContext() { return nullptr; } | 342 virtual BlameContext* frameBlameContext() { return nullptr; } |
344 | 343 |
345 virtual void setHasReceivedUserGesture() {} | 344 virtual void setHasReceivedUserGesture() {} |
346 | 345 |
347 virtual void abortClientNavigation() {} | 346 virtual void abortClientNavigation() {} |
348 }; | 347 }; |
349 | 348 |
350 } // namespace blink | 349 } // namespace blink |
351 | 350 |
352 #endif // LocalFrameClient_h | 351 #endif // LocalFrameClient_h |
OLD | NEW |