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

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

Issue 152763002: DO NOT REVIEW Bindings and plumbing for push messaging API. (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: Rebase. Address some 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
« no previous file with comments | « Source/modules/pushmessaging/PushManager.cpp ('k') | Source/modules/pushmessaging/PushMessagingError.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: Source/modules/pushmessaging/PushManager.idl
diff --git a/Source/core/animation/DocumentAnimation.idl b/Source/modules/pushmessaging/PushManager.idl
similarity index 51%
copy from Source/core/animation/DocumentAnimation.idl
copy to Source/modules/pushmessaging/PushManager.idl
index 2bfb6a74b00d388c5f585b10f2d56950155c2458..80148ae23948610b145270e0b54233d22530f1ad 100644
--- a/Source/core/animation/DocumentAnimation.idl
+++ b/Source/modules/pushmessaging/PushManager.idl
@@ -3,7 +3,7 @@
// found in the LICENSE file.
[
- RuntimeEnabled=WebAnimationsAPI,
-] partial interface Document {
- readonly attribute Timeline timeline;
+ NoInterfaceObject,
+] interface PushManager {
+ [CallWith=ExecutionContext, ImplementedAs=registerPushMessaging] Promise register(DOMString channelname);
};
« no previous file with comments | « Source/modules/pushmessaging/PushManager.cpp ('k') | Source/modules/pushmessaging/PushMessagingError.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698