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

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, 6 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 e9c2eb25e749e9c2d24b1598a78cc08a07357f11..66dba6965840ab5eeef1ce2fe183be6a6b71779b 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