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

Issue 2299543009: Add "use-winrt-midi-api" flag to enable WinRT WebMIDI backend (Closed)

Created:
4 years, 3 months ago by Shao-Chuan Lee
Modified:
4 years, 3 months ago
CC:
chromium-reviews, feature-media-reviews_chromium.org, toyoshim+midi_chromium.org, asvitkine+watch_chromium.org
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

Add "use-winrt-midi-api" flag to enable WinRT WebMIDI backend The WinRT WebMIDI implementation is currently behind a compile-time flag (midi_use_winrt). Now we provide both WinMM and WinRT implementations in the browser and use a runtime flag to switch between them. BUG=512433 Committed: https://crrev.com/682aa57d696476168651f22017105faa676d8d79 Cr-Commit-Position: refs/heads/master@{#416183}

Patch Set 1 #

Total comments: 3

Patch Set 2 : workaround for x86 MSVC and clang #

Total comments: 1
Unified diffs Side-by-side diffs Delta from patch set Stats (+68 lines, -48 lines) Patch
M chrome/app/generated_resources.grd View 1 chunk +6 lines, -0 lines 0 comments Download
M chrome/browser/about_flags.cc View 1 chunk +3 lines, -0 lines 0 comments Download
M media/midi/BUILD.gn View 2 chunks +7 lines, -13 lines 0 comments Download
M media/midi/midi_manager_win.cc View 3 chunks +8 lines, -0 lines 0 comments Download
M media/midi/midi_manager_winrt.cc View 1 6 chunks +34 lines, -25 lines 1 comment Download
D media/midi/midi_options.gni View 1 chunk +0 lines, -10 lines 0 comments Download
M media/midi/midi_switches.h View 1 chunk +4 lines, -0 lines 0 comments Download
M media/midi/midi_switches.cc View 1 chunk +5 lines, -0 lines 0 comments Download
M tools/metrics/histograms/histograms.xml View 1 chunk +1 line, -0 lines 0 comments Download

Depends on Patchset:

Messages

Total messages: 33 (25 generated)
Shao-Chuan Lee
I'd like to go for a CQ dry run first to check if it works ...
4 years, 3 months ago (2016-09-01 07:43:20 UTC) #3
Shao-Chuan Lee
https://codereview.chromium.org/2299543009/diff/1/media/midi/midi_manager_winrt.cc File media/midi/midi_manager_winrt.cc (right): https://codereview.chromium.org/2299543009/diff/1/media/midi/midi_manager_winrt.cc#newcode199 media/midi/midi_manager_winrt.cc:199: return GetStringFromObjectMethod<T, &T::get_Id>(obj); This triggers error C2893 and C2672 ...
4 years, 3 months ago (2016-09-01 09:48:20 UTC) #7
Takashi Toyoshima
+isherman for histograms.xml change to add a chrome flag Hi Ilya. Though this change still ...
4 years, 3 months ago (2016-09-01 11:08:30 UTC) #17
Ilya Sherman
histograms.xml lgtm
4 years, 3 months ago (2016-09-01 19:15:58 UTC) #22
Takashi Toyoshima
lgtm
4 years, 3 months ago (2016-09-02 03:15:16 UTC) #27
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/v2/patch-status/codereview.chromium.org/2299543009/20001
4 years, 3 months ago (2016-09-02 03:40:42 UTC) #29
commit-bot: I haz the power
Committed patchset #2 (id:20001)
4 years, 3 months ago (2016-09-02 03:45:33 UTC) #31
commit-bot: I haz the power
4 years, 3 months ago (2016-09-02 03:50:20 UTC) #33
Message was sent while issue was closed.
Patchset 2 (id:??) landed as
https://crrev.com/682aa57d696476168651f22017105faa676d8d79
Cr-Commit-Position: refs/heads/master@{#416183}

Powered by Google App Engine
This is Rietveld 408576698