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

Unified Diff: Source/modules/push_messaging/PushManager.idl

Issue 926793004: Add PushMessagingHasPermission runtime flag to expose PushManager.hasPermission() (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: stable Created 5 years, 10 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
« no previous file with comments | « no previous file | Source/platform/RuntimeEnabledFeatures.in » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: Source/modules/push_messaging/PushManager.idl
diff --git a/Source/modules/push_messaging/PushManager.idl b/Source/modules/push_messaging/PushManager.idl
index 51d3ac82298c22bede77699f0e889307dca09d25..b925cf14b424a0efbd9f313588b3e73da259a3ba 100644
--- a/Source/modules/push_messaging/PushManager.idl
+++ b/Source/modules/push_messaging/PushManager.idl
@@ -11,5 +11,5 @@
] interface PushManager {
[CallWith=ScriptState] Promise<PushSubscription> subscribe();
[CallWith=ScriptState] Promise<PushSubscription?> getSubscription();
- [CallWith=ScriptState] Promise hasPermission();
+ [RuntimeEnabled=PushMessagingHasPermission,CallWith=ScriptState] Promise hasPermission();
};
« no previous file with comments | « no previous file | Source/platform/RuntimeEnabledFeatures.in » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698