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

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

Issue 634813002: [ServiceWorker] Add WebDataSource argument to isControlledByServiceWorker() [1/3 blink] (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: use reference Created 6 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
« no previous file with comments | « Source/core/loader/EmptyClients.h ('k') | Source/web/FrameLoaderClientImpl.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 188 matching lines...) Expand 10 before | Expand all | Expand 10 after
199 // notification with the given GL_ARB_robustness guilt/innocence code (s ee Extensions3D.h). 199 // notification with the given GL_ARB_robustness guilt/innocence code (s ee Extensions3D.h).
200 virtual void didLoseWebGLContext(int) { } 200 virtual void didLoseWebGLContext(int) { }
201 201
202 // If an HTML document is being loaded, informs the embedder that the do cument will have its <body> attached soon. 202 // If an HTML document is being loaded, informs the embedder that the do cument will have its <body> attached soon.
203 virtual void dispatchWillInsertBody() { } 203 virtual void dispatchWillInsertBody() { }
204 204
205 virtual void dispatchDidChangeResourcePriority(unsigned long identifier, ResourceLoadPriority, int intraPriorityValue) { } 205 virtual void dispatchDidChangeResourcePriority(unsigned long identifier, ResourceLoadPriority, int intraPriorityValue) { }
206 206
207 virtual PassOwnPtr<blink::WebServiceWorkerProvider> createServiceWorkerP rovider() = 0; 207 virtual PassOwnPtr<blink::WebServiceWorkerProvider> createServiceWorkerP rovider() = 0;
208 208
209 virtual bool isControlledByServiceWorker() = 0; 209 virtual bool isControlledByServiceWorker(DocumentLoader&) = 0;
210 210
211 virtual SharedWorkerRepositoryClient* sharedWorkerRepositoryClient() { r eturn 0; } 211 virtual SharedWorkerRepositoryClient* sharedWorkerRepositoryClient() { r eturn 0; }
212 212
213 virtual PassOwnPtr<blink::WebApplicationCacheHost> createApplicationCach eHost(blink::WebApplicationCacheHostClient*) = 0; 213 virtual PassOwnPtr<blink::WebApplicationCacheHost> createApplicationCach eHost(blink::WebApplicationCacheHostClient*) = 0;
214 214
215 virtual void didStopAllLoaders() { } 215 virtual void didStopAllLoaders() { }
216 216
217 virtual void dispatchDidChangeManifest() { } 217 virtual void dispatchDidChangeManifest() { }
218 218
219 virtual bool isFrameLoaderClientImpl() const { return false; } 219 virtual bool isFrameLoaderClientImpl() const { return false; }
220 }; 220 };
221 221
222 } // namespace blink 222 } // namespace blink
223 223
224 #endif // FrameLoaderClient_h 224 #endif // FrameLoaderClient_h
OLDNEW
« no previous file with comments | « Source/core/loader/EmptyClients.h ('k') | Source/web/FrameLoaderClientImpl.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698