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

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: Rebase and address review comments. 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 53%
copy from Source/modules/gamepad/GamepadButton.idl
copy to Source/modules/push_messaging/PushManager.idl
index 40561191e3a49fafbcde1e638dc61ef9774ee600..74ab7d00343e5685413342fc0ecbbe72e88ac716 100644
--- a/Source/modules/gamepad/GamepadButton.idl
+++ b/Source/modules/push_messaging/PushManager.idl
@@ -4,8 +4,7 @@
[
NoInterfaceObject,
- WillBeGarbageCollected,
-] interface GamepadButton {
- readonly attribute boolean pressed;
- readonly attribute float value;
+ RuntimeEnabled=PushMessaging,
Peter Beverloo 2014/03/28 13:52:21 +WillBeGarbageCollected
Michael van Ouwerkerk 2014/03/28 16:08:18 Done.
+] interface PushManager {
+ [CallWith=ExecutionContext, ImplementedAs=registerPushMessaging] Promise register(DOMString senderId);
};

Powered by Google App Engine
This is Rietveld 408576698