Index: modules/presentation/Presentation.idl |
diff --git a/modules/gamepad/WebKitGamepadList.idl b/modules/presentation/Presentation.idl |
similarity index 50% |
copy from modules/gamepad/WebKitGamepadList.idl |
copy to modules/presentation/Presentation.idl |
index 2b35c565c70fb6fdd253b8adef51780ec72d6aa5..1546a1dbd34d8fcd9b995e269d37a37cae91205f 100644 |
--- a/modules/gamepad/WebKitGamepadList.idl |
+++ b/modules/presentation/Presentation.idl |
@@ -2,10 +2,11 @@ |
// Use of this source code is governed by a BSD-style license that can be |
// found in the LICENSE file. |
+// http://webscreens.github.io/presentation-api/#presentation-interface |
+ |
[ |
- NoInterfaceObject, |
GarbageCollected, |
-] interface WebKitGamepadList { |
- readonly attribute unsigned long length; |
- getter WebKitGamepad item([Default=Undefined] optional unsigned long index); |
+ RuntimeEnabled=Presentation |
+] interface Presentation : EventTarget { |
+ attribute EventHandler onavailablechange; |
}; |