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

Unified Diff: Source/modules/serviceworkers/ServiceWorkerGlobalScopeClient.h

Issue 850413002: [ServiceWorker] Implement ServiceWorkerClients.openWindow(). (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@sw_client_info_cb
Patch Set: rebase Created 5 years, 10 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 side-by-side diff with in-line comments
Download patch
Index: Source/modules/serviceworkers/ServiceWorkerGlobalScopeClient.h
diff --git a/Source/modules/serviceworkers/ServiceWorkerGlobalScopeClient.h b/Source/modules/serviceworkers/ServiceWorkerGlobalScopeClient.h
index f09504f01dee52c5e53b1680e1b7b89b70e5cd47..ccca7ae71b595c0e2656de3087169ef27767cf11 100644
--- a/Source/modules/serviceworkers/ServiceWorkerGlobalScopeClient.h
+++ b/Source/modules/serviceworkers/ServiceWorkerGlobalScopeClient.h
@@ -57,7 +57,10 @@ class ServiceWorkerGlobalScopeClient : public WillBeHeapSupplement<WorkerClients
public:
virtual ~ServiceWorkerGlobalScopeClient() { }
+ // Called from ServiceWorkerClients.
virtual void getClients(WebServiceWorkerClientsCallbacks*) = 0;
+ virtual void openWindow(const WebURL&, WebServiceWorkerClientCallbacks*) = 0;
+
virtual WebURL scope() const = 0;
virtual WebServiceWorkerCacheStorage* cacheStorage() const = 0;
« no previous file with comments | « Source/modules/serviceworkers/ServiceWorkerClients.cpp ('k') | Source/web/ServiceWorkerGlobalScopeClientImpl.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698