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

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

Issue 546263002: [ServiceWorker] Introduce isControlledByServiceWorker() in FrameLoaderClient and WebFrameClient (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: incorporated tkent's comment Created 6 years, 3 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 203 matching lines...) Expand 10 before | Expand all | Expand 10 after
214 // 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).
215 virtual void didLoseWebGLContext(int) { } 215 virtual void didLoseWebGLContext(int) { }
216 216
217 // 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.
218 virtual void dispatchWillInsertBody() { } 218 virtual void dispatchWillInsertBody() { }
219 219
220 virtual void dispatchDidChangeResourcePriority(unsigned long identifier, ResourceLoadPriority, int intraPriorityValue) { } 220 virtual void dispatchDidChangeResourcePriority(unsigned long identifier, ResourceLoadPriority, int intraPriorityValue) { }
221 221
222 virtual PassOwnPtr<blink::WebServiceWorkerProvider> createServiceWorkerP rovider() = 0; 222 virtual PassOwnPtr<blink::WebServiceWorkerProvider> createServiceWorkerP rovider() = 0;
223 223
224 virtual bool isControlledByServiceWorker() = 0;
225
224 virtual SharedWorkerRepositoryClient* sharedWorkerRepositoryClient() { r eturn 0; } 226 virtual SharedWorkerRepositoryClient* sharedWorkerRepositoryClient() { r eturn 0; }
225 227
226 virtual PassOwnPtr<blink::WebApplicationCacheHost> createApplicationCach eHost(blink::WebApplicationCacheHostClient*) = 0; 228 virtual PassOwnPtr<blink::WebApplicationCacheHost> createApplicationCach eHost(blink::WebApplicationCacheHostClient*) = 0;
227 229
228 virtual void didStopAllLoaders() { } 230 virtual void didStopAllLoaders() { }
229 231
230 virtual void dispatchDidChangeManifest() { } 232 virtual void dispatchDidChangeManifest() { }
231 233
232 virtual bool isFrameLoaderClientImpl() const { return false; } 234 virtual bool isFrameLoaderClientImpl() const { return false; }
233 }; 235 };
234 236
235 } // namespace blink 237 } // namespace blink
236 238
237 #endif // FrameLoaderClient_h 239 #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