OLD | NEW |
1 /* | 1 /* |
2 * Copyright (C) 2006, 2007, 2008, 2009, 2010, 2011, 2012 Apple Inc. All rights
reserved. | 2 * Copyright (C) 2006, 2007, 2008, 2009, 2010, 2011, 2012 Apple Inc. All rights
reserved. |
3 * Copyright (C) 2012 Google Inc. All rights reserved. | 3 * Copyright (C) 2012 Google Inc. All rights reserved. |
4 * | 4 * |
5 * Redistribution and use in source and binary forms, with or without | 5 * Redistribution and use in source and binary forms, with or without |
6 * modification, are permitted provided that the following conditions | 6 * modification, are permitted provided that the following conditions |
7 * are met: | 7 * are met: |
8 * | 8 * |
9 * 1. Redistributions of source code must retain the above copyright | 9 * 1. Redistributions of source code must retain the above copyright |
10 * notice, this list of conditions and the following disclaimer. | 10 * notice, this list of conditions and the following disclaimer. |
(...skipping 179 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
190 // JavaScript but did not because allowScript returned false. We | 190 // JavaScript but did not because allowScript returned false. We |
191 // have a separate callback here because there are a number of places | 191 // have a separate callback here because there are a number of places |
192 // that need to know if JavaScript is enabled but are not necessarily | 192 // that need to know if JavaScript is enabled but are not necessarily |
193 // preparing to execute script. | 193 // preparing to execute script. |
194 virtual void didNotAllowScript() { } | 194 virtual void didNotAllowScript() { } |
195 // This callback is similar, but for plugins. | 195 // This callback is similar, but for plugins. |
196 virtual void didNotAllowPlugins() { } | 196 virtual void didNotAllowPlugins() { } |
197 | 197 |
198 virtual blink::WebCookieJar* cookieJar() const = 0; | 198 virtual blink::WebCookieJar* cookieJar() const = 0; |
199 | 199 |
200 // Returns true if the embedder intercepted the postMessage call | |
201 virtual bool willCheckAndDispatchMessageEvent(SecurityOrigin* /*target*/
, MessageEvent*) const { return false; } | |
202 | |
203 virtual void didChangeName(const String&) { } | 200 virtual void didChangeName(const String&) { } |
204 | 201 |
205 virtual void dispatchWillOpenSocketStream(SocketStreamHandle*) { } | 202 virtual void dispatchWillOpenSocketStream(SocketStreamHandle*) { } |
206 virtual void dispatchWillOpenWebSocket(blink::WebSocketHandle*) { } | 203 virtual void dispatchWillOpenWebSocket(blink::WebSocketHandle*) { } |
207 | 204 |
208 virtual void dispatchWillStartUsingPeerConnectionHandler(blink::WebRTCPe
erConnectionHandler*) { } | 205 virtual void dispatchWillStartUsingPeerConnectionHandler(blink::WebRTCPe
erConnectionHandler*) { } |
209 | 206 |
210 virtual void didRequestAutocomplete(HTMLFormElement*) = 0; | 207 virtual void didRequestAutocomplete(HTMLFormElement*) = 0; |
211 | 208 |
212 virtual bool allowWebGL(bool enabledPerSettings) { return enabledPerSett
ings; } | 209 virtual bool allowWebGL(bool enabledPerSettings) { return enabledPerSett
ings; } |
(...skipping 17 matching lines...) Expand all Loading... |
230 virtual void didStopAllLoaders() { } | 227 virtual void didStopAllLoaders() { } |
231 | 228 |
232 virtual void dispatchDidChangeManifest() { } | 229 virtual void dispatchDidChangeManifest() { } |
233 | 230 |
234 virtual bool isFrameLoaderClientImpl() const { return false; } | 231 virtual bool isFrameLoaderClientImpl() const { return false; } |
235 }; | 232 }; |
236 | 233 |
237 } // namespace blink | 234 } // namespace blink |
238 | 235 |
239 #endif // FrameLoaderClient_h | 236 #endif // FrameLoaderClient_h |
OLD | NEW |