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

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

Issue 213013006: Define push_messaging module with PushManager skeleton. (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: Created 6 years, 9 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/gamepad/GamepadButton.idl b/Source/modules/push_messaging/PushManager.idl
similarity index 59%
copy from Source/modules/gamepad/GamepadButton.idl
copy to Source/modules/push_messaging/PushManager.idl
index 40561191e3a49fafbcde1e638dc61ef9774ee600..e09534ab16dbe86ca6a6282b9480bc3e30e271b6 100644
--- a/Source/modules/gamepad/GamepadButton.idl
+++ b/Source/modules/push_messaging/PushManager.idl
@@ -4,8 +4,6 @@
[
NoInterfaceObject,
abarth-chromium 2014/03/27 03:38:57 Can you add a RuntimeEnabled attribute to this int
Michael van Ouwerkerk 2014/03/27 19:15:24 Done.
- WillBeGarbageCollected,
-] interface GamepadButton {
- readonly attribute boolean pressed;
- readonly attribute float value;
+] interface PushManager {
+ [CallWith=ExecutionContext, ImplementedAs=registerPushMessaging] Promise register(DOMString senderId);
};

Powered by Google App Engine
This is Rietveld 408576698