Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(449)

Side by Side Diff: Source/core/loader/FrameLoaderClient.h

Issue 61773005: Rename WebKit namespace to blink (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Created 7 years, 1 month ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch | Annotate | Revision Log
« no previous file with comments | « Source/core/loader/EmptyClients.cpp ('k') | Source/core/loader/PingLoader.h » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
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 26 matching lines...) Expand all
37 #include "wtf/Forward.h" 37 #include "wtf/Forward.h"
38 #include "wtf/Vector.h" 38 #include "wtf/Vector.h"
39 39
40 typedef class _jobject* jobject; 40 typedef class _jobject* jobject;
41 41
42 namespace v8 { 42 namespace v8 {
43 class Context; 43 class Context;
44 template<class T> class Handle; 44 template<class T> class Handle;
45 } 45 }
46 46
47 namespace WebKit { 47 namespace blink {
48 class WebCookieJar; 48 class WebCookieJar;
49 class WebServiceWorkerProvider; 49 class WebServiceWorkerProvider;
50 class WebServiceWorkerProviderClient; 50 class WebServiceWorkerProviderClient;
51 } 51 }
52 52
53 namespace WebCore { 53 namespace WebCore {
54 54
55 class Color; 55 class Color;
56 class DOMWindowExtension; 56 class DOMWindowExtension;
57 class DOMWrapperWorld; 57 class DOMWrapperWorld;
(...skipping 136 matching lines...) Expand 10 before | Expand all | Expand 10 after
194 194
195 // This callback notifies the client that the frame was about to run 195 // This callback notifies the client that the frame was about to run
196 // JavaScript but did not because allowScript returned false. We 196 // JavaScript but did not because allowScript returned false. We
197 // have a separate callback here because there are a number of places 197 // have a separate callback here because there are a number of places
198 // that need to know if JavaScript is enabled but are not necessarily 198 // that need to know if JavaScript is enabled but are not necessarily
199 // preparing to execute script. 199 // preparing to execute script.
200 virtual void didNotAllowScript() { } 200 virtual void didNotAllowScript() { }
201 // This callback is similar, but for plugins. 201 // This callback is similar, but for plugins.
202 virtual void didNotAllowPlugins() { } 202 virtual void didNotAllowPlugins() { }
203 203
204 virtual WebKit::WebCookieJar* cookieJar() const = 0; 204 virtual blink::WebCookieJar* cookieJar() const = 0;
205 205
206 // Returns true if the embedder intercepted the postMessage call 206 // Returns true if the embedder intercepted the postMessage call
207 virtual bool willCheckAndDispatchMessageEvent(SecurityOrigin* /*target*/ , MessageEvent*) const { return false; } 207 virtual bool willCheckAndDispatchMessageEvent(SecurityOrigin* /*target*/ , MessageEvent*) const { return false; }
208 208
209 virtual void didChangeName(const String&) { } 209 virtual void didChangeName(const String&) { }
210 210
211 virtual void dispatchWillOpenSocketStream(SocketStreamHandle*) { } 211 virtual void dispatchWillOpenSocketStream(SocketStreamHandle*) { }
212 212
213 virtual void dispatchWillStartUsingPeerConnectionHandler(RTCPeerConnecti onHandler*) { } 213 virtual void dispatchWillStartUsingPeerConnectionHandler(RTCPeerConnecti onHandler*) { }
214 214
215 virtual void didRequestAutocomplete(PassRefPtr<FormState>) = 0; 215 virtual void didRequestAutocomplete(PassRefPtr<FormState>) = 0;
216 216
217 virtual bool allowWebGL(bool enabledPerSettings) { return enabledPerSett ings; } 217 virtual bool allowWebGL(bool enabledPerSettings) { return enabledPerSett ings; }
218 // Informs the embedder that a WebGL canvas inside this frame received a lost context 218 // Informs the embedder that a WebGL canvas inside this frame received a lost context
219 // notification with the given GL_ARB_robustness guilt/innocence code (s ee Extensions3D.h). 219 // notification with the given GL_ARB_robustness guilt/innocence code (s ee Extensions3D.h).
220 virtual void didLoseWebGLContext(int) { } 220 virtual void didLoseWebGLContext(int) { }
221 221
222 // Returns true if WebGL extension WEBGL_debug_renderer_info is allowed. 222 // Returns true if WebGL extension WEBGL_debug_renderer_info is allowed.
223 virtual bool allowWebGLDebugRendererInfo() { return false; } 223 virtual bool allowWebGLDebugRendererInfo() { return false; }
224 224
225 // If an HTML document is being loaded, informs the embedder that the do cument will have its <body> attached soon. 225 // If an HTML document is being loaded, informs the embedder that the do cument will have its <body> attached soon.
226 virtual void dispatchWillInsertBody() { } 226 virtual void dispatchWillInsertBody() { }
227 227
228 virtual void dispatchDidChangeResourcePriority(unsigned long /*identifie r*/, ResourceLoadPriority) { } 228 virtual void dispatchDidChangeResourcePriority(unsigned long /*identifie r*/, ResourceLoadPriority) { }
229 229
230 virtual PassOwnPtr<WebKit::WebServiceWorkerProvider> createServiceWorker Provider(PassOwnPtr<WebKit::WebServiceWorkerProviderClient>) = 0; 230 virtual PassOwnPtr<blink::WebServiceWorkerProvider> createServiceWorkerP rovider(PassOwnPtr<blink::WebServiceWorkerProviderClient>) = 0;
231 231
232 virtual void didStopAllLoaders() { } 232 virtual void didStopAllLoaders() { }
233 233
234 virtual bool isFrameLoaderClientImpl() const { return false; } 234 virtual bool isFrameLoaderClientImpl() const { return false; }
235 }; 235 };
236 236
237 } // namespace WebCore 237 } // namespace WebCore
238 238
239 #endif // FrameLoaderClient_h 239 #endif // FrameLoaderClient_h
OLDNEW
« no previous file with comments | « Source/core/loader/EmptyClients.cpp ('k') | Source/core/loader/PingLoader.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698