| 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 32 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 43 #include "wtf/Forward.h" | 43 #include "wtf/Forward.h" |
| 44 #include "wtf/Vector.h" | 44 #include "wtf/Vector.h" |
| 45 #include <v8.h> | 45 #include <v8.h> |
| 46 | 46 |
| 47 namespace blink { | 47 namespace blink { |
| 48 | 48 |
| 49 class Document; | 49 class Document; |
| 50 class DocumentLoader; | 50 class DocumentLoader; |
| 51 class FetchRequest; | 51 class FetchRequest; |
| 52 class HTMLFormElement; | 52 class HTMLFormElement; |
| 53 class HTMLFrameElementBase; |
| 53 class HTMLFrameOwnerElement; | 54 class HTMLFrameOwnerElement; |
| 54 class HTMLMediaElement; | 55 class HTMLMediaElement; |
| 55 class HTMLPlugInElement; | 56 class HTMLPlugInElement; |
| 56 class HistoryItem; | 57 class HistoryItem; |
| 57 class KURL; | 58 class KURL; |
| 58 class LocalFrame; | 59 class LocalFrame; |
| 59 class ResourceError; | 60 class ResourceError; |
| 60 class ResourceRequest; | 61 class ResourceRequest; |
| 61 class ResourceResponse; | 62 class ResourceResponse; |
| 62 class SecurityOrigin; | 63 class SecurityOrigin; |
| (...skipping 125 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 188 virtual void didNotAllowScript() { } | 189 virtual void didNotAllowScript() { } |
| 189 // This callback is similar, but for plugins. | 190 // This callback is similar, but for plugins. |
| 190 virtual void didNotAllowPlugins() { } | 191 virtual void didNotAllowPlugins() { } |
| 191 | 192 |
| 192 virtual WebCookieJar* cookieJar() const = 0; | 193 virtual WebCookieJar* cookieJar() const = 0; |
| 193 | 194 |
| 194 virtual void didChangeName(const String&) { } | 195 virtual void didChangeName(const String&) { } |
| 195 | 196 |
| 196 virtual void didChangeSandboxFlags(Frame* childFrame, SandboxFlags) { } | 197 virtual void didChangeSandboxFlags(Frame* childFrame, SandboxFlags) { } |
| 197 | 198 |
| 199 virtual void didChangeFrameOwnerProperties(HTMLFrameElementBase*) { } |
| 200 |
| 198 virtual void dispatchWillOpenWebSocket(WebSocketHandle*) { } | 201 virtual void dispatchWillOpenWebSocket(WebSocketHandle*) { } |
| 199 | 202 |
| 200 virtual void dispatchWillStartUsingPeerConnectionHandler(WebRTCPeerConnectio
nHandler*) { } | 203 virtual void dispatchWillStartUsingPeerConnectionHandler(WebRTCPeerConnectio
nHandler*) { } |
| 201 | 204 |
| 202 virtual void didRequestAutocomplete(HTMLFormElement*) = 0; | 205 virtual void didRequestAutocomplete(HTMLFormElement*) = 0; |
| 203 | 206 |
| 204 virtual bool allowWebGL(bool enabledPerSettings) { return enabledPerSettings
; } | 207 virtual bool allowWebGL(bool enabledPerSettings) { return enabledPerSettings
; } |
| 205 // Informs the embedder that a WebGL canvas inside this frame received a los
t context | 208 // Informs the embedder that a WebGL canvas inside this frame received a los
t context |
| 206 // notification with the given GL_ARB_robustness guilt/innocence code (see E
xtensions3D.h). | 209 // notification with the given GL_ARB_robustness guilt/innocence code (see E
xtensions3D.h). |
| 207 virtual void didLoseWebGLContext(int) { } | 210 virtual void didLoseWebGLContext(int) { } |
| (...skipping 28 matching lines...) Expand all Loading... |
| 236 BeforeUnloadHandler, | 239 BeforeUnloadHandler, |
| 237 UnloadHandler, | 240 UnloadHandler, |
| 238 }; | 241 }; |
| 239 virtual void suddenTerminationDisablerChanged(bool present, SuddenTerminatio
nDisablerType) { } | 242 virtual void suddenTerminationDisablerChanged(bool present, SuddenTerminatio
nDisablerType) { } |
| 240 | 243 |
| 241 }; | 244 }; |
| 242 | 245 |
| 243 } // namespace blink | 246 } // namespace blink |
| 244 | 247 |
| 245 #endif // FrameLoaderClient_h | 248 #endif // FrameLoaderClient_h |
| OLD | NEW |