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

Side by Side Diff: third_party/WebKit/Source/core/frame/LocalFrameClient.h

Issue 2733283004: Expose WebServiceWorkerNetworkProvider on DataSource (Closed)
Patch Set: consistency Created 3 years, 9 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
OLDNEW
1 /* 1 /*
2 * Copyright (C) 2006, 2007, 2008, 2009, 2010, 2011, 2012 Apple Inc. All rights 2 * Copyright (C) 2006, 2007, 2008, 2009, 2010, 2011, 2012 Apple Inc. All rights
3 * reserved. 3 * reserved.
4 * Copyright (C) 2012 Google Inc. All rights reserved. 4 * Copyright (C) 2012 Google Inc. All rights reserved.
5 * 5 *
6 * Redistribution and use in source and binary forms, with or without 6 * Redistribution and use in source and binary forms, with or without
7 * modification, are permitted provided that the following conditions 7 * modification, are permitted provided that the following conditions
8 * are met: 8 * are met:
9 * 9 *
10 * 1. Redistributions of source code must retain the above copyright 10 * 1. Redistributions of source code must retain the above copyright
(...skipping 281 matching lines...) Expand 10 before | Expand all | Expand 10 after
292 return enabledPerSettings; 292 return enabledPerSettings;
293 } 293 }
294 294
295 // If an HTML document is being loaded, informs the embedder that the document 295 // If an HTML document is being loaded, informs the embedder that the document
296 // will have its <body> attached soon. 296 // will have its <body> attached soon.
297 virtual void dispatchWillInsertBody() {} 297 virtual void dispatchWillInsertBody() {}
298 298
299 virtual std::unique_ptr<WebServiceWorkerProvider> 299 virtual std::unique_ptr<WebServiceWorkerProvider>
300 createServiceWorkerProvider() = 0; 300 createServiceWorkerProvider() = 0;
301 301
302 virtual bool isControlledByServiceWorker(DocumentLoader&) = 0;
303
304 virtual int64_t serviceWorkerID(DocumentLoader&) = 0;
305
306 virtual SharedWorkerRepositoryClient* sharedWorkerRepositoryClient() { 302 virtual SharedWorkerRepositoryClient* sharedWorkerRepositoryClient() {
307 return 0; 303 return 0;
308 } 304 }
309 305
310 virtual std::unique_ptr<WebApplicationCacheHost> createApplicationCacheHost( 306 virtual std::unique_ptr<WebApplicationCacheHost> createApplicationCacheHost(
311 WebApplicationCacheHostClient*) = 0; 307 WebApplicationCacheHostClient*) = 0;
312 308
313 virtual void dispatchDidChangeManifest() {} 309 virtual void dispatchDidChangeManifest() {}
314 310
315 virtual unsigned backForwardLength() { return 0; } 311 virtual unsigned backForwardLength() { return 0; }
(...skipping 25 matching lines...) Expand all
341 virtual KURL overrideFlashEmbedWithHTML(const KURL&) { return KURL(); } 337 virtual KURL overrideFlashEmbedWithHTML(const KURL&) { return KURL(); }
342 338
343 virtual BlameContext* frameBlameContext() { return nullptr; } 339 virtual BlameContext* frameBlameContext() { return nullptr; }
344 340
345 virtual void setHasReceivedUserGesture() {} 341 virtual void setHasReceivedUserGesture() {}
346 }; 342 };
347 343
348 } // namespace blink 344 } // namespace blink
349 345
350 #endif // LocalFrameClient_h 346 #endif // LocalFrameClient_h
OLDNEW
« no previous file with comments | « content/renderer/shared_worker/embedded_shared_worker_stub.cc ('k') | third_party/WebKit/Source/core/loader/DocumentLoader.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698