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

Unified Diff: chrome/browser/about_flags.cc

Issue 2392263002: Enable MidiManagerWinrt by default on Windows 10 (Closed)
Patch Set: rebase Created 4 years, 2 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 | « chrome/app/generated_resources.grd ('k') | media/midi/midi_manager_win.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/browser/about_flags.cc
diff --git a/chrome/browser/about_flags.cc b/chrome/browser/about_flags.cc
index a543c2e06c1559f81bf7f5c357cdab0d027fd62c..ce9ff6e3160c88f4d49ed7706253c1377ec80473 100644
--- a/chrome/browser/about_flags.cc
+++ b/chrome/browser/about_flags.cc
@@ -1751,9 +1751,6 @@ const FeatureEntry kFeatureEntries[] = {
IDS_FLAGS_MERGE_KEY_CHAR_EVENTS_DESCRIPTION, kOsWin,
ENABLE_DISABLE_VALUE_TYPE(switches::kEnableMergeKeyCharEvents,
switches::kDisableMergeKeyCharEvents)},
- {"use-winrt-midi-api", IDS_FLAGS_USE_WINRT_MIDI_API_NAME,
- IDS_FLAGS_USE_WINRT_MIDI_API_DESCRIPTION, kOsWin,
- FEATURE_VALUE_TYPE(media::midi::features::kMidiManagerWinrt)},
#endif // OS_WIN
#if BUILDFLAG(ENABLE_BACKGROUND)
{"enable-push-api-background-mode", IDS_FLAGS_PUSH_API_BACKGROUND_MODE_NAME,
@@ -2113,6 +2110,11 @@ const FeatureEntry kFeatureEntries[] = {
IDS_FLAGS_ARC_BOOT_COMPLETED_DESCRIPTION, kOsCrOS,
FEATURE_VALUE_TYPE(arc::kBootCompletedBroadcastFeature)},
#endif
+#if defined(OS_WIN)
+ {"disable-winrt-midi-api", IDS_FLAGS_DISABLE_WINRT_MIDI_API_NAME,
+ IDS_FLAGS_DISABLE_WINRT_MIDI_API_DESCRIPTION, kOsWin,
+ SINGLE_DISABLE_VALUE_TYPE(switches::kDisableWinrtMidiApi)},
+#endif // OS_WIN
// NOTE: Adding new command-line switches requires adding corresponding
// entries to enum "LoginCustomFlags" in histograms.xml. See note in
// histograms.xml and don't forget to run AboutFlagsHistogramTest unit test.
« no previous file with comments | « chrome/app/generated_resources.grd ('k') | media/midi/midi_manager_win.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698