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

Side by Side Diff: chrome/browser/about_flags.cc

Issue 1276233005: [WebMIDI] Add "use-android-midi-api" flag for Android M+ devices. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: rebase Created 5 years, 3 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 unified diff | Download patch
« no previous file with comments | « chrome/browser/DEPS ('k') | chrome/chrome_browser.gypi » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2012 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be 2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file. 3 // found in the LICENSE file.
4 4
5 #include "chrome/browser/about_flags.h" 5 #include "chrome/browser/about_flags.h"
6 6
7 #include <iterator> 7 #include <iterator>
8 #include <map> 8 #include <map>
9 #include <set> 9 #include <set>
10 #include <utility> 10 #include <utility>
(...skipping 22 matching lines...) Expand all
33 #include "components/nacl/common/nacl_switches.h" 33 #include "components/nacl/common/nacl_switches.h"
34 #include "components/offline_pages/offline_page_switches.h" 34 #include "components/offline_pages/offline_page_switches.h"
35 #include "components/omnibox/browser/omnibox_switches.h" 35 #include "components/omnibox/browser/omnibox_switches.h"
36 #include "components/plugins/common/plugins_switches.h" 36 #include "components/plugins/common/plugins_switches.h"
37 #include "components/proximity_auth/switches.h" 37 #include "components/proximity_auth/switches.h"
38 #include "components/search/search_switches.h" 38 #include "components/search/search_switches.h"
39 #include "components/sync_driver/sync_driver_switches.h" 39 #include "components/sync_driver/sync_driver_switches.h"
40 #include "components/version_info/version_info.h" 40 #include "components/version_info/version_info.h"
41 #include "content/public/browser/user_metrics.h" 41 #include "content/public/browser/user_metrics.h"
42 #include "media/base/media_switches.h" 42 #include "media/base/media_switches.h"
43 #include "media/midi/midi_switches.h"
43 #include "ui/base/l10n/l10n_util.h" 44 #include "ui/base/l10n/l10n_util.h"
44 #include "ui/base/ui_base_switches.h" 45 #include "ui/base/ui_base_switches.h"
45 #include "ui/display/display_switches.h" 46 #include "ui/display/display_switches.h"
46 #include "ui/events/event_switches.h" 47 #include "ui/events/event_switches.h"
47 #include "ui/gfx/switches.h" 48 #include "ui/gfx/switches.h"
48 #include "ui/gl/gl_switches.h" 49 #include "ui/gl/gl_switches.h"
49 #include "ui/keyboard/keyboard_switches.h" 50 #include "ui/keyboard/keyboard_switches.h"
50 #include "ui/native_theme/native_theme_switches.h" 51 #include "ui/native_theme/native_theme_switches.h"
51 #include "ui/views/views_switches.h" 52 #include "ui/views/views_switches.h"
52 53
(...skipping 1960 matching lines...) Expand 10 before | Expand all | Expand 10 after
2013 // merge the flag values. 2014 // merge the flag values.
2014 SINGLE_VALUE_TYPE_AND_VALUE( 2015 SINGLE_VALUE_TYPE_AND_VALUE(
2015 switches::kBlinkSettings, "lowPriorityIframes=true")}, 2016 switches::kBlinkSettings, "lowPriorityIframes=true")},
2016 #if defined(OS_ANDROID) 2017 #if defined(OS_ANDROID)
2017 {"enable-ntp-popular-sites", 2018 {"enable-ntp-popular-sites",
2018 IDS_FLAGS_NTP_POPULAR_SITES_NAME, 2019 IDS_FLAGS_NTP_POPULAR_SITES_NAME,
2019 IDS_FLAGS_NTP_POPULAR_SITES_DESCRIPTION, 2020 IDS_FLAGS_NTP_POPULAR_SITES_DESCRIPTION,
2020 kOsAndroid, 2021 kOsAndroid,
2021 ENABLE_DISABLE_VALUE_TYPE(switches::kEnableNTPPopularSites, 2022 ENABLE_DISABLE_VALUE_TYPE(switches::kEnableNTPPopularSites,
2022 switches::kDisableNTPPopularSites)}, 2023 switches::kDisableNTPPopularSites)},
2024 {"use-android-midi-api",
2025 IDS_FLAGS_USE_ANDROID_MIDI_API_NAME,
2026 IDS_FLAGS_USE_ANDROID_MIDI_API_DESCRIPTION,
2027 kOsAndroid,
2028 SINGLE_VALUE_TYPE(switches::kUseAndroidMidiApi)},
2023 #endif // defined(OS_ANDROID) 2029 #endif // defined(OS_ANDROID)
2024 #if defined(OS_WIN) 2030 #if defined(OS_WIN)
2025 {"trace-export-events-to-etw", 2031 {"trace-export-events-to-etw",
2026 IDS_FLAGS_TRACE_EXPORT_EVENTS_TO_ETW_NAME, 2032 IDS_FLAGS_TRACE_EXPORT_EVENTS_TO_ETW_NAME,
2027 IDS_FLAGS_TRACE_EXPORT_EVENTS_TO_ETW_DESRIPTION, 2033 IDS_FLAGS_TRACE_EXPORT_EVENTS_TO_ETW_DESRIPTION,
2028 kOsWin, 2034 kOsWin,
2029 SINGLE_VALUE_TYPE(switches::kTraceExportEventsToETW)}, 2035 SINGLE_VALUE_TYPE(switches::kTraceExportEventsToETW)},
2030 #endif // defined(OS_WIN) 2036 #endif // defined(OS_WIN)
2031 #if defined(ENABLE_BACKGROUND) 2037 #if defined(ENABLE_BACKGROUND)
2032 {"enable-push-api-background-mode", 2038 {"enable-push-api-background-mode",
(...skipping 652 matching lines...) Expand 10 before | Expand all | Expand 10 after
2685 } 2691 }
2686 2692
2687 const Experiment* GetExperiments(size_t* count) { 2693 const Experiment* GetExperiments(size_t* count) {
2688 *count = num_experiments; 2694 *count = num_experiments;
2689 return experiments; 2695 return experiments;
2690 } 2696 }
2691 2697
2692 } // namespace testing 2698 } // namespace testing
2693 2699
2694 } // namespace about_flags 2700 } // namespace about_flags
OLDNEW
« no previous file with comments | « chrome/browser/DEPS ('k') | chrome/chrome_browser.gypi » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698