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

Unified Diff: Source/modules/permissions/PermissionStatus.idl

Issue 1194963002: Add PermissionStatus.state and deprecate PermissionStatus.status. (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/permissions/PermissionStatus.idl
diff --git a/Source/modules/permissions/PermissionStatus.idl b/Source/modules/permissions/PermissionStatus.idl
index 61e0b0537e5d995676e6faad1851719c43382251..6f4f8cc1d554fb0c986ac8b9261468b4db2e11fe 100644
--- a/Source/modules/permissions/PermissionStatus.idl
+++ b/Source/modules/permissions/PermissionStatus.idl
@@ -17,6 +17,9 @@ enum PermissionState {
Exposed=(Window,Worker),
RuntimeEnabled=Permissions,
] interface PermissionStatus : EventTarget {
+ // Deprecated. Will be removed after .state will have shipped for a release
+ // or too.
readonly attribute PermissionState status;
whywhat 2015/06/22 10:42:46 Mark as Deprecated and make it print the message a
mlamouri (slow - plz ping) 2015/06/29 19:26:06 It wouldn't show up in Workers :(
mlamouri (slow - plz ping) 2015/06/29 19:51:16 Actually, it will... I don't know how I came to th
+ readonly attribute PermissionState state;
attribute EventHandler onchange;
};

Powered by Google App Engine
This is Rietveld 408576698