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

Unified Diff: modules/webmidi/NavigatorWebMIDI.idl

Issue 1660113002: Updated to Chrome 45 (2454) moved from SVN to git. Base URL: https://github.com/dart-lang/webcore.git@roll_45
Patch Set: Created 4 years, 11 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/webmidi/MIDISuccessCallback.idl ('k') | modules/websockets/CloseEvent.idl » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: modules/webmidi/NavigatorWebMIDI.idl
diff --git a/modules/webmidi/NavigatorWebMIDI.idl b/modules/webmidi/NavigatorWebMIDI.idl
index ba26473c57dab0799bbb2ed17c869ec2629bb288..6f4f7b57466f4aca85b34b8ad05e8c423329878c 100644
--- a/modules/webmidi/NavigatorWebMIDI.idl
+++ b/modules/webmidi/NavigatorWebMIDI.idl
@@ -28,9 +28,6 @@
* OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
*/
-[
- RuntimeEnabled=WebMIDI,
-] partial interface Navigator {
- // FIXMEDART: Remove the DartSuppress once Dart support Blink Promises.
- [CallWith=ScriptState, DartSuppress] Promise requestMIDIAccess(optional MIDIOptions options);
+partial interface Navigator {
+ [CallWith=ScriptState, MeasureAs=RequestMIDIAccess] Promise requestMIDIAccess(optional MIDIOptions options);
};
« no previous file with comments | « modules/webmidi/MIDISuccessCallback.idl ('k') | modules/websockets/CloseEvent.idl » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698