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

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

Issue 658723003: Blink implementation of PushManager#hasPermission() (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: Rebase Layout test Created 6 years, 2 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/push_messaging/PushManager.idl
diff --git a/Source/modules/push_messaging/PushManager.idl b/Source/modules/push_messaging/PushManager.idl
index 149b8d2b4e50080fd0749ab396916c283a60961c..b9b6afea4b502b632fbad7fc46253a3b20e7fef0 100644
--- a/Source/modules/push_messaging/PushManager.idl
+++ b/Source/modules/push_messaging/PushManager.idl
@@ -10,4 +10,5 @@
GarbageCollected,
] interface PushManager {
[CallWith=ScriptState, ImplementedAs=registerPushMessaging] Promise register();
+ [CallWith=ScriptState] Promise hasPermission();
};
« no previous file with comments | « Source/modules/push_messaging/PushManager.cpp ('k') | Source/modules/push_messaging/PushPermissionCallback.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698