Update To 11.40.268.0
[platform/framework/web/crosswalk.git] / src / third_party / WebKit / Source / modules / push_messaging / PushManager.idl
index 4346304..b9b6afe 100644 (file)
@@ -2,10 +2,13 @@
 // Use of this source code is governed by a BSD-style license that can be
 // found in the LICENSE file.
 
+// http://w3c.github.io/push-api/#pushregistrationmanager-interface
+
 [
     NoInterfaceObject,
     RuntimeEnabled=PushMessaging,
     GarbageCollected,
 ] interface PushManager {
-    [CallWith=ScriptState, ImplementedAs=registerPushMessaging] Promise register(DOMString senderId);
+    [CallWith=ScriptState, ImplementedAs=registerPushMessaging] Promise register();
+    [CallWith=ScriptState] Promise hasPermission();
 };