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

Unified Diff: content/renderer/service_worker/service_worker_context_client.h

Issue 1202453002: ServiceWorker: Implement navigate() method in WindowClient (chromium side). (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 5 years, 5 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: content/renderer/service_worker/service_worker_context_client.h
diff --git a/content/renderer/service_worker/service_worker_context_client.h b/content/renderer/service_worker/service_worker_context_client.h
index 03f8f9522fdc0afcdd696a25a1e3de18c33ed039..78529a2f40f342d7bdd87da2b10f7e6d41be7922 100644
--- a/content/renderer/service_worker/service_worker_context_client.h
+++ b/content/renderer/service_worker/service_worker_context_client.h
@@ -145,6 +145,9 @@ class ServiceWorkerContextClient
blink::WebMessagePortChannelArray* channels);
virtual void focus(const blink::WebString& uuid,
blink::WebServiceWorkerClientCallbacks*);
+ virtual void navigate(const blink::WebString& uuid,
+ const blink::WebURL&,
+ blink::WebServiceWorkerClientCallbacks*);
virtual void skipWaiting(
blink::WebServiceWorkerSkipWaitingCallbacks* callbacks);
virtual void claim(blink::WebServiceWorkerClientsClaimCallbacks* callbacks);
@@ -191,6 +194,9 @@ class ServiceWorkerContextClient
void OnOpenWindowError(int request_id, const std::string& message);
void OnFocusClientResponse(int request_id,
const ServiceWorkerClientInfo& client);
+ void OnNavigateClientResponse(int request_id,
+ const ServiceWorkerClientInfo& client);
+ void OnNavigateClientError(int request_id, const GURL& url);
void OnDidSkipWaiting(int request_id);
void OnDidClaimClients(int request_id);
void OnClaimClientsError(int request_id,

Powered by Google App Engine
This is Rietveld 408576698