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

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

Issue 26078002: Rename WebServiceWorkerRegistry to WebServiceWorkerProvider (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Fix windows build..again Created 7 years, 2 months 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
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 28 matching lines...) Expand all
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 WebKit {
48 class WebCookieJar; 48 class WebCookieJar;
49 class WebServiceWorkerRegistry; 49 class WebServiceWorkerProvider;
50 class WebServiceWorkerProviderClient;
50 } 51 }
51 52
52 namespace WebCore { 53 namespace WebCore {
53 54
54 class Color; 55 class Color;
55 class DOMWindowExtension; 56 class DOMWindowExtension;
56 class DOMWrapperWorld; 57 class DOMWrapperWorld;
57 class DocumentLoader; 58 class DocumentLoader;
58 class Element; 59 class Element;
59 class FetchRequest; 60 class FetchRequest;
(...skipping 151 matching lines...) Expand 10 before | Expand all | Expand 10 after
211 virtual bool allowWebGL(bool enabledPerSettings) { return enabledPerSett ings; } 212 virtual bool allowWebGL(bool enabledPerSettings) { return enabledPerSett ings; }
212 // Informs the embedder that a WebGL canvas inside this frame received a lost context 213 // Informs the embedder that a WebGL canvas inside this frame received a lost context
213 // notification with the given GL_ARB_robustness guilt/innocence code (s ee Extensions3D.h). 214 // notification with the given GL_ARB_robustness guilt/innocence code (s ee Extensions3D.h).
214 virtual void didLoseWebGLContext(int) { } 215 virtual void didLoseWebGLContext(int) { }
215 216
216 // If an HTML document is being loaded, informs the embedder that the do cument will have its <body> attached soon. 217 // If an HTML document is being loaded, informs the embedder that the do cument will have its <body> attached soon.
217 virtual void dispatchWillInsertBody() { } 218 virtual void dispatchWillInsertBody() { }
218 219
219 virtual void dispatchDidChangeResourcePriority(unsigned long /*identifie r*/, ResourceLoadPriority) { } 220 virtual void dispatchDidChangeResourcePriority(unsigned long /*identifie r*/, ResourceLoadPriority) { }
220 221
221 virtual WebKit::WebServiceWorkerRegistry* serviceWorkerRegistry() = 0; 222 virtual PassOwnPtr<WebKit::WebServiceWorkerProvider> createServiceWorker Provider(PassOwnPtr<WebKit::WebServiceWorkerProviderClient>) = 0;
222 223
223 virtual void didStopAllLoaders() { } 224 virtual void didStopAllLoaders() { }
224 225
225 virtual bool isFrameLoaderClientImpl() const { return false; } 226 virtual bool isFrameLoaderClientImpl() const { return false; }
226 }; 227 };
227 228
228 } // namespace WebCore 229 } // namespace WebCore
229 230
230 #endif // FrameLoaderClient_h 231 #endif // FrameLoaderClient_h
OLDNEW
« no previous file with comments | « Source/core/loader/EmptyClients.cpp ('k') | Source/modules/serviceworkers/NavigatorServiceWorker.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698