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

Unified Diff: Source/modules/serviceworkers/ServiceWorkerClient.idl

Issue 778703004: Implement ServiceWorkerClient attributes [3/3] (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@properties-step1
Patch Set: Created 6 years 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/ServiceWorkerClient.idl
diff --git a/Source/modules/serviceworkers/ServiceWorkerClient.idl b/Source/modules/serviceworkers/ServiceWorkerClient.idl
index a83cbb131cd6bfca2045945c8dda3c91678e117a..90b40fd8978ed1c6d988b9afaa2a07663344ba57 100644
--- a/Source/modules/serviceworkers/ServiceWorkerClient.idl
+++ b/Source/modules/serviceworkers/ServiceWorkerClient.idl
@@ -9,6 +9,10 @@
GarbageCollected,
TypeChecking=Interface,
] interface ServiceWorkerClient {
+ readonly attribute DOMString visibilityState;
+ readonly attribute boolean focused;
+ readonly attribute USVString url;
+ readonly attribute DOMString frameType;
mlamouri (slow - plz ping) 2014/12/08 10:41:19 Do we want to ship those new attributes immediatel
Kunihiko Sakamoto 2014/12/09 02:30:35 These attributes can have non-Push use cases, so t
[Custom, RaisesException, CallWith=ExecutionContext] void postMessage(SerializedScriptValue message, optional sequence<Transferable> transfer);
[RuntimeEnabled=PushMessaging, CallWith=ScriptState] Promise<boolean> focus();
};
« no previous file with comments | « Source/modules/serviceworkers/ServiceWorkerClient.cpp ('k') | Source/modules/serviceworkers/ServiceWorkerClients.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698