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

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: Created 5 years, 11 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 1ee2e29a07f61fad98f99e85fc1db0e4f48a1e9d..0c0a4a74629a8b5e0fba9fd10019f7c717162827 100644
--- a/Source/modules/serviceworkers/ServiceWorkerGlobalScopeClient.h
+++ b/Source/modules/serviceworkers/ServiceWorkerGlobalScopeClient.h
@@ -56,7 +56,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;

Powered by Google App Engine
This is Rietveld 408576698