Index: modules/webmidi/MIDISuccessCallback.idl |
diff --git a/core/html/ime/Composition.idl b/modules/webmidi/MIDISuccessCallback.idl |
similarity index 84% |
copy from core/html/ime/Composition.idl |
copy to modules/webmidi/MIDISuccessCallback.idl |
index 43ead5c727fda3628536e1126aa47daf128c711d..d2976e8dcce63d785c539a13253f3a2910a5cb72 100644 |
--- a/core/html/ime/Composition.idl |
+++ b/modules/webmidi/MIDISuccessCallback.idl |
@@ -28,10 +28,9 @@ |
* OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. |
*/ |
-// http://www.w3.org/TR/ime-api/ |
-[ |
- NoInterfaceObject |
-] interface Composition { |
- readonly attribute Node text; |
- readonly attribute Range caret; |
+callback interface MIDISuccessCallback { |
+ // FIXME: The second argument should be Dictionary, but IDL generator |
+ // can not handle Dictionary as a handleEvent argument correctly now. |
+ // http://crbug.com/246161 |
+ boolean handleEvent(MIDIAccess access, boolean sysexEnabled); |
}; |