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

Issue 14520002: Web MIDI: implement MIDIInput (Closed)

Created:
7 years, 7 months ago by Takashi Toyoshima
Modified:
7 years, 7 months ago
Reviewers:
haraken, Chris Rogers
CC:
blink-reviews
Visibility:
Public.

Description

Web MIDI: implement MIDIInput This change implements MIDIInput. midimessage Event is not invoked yet. BUG=163795 TEST=none R=crogers@google.com, haraken@chromium.org Committed: https://src.chromium.org/viewvc/blink?view=rev&revision=149648

Patch Set 1 #

Total comments: 9

Patch Set 2 : (rebase) #

Patch Set 3 : crogers review #

Total comments: 2

Patch Set 4 : reviewed #

Unified diffs Side-by-side diffs Delta from patch set Stats (+31 lines, -22 lines) Patch
M Source/core/dom/EventTarget.h View 1 2 chunks +2 lines, -1 line 0 comments Download
M Source/core/dom/EventTargetFactory.in View 1 2 3 1 chunk +1 line, -0 lines 0 comments Download
M Source/modules/modules.gypi View 1 2 chunks +3 lines, -0 lines 0 comments Download
A + Source/modules/webmidi/MIDIInput.h View 1 2 3 1 chunk +15 lines, -11 lines 0 comments Download
A + Source/modules/webmidi/MIDIInput.cpp View 1 2 1 chunk +5 lines, -8 lines 0 comments Download
A + Source/modules/webmidi/MIDIInput.idl View 1 2 1 chunk +5 lines, -2 lines 0 comments Download

Messages

Total messages: 8 (0 generated)
Takashi Toyoshima
Hi Chris, This is initial change for MIDIInput. Can you take a look?
7 years, 7 months ago (2013-04-26 17:54:34 UTC) #1
Chris Rogers
https://codereview.chromium.org/14520002/diff/1/Source/modules/webmidi/MIDIInput.cpp File Source/modules/webmidi/MIDIInput.cpp (right): https://codereview.chromium.org/14520002/diff/1/Source/modules/webmidi/MIDIInput.cpp#newcode43 Source/modules/webmidi/MIDIInput.cpp:43: ASSERT(src->m_type == MIDIPortTypeInput); Please make a typeCode() method and ...
7 years, 7 months ago (2013-04-26 19:55:39 UTC) #2
Takashi Toyoshima
Thanks! https://codereview.chromium.org/14520002/diff/1/Source/modules/webmidi/MIDIInput.cpp File Source/modules/webmidi/MIDIInput.cpp (right): https://codereview.chromium.org/14520002/diff/1/Source/modules/webmidi/MIDIInput.cpp#newcode43 Source/modules/webmidi/MIDIInput.cpp:43: ASSERT(src->m_type == MIDIPortTypeInput); On 2013/04/26 19:55:39, Chris Rogers ...
7 years, 7 months ago (2013-05-02 08:55:25 UTC) #3
Takashi Toyoshima
+haraken for core/dom/EventTarget*
7 years, 7 months ago (2013-05-02 08:56:26 UTC) #4
haraken
LGTM https://codereview.chromium.org/14520002/diff/10001/Source/modules/webmidi/MIDIInput.idl File Source/modules/webmidi/MIDIInput.idl (right): https://codereview.chromium.org/14520002/diff/10001/Source/modules/webmidi/MIDIInput.idl#newcode33 Source/modules/webmidi/MIDIInput.idl:33: EventTarget Another option is to have MIDIPort inherit ...
7 years, 7 months ago (2013-05-02 09:06:57 UTC) #5
haraken
Please wait for L-G-T-M from crogers for modules/
7 years, 7 months ago (2013-05-02 09:07:25 UTC) #6
Chris Rogers
lgtm with small nit https://codereview.chromium.org/14520002/diff/10001/Source/modules/webmidi/MIDIInput.h File Source/modules/webmidi/MIDIInput.h (right): https://codereview.chromium.org/14520002/diff/10001/Source/modules/webmidi/MIDIInput.h#newcode44 Source/modules/webmidi/MIDIInput.h:44: virtual ~MIDIInput() { } small ...
7 years, 7 months ago (2013-05-02 19:26:57 UTC) #7
Takashi Toyoshima
7 years, 7 months ago (2013-05-03 13:08:37 UTC) #8
Message was sent while issue was closed.
Committed patchset #4 manually as r149648 (presubmit successful).

Powered by Google App Engine
This is Rietveld 408576698