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

Unified Diff: Source/core/dom/PromiseResolver.idl

Issue 17505004: Introduce Promises. (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: Created 7 years, 6 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
Index: Source/core/dom/PromiseResolver.idl
diff --git a/Source/modules/webmidi/MIDIErrorCallback.idl b/Source/core/dom/PromiseResolver.idl
similarity index 95%
copy from Source/modules/webmidi/MIDIErrorCallback.idl
copy to Source/core/dom/PromiseResolver.idl
index 0591bf6715e14bf85426c3cfb82fc2aedf25918d..86fe30751c847623f955f1eece26482ceeb11e4a 100644
--- a/Source/modules/webmidi/MIDIErrorCallback.idl
+++ b/Source/core/dom/PromiseResolver.idl
@@ -28,6 +28,7 @@
* OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
*/
-callback interface MIDIErrorCallback {
- boolean handleEvent(DOMError error);
+[
+ EnabledAtRuntime=promise
+] interface PromiseResolver {
};

Powered by Google App Engine
This is Rietveld 408576698