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

Unified Diff: modules/webmidi/MIDIAccessPromise.idl

Issue 19605006: Roll IDL to multivm@1316 (Closed) Base URL: https://dart.googlecode.com/svn/third_party/WebCore
Patch Set: Created 7 years, 5 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 | « modules/webdatabase/WindowWebDatabase.idl ('k') | modules/webmidi/MIDIConnectionEvent.idl » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: modules/webmidi/MIDIAccessPromise.idl
diff --git a/core/css/CSSFontFaceLoadEvent.idl b/modules/webmidi/MIDIAccessPromise.idl
similarity index 83%
copy from core/css/CSSFontFaceLoadEvent.idl
copy to modules/webmidi/MIDIAccessPromise.idl
index d89e765c792e259ee15e6dae180a844fe81bf16a..2a4b37a819584bfcb7b6264659dd21adb3afb19e 100644
--- a/core/css/CSSFontFaceLoadEvent.idl
+++ b/modules/webmidi/MIDIAccessPromise.idl
@@ -28,11 +28,12 @@
* OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
*/
+// FIXME: Once Promise is implemented, remove this interface and use it.
+// See also, http://crbug.com/243345
[
NoInterfaceObject,
- EnabledAtRuntime=fontLoadEvents,
- ConstructorTemplate=Event
-] interface CSSFontFaceLoadEvent : Event {
- [InitializedByEventConstructor] readonly attribute CSSFontFaceRule fontface;
- [InitializedByEventConstructor] readonly attribute DOMError error;
+ ActiveDOMObject
+] interface MIDIAccessPromise {
+ // Supports only then() method tentatively. But it never returns Promise.
+ void then(MIDISuccessCallback successCallback, MIDIErrorCallback errorCallback);
};
« no previous file with comments | « modules/webdatabase/WindowWebDatabase.idl ('k') | modules/webmidi/MIDIConnectionEvent.idl » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698