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

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

Issue 1196193003: ServiceWorker: Implement navigate() method in WindowClient (blink side). (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.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: Source/modules/serviceworkers/ServiceWorkerWindowClient.h
diff --git a/Source/modules/serviceworkers/ServiceWorkerWindowClient.h b/Source/modules/serviceworkers/ServiceWorkerWindowClient.h
index b6a638629a89bd25e74a649d906a000ee2605ba5..399144742dab4bc85a5aefa8ecb22993890e197a 100644
--- a/Source/modules/serviceworkers/ServiceWorkerWindowClient.h
+++ b/Source/modules/serviceworkers/ServiceWorkerWindowClient.h
@@ -32,6 +32,7 @@ public:
String visibilityState() const;
bool focused() const { return m_isFocused; }
ScriptPromise focus(ScriptState*);
+ ScriptPromise navigate(ScriptState*, const String& url);
DECLARE_VIRTUAL_TRACE();

Powered by Google App Engine
This is Rietveld 408576698