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

Issue 23609033: Web MIDI: MIDIPort doesn't have to be ActiveDOMObject (Closed)

Created:
7 years, 3 months ago by Takashi Toyoshima
Modified:
6 years, 10 months ago
Reviewers:
kouhei (in TOK)
CC:
blink-reviews, dglazkov+blink, eae+blinkwatch
Visibility:
Public.

Description

Web MIDI: MIDIPort doesn't have to be ActiveDOMObject MIDIAccess is the only class which should be ActiveDOMObject. MIDIPort, MIDIInput, and MIDIOutput does't have to be. BUG=163795 Committed: https://src.chromium.org/viewvc/blink?view=rev&revision=167183

Patch Set 1 #

Patch Set 2 : fixed #

Patch Set 3 : (just rebased, doesn't work) #

Patch Set 4 : #

Patch Set 5 : works #

Total comments: 1

Patch Set 6 : move SetWrapperReferenceTo() to MIDIPort.idl #

Patch Set 7 : revert idl changes #

Unified diffs Side-by-side diffs Delta from patch set Stats (+40 lines, -48 lines) Patch
M Source/modules/webmidi/MIDIAccess.cpp View 1 2 3 3 chunks +2 lines, -4 lines 0 comments Download
M Source/modules/webmidi/MIDIInput.h View 1 2 3 2 chunks +2 lines, -7 lines 0 comments Download
M Source/modules/webmidi/MIDIInput.cpp View 1 2 3 2 chunks +5 lines, -7 lines 0 comments Download
M Source/modules/webmidi/MIDIInput.idl View 1 2 6 1 chunk +0 lines, -1 line 0 comments Download
M Source/modules/webmidi/MIDIOutput.h View 1 2 3 2 chunks +2 lines, -6 lines 0 comments Download
M Source/modules/webmidi/MIDIOutput.cpp View 1 2 3 2 chunks +6 lines, -8 lines 0 comments Download
M Source/modules/webmidi/MIDIOutput.idl View 1 2 6 1 chunk +0 lines, -1 line 0 comments Download
M Source/modules/webmidi/MIDIPort.h View 1 2 3 4 5 5 chunks +12 lines, -5 lines 0 comments Download
M Source/modules/webmidi/MIDIPort.cpp View 1 2 3 2 chunks +11 lines, -8 lines 0 comments Download
M Source/modules/webmidi/MIDIPort.idl View 1 2 3 4 5 6 1 chunk +0 lines, -1 line 0 comments Download

Messages

Total messages: 14 (0 generated)
Takashi Toyoshima
Hi Kouhei, As you suggested, I make MIDIPort and so on not to be ActiveDOMObject. ...
7 years, 3 months ago (2013-09-12 09:44:57 UTC) #1
kouhei (in TOK)
The CL seems to be missing MIDIOutput.idl?
7 years, 3 months ago (2013-09-13 01:50:27 UTC) #2
Takashi Toyoshima
Hi, I'd revisit this CL. Can you take a look?
6 years, 10 months ago (2014-02-06 13:06:57 UTC) #3
Takashi Toyoshima
ping
6 years, 10 months ago (2014-02-10 05:32:20 UTC) #4
kouhei (in TOK)
On 2014/02/10 05:32:20, Takashi Toyoshima (chromium) wrote: > ping Sorry for the delay. The mail ...
6 years, 10 months ago (2014-02-10 05:36:24 UTC) #5
kouhei (in TOK)
https://codereview.chromium.org/23609033/diff/159001/Source/modules/webmidi/MIDIPort.h File Source/modules/webmidi/MIDIPort.h (right): https://codereview.chromium.org/23609033/diff/159001/Source/modules/webmidi/MIDIPort.h#newcode77 Source/modules/webmidi/MIDIPort.h:77: MIDIAccess* m_access; Is this raw-ptr to avoid refcycles? Please ...
6 years, 10 months ago (2014-02-10 06:07:31 UTC) #6
Takashi Toyoshima
Good point. Also I have a related question about SetWrapperReferenceTo() annotation because I don't have ...
6 years, 10 months ago (2014-02-10 06:29:02 UTC) #7
kouhei (in TOK)
On 2014/02/10 06:29:02, Takashi Toyoshima (chromium) wrote: > Good point. Also I have a related ...
6 years, 10 months ago (2014-02-10 06:35:21 UTC) #8
Takashi Toyoshima
That's really good news. Anyway, I updated my PS5 to 6. I moved SetWrapperReferenceTo() annotation ...
6 years, 10 months ago (2014-02-14 07:41:51 UTC) #9
kouhei (in TOK)
On 2014/02/14 07:41:51, Takashi Toyoshima (chromium) wrote: > That's really good news. > Anyway, I ...
6 years, 10 months ago (2014-02-14 08:00:26 UTC) #10
Takashi Toyoshima
I checked generated codes. MIDIInput and MIDIOutput define WrapperTypeInfo which does not contain visitDOMWrapper calling ...
6 years, 10 months ago (2014-02-14 10:02:07 UTC) #11
kouhei (in TOK)
lgtm
6 years, 10 months ago (2014-02-14 10:04:07 UTC) #12
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/toyoshim@chromium.org/23609033/399001
6 years, 10 months ago (2014-02-14 10:04:15 UTC) #13
commit-bot: I haz the power
6 years, 10 months ago (2014-02-14 12:09:30 UTC) #14
Message was sent while issue was closed.
Change committed as 167183

Powered by Google App Engine
This is Rietveld 408576698