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

Side by Side Diff: content/public/common/content_switches.cc

Issue 2039773003: [Android] Added a runtime flag to enable autoplay of muted videos. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Renamed the flag to autoplay-muted-videos Created 4 years, 6 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 | « content/public/common/content_switches.h ('k') | content/public/common/web_preferences.h » ('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 "build/build_config.h" 5 #include "build/build_config.h"
6 #include "content/public/common/content_switches.h" 6 #include "content/public/common/content_switches.h"
7 7
8 namespace switches { 8 namespace switches {
9 9
10 // The number of MSAA samples for canvas2D. Requires MSAA support by GPU to 10 // The number of MSAA samples for canvas2D. Requires MSAA support by GPU to
(...skipping 941 matching lines...) Expand 10 before | Expand all | Expand 10 after
952 952
953 // Enables remote debug over HTTP on the specified socket name. 953 // Enables remote debug over HTTP on the specified socket name.
954 const char kRemoteDebuggingSocketName[] = "remote-debugging-socket-name"; 954 const char kRemoteDebuggingSocketName[] = "remote-debugging-socket-name";
955 955
956 // Block ChildProcessMain thread of the renderer's ChildProcessService until a 956 // Block ChildProcessMain thread of the renderer's ChildProcessService until a
957 // Java debugger is attached. 957 // Java debugger is attached.
958 const char kRendererWaitForJavaDebugger[] = "renderer-wait-for-java-debugger"; 958 const char kRendererWaitForJavaDebugger[] = "renderer-wait-for-java-debugger";
959 959
960 // Enables overscrolling for the OSK on Android. 960 // Enables overscrolling for the OSK on Android.
961 const char kEnableOSKOverscroll[] = "enable-osk-overscroll"; 961 const char kEnableOSKOverscroll[] = "enable-osk-overscroll";
962
963 // Allow videos to autoplay without a user gesture if muted.
964 const char kEnableAutoplayMutedVideos[] = "enable-autoplay-muted-videos";
962 #endif 965 #endif
963 966
964 // Enable the aggressive flushing of DOM Storage to minimize data loss. 967 // Enable the aggressive flushing of DOM Storage to minimize data loss.
965 const char kEnableAggressiveDOMStorageFlushing[] = 968 const char kEnableAggressiveDOMStorageFlushing[] =
966 "enable-aggressive-domstorage-flushing"; 969 "enable-aggressive-domstorage-flushing";
967 970
968 // Enable audio for desktop share. 971 // Enable audio for desktop share.
969 const char kDisableAudioSupportForDesktopShare[] = 972 const char kDisableAudioSupportForDesktopShare[] =
970 "disable-audio-support-for-desktop-share"; 973 "disable-audio-support-for-desktop-share";
971 974
(...skipping 72 matching lines...) Expand 10 before | Expand all | Expand 10 after
1044 const char kMemoryPressureThresholdsMb[] = "memory-pressure-thresholds-mb"; 1047 const char kMemoryPressureThresholdsMb[] = "memory-pressure-thresholds-mb";
1045 1048
1046 // Enables the exporting of the tracing events to ETW. This is only supported on 1049 // Enables the exporting of the tracing events to ETW. This is only supported on
1047 // Windows Vista and later. 1050 // Windows Vista and later.
1048 const char kTraceExportEventsToETW[] = "trace-export-events-to-etw"; 1051 const char kTraceExportEventsToETW[] = "trace-export-events-to-etw";
1049 #endif 1052 #endif
1050 1053
1051 // Don't dump stuff here, follow the same order as the header. 1054 // Don't dump stuff here, follow the same order as the header.
1052 1055
1053 } // namespace switches 1056 } // namespace switches
OLDNEW
« no previous file with comments | « content/public/common/content_switches.h ('k') | content/public/common/web_preferences.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698