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

Side by Side Diff: content/public/common/content_switches.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: Created 5 years, 4 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
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 "content/public/common/content_switches.h" 5 #include "content/public/common/content_switches.h"
6 6
7 namespace switches { 7 namespace switches {
8 8
9 // The number of MSAA samples for canvas2D. Requires MSAA support by GPU to 9 // The number of MSAA samples for canvas2D. Requires MSAA support by GPU to
10 // have an effect. 0 disables MSAA. 10 // have an effect. 0 disables MSAA.
(...skipping 940 matching lines...) Expand 10 before | Expand all | Expand 10 after
951 951
952 // The telephony region (ISO country code) to use in phone number detection. 952 // The telephony region (ISO country code) to use in phone number detection.
953 const char kNetworkCountryIso[] = "network-country-iso"; 953 const char kNetworkCountryIso[] = "network-country-iso";
954 954
955 // Enables remote debug over HTTP on the specified socket name. 955 // Enables remote debug over HTTP on the specified socket name.
956 const char kRemoteDebuggingSocketName[] = "remote-debugging-socket-name"; 956 const char kRemoteDebuggingSocketName[] = "remote-debugging-socket-name";
957 957
958 // Block ChildProcessMain thread of the renderer's ChildProcessService until a 958 // Block ChildProcessMain thread of the renderer's ChildProcessService until a
959 // Java debugger is attached. 959 // Java debugger is attached.
960 const char kRendererWaitForJavaDebugger[] = "renderer-wait-for-java-debugger"; 960 const char kRendererWaitForJavaDebugger[] = "renderer-wait-for-java-debugger";
961
962 // Use Android Midi API for WebMIDI.
963 const char kUseAndroidMidiApi[] = "use-android-midi-api";
964
961 #endif 965 #endif
962 966
963 // Enable the aggressive flushing of DOM Storage to minimize data loss. 967 // Enable the aggressive flushing of DOM Storage to minimize data loss.
964 const char kEnableAggressiveDOMStorageFlushing[] = 968 const char kEnableAggressiveDOMStorageFlushing[] =
965 "enable-aggressive-domstorage-flushing"; 969 "enable-aggressive-domstorage-flushing";
966 970
967 // Disable web audio API. 971 // Disable web audio API.
968 const char kDisableWebAudio[] = "disable-webaudio"; 972 const char kDisableWebAudio[] = "disable-webaudio";
969 973
970 #if defined(OS_CHROMEOS) 974 #if defined(OS_CHROMEOS)
(...skipping 44 matching lines...) Expand 10 before | Expand all | Expand 10 after
1015 const char kMemoryPressureThresholdsMb[] = "memory-pressure-thresholds-mb"; 1019 const char kMemoryPressureThresholdsMb[] = "memory-pressure-thresholds-mb";
1016 1020
1017 // Enables the exporting of the tracing events to ETW. This is only supported on 1021 // Enables the exporting of the tracing events to ETW. This is only supported on
1018 // Windows Vista and later. 1022 // Windows Vista and later.
1019 const char kTraceExportEventsToETW[] = "trace-export-events-to-etw"; 1023 const char kTraceExportEventsToETW[] = "trace-export-events-to-etw";
1020 #endif 1024 #endif
1021 1025
1022 // Don't dump stuff here, follow the same order as the header. 1026 // Don't dump stuff here, follow the same order as the header.
1023 1027
1024 } // namespace switches 1028 } // namespace switches
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698