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

Unified Diff: Source/modules/webmidi/MIDIPort.idl

Issue 14373008: Web MIDI: clean up on MIDIPort and MIDIErrorCallback (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: (rebase) Created 7 years, 8 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 | « Source/modules/webmidi/MIDIPort.cpp ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: Source/modules/webmidi/MIDIPort.idl
diff --git a/Source/modules/webmidi/MIDIPort.idl b/Source/modules/webmidi/MIDIPort.idl
index 2c7286fbc22875f02f9157e4d3389d85e49a1e8f..226387cb79bd5825f319434d94eaf5f4135610e8 100644
--- a/Source/modules/webmidi/MIDIPort.idl
+++ b/Source/modules/webmidi/MIDIPort.idl
@@ -28,12 +28,10 @@
* OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
*/
-// FIXME: IDL generator doesn't support readonly enum yet.
-// See also, http://crbug.com/234925
-//enum MIDIPortType {
-// "input",
-// "output"
-//};
+enum MIDIPortType {
+ "input",
+ "output"
+};
[
ActiveDOMObject,
@@ -42,7 +40,7 @@
readonly attribute DOMString id;
readonly attribute DOMString manufacturer;
readonly attribute DOMString name;
- readonly attribute DOMString type;
+ readonly attribute MIDIPortType type;
readonly attribute DOMString version;
attribute EventListener ondisconnect;
« no previous file with comments | « Source/modules/webmidi/MIDIPort.cpp ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698