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

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

Issue 1742933002: Remove EME and MSE from RuntimeEnabledFeatures. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: rebase only Created 4 years, 9 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 "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 189 matching lines...) Expand 10 before | Expand all | Expand 10 after
200 // Disables distance field text. 200 // Disables distance field text.
201 const char kDisableDistanceFieldText[] = "disable-distance-field-text"; 201 const char kDisableDistanceFieldText[] = "disable-distance-field-text";
202 202
203 // Disable LocalStorage. 203 // Disable LocalStorage.
204 const char kDisableLocalStorage[] = "disable-local-storage"; 204 const char kDisableLocalStorage[] = "disable-local-storage";
205 205
206 // Force logging to be disabled. Logging is enabled by default in debug 206 // Force logging to be disabled. Logging is enabled by default in debug
207 // builds. 207 // builds.
208 const char kDisableLogging[] = "disable-logging"; 208 const char kDisableLogging[] = "disable-logging";
209 209
210 // Disables Media Source API (i.e., the MediaSource object).
211 const char kDisableMediaSource[] = "disable-media-source";
212
213 // Disables usage of the namespace sandbox. 210 // Disables usage of the namespace sandbox.
214 const char kDisableNamespaceSandbox[] = "disable-namespace-sandbox"; 211 const char kDisableNamespaceSandbox[] = "disable-namespace-sandbox";
215 212
216 // Disables native GPU memory buffer support. 213 // Disables native GPU memory buffer support.
217 const char kDisableNativeGpuMemoryBuffers[] = 214 const char kDisableNativeGpuMemoryBuffers[] =
218 "disable-native-gpu-memory-buffers"; 215 "disable-native-gpu-memory-buffers";
219 216
220 // Disables the Web Notification and the Push APIs. 217 // Disables the Web Notification and the Push APIs.
221 const char kDisableNotifications[] = "disable-notifications"; 218 const char kDisableNotifications[] = "disable-notifications";
222 219
(...skipping 112 matching lines...) Expand 10 before | Expand all | Expand 10 after
335 const char kEnableBrowserSideNavigation[] = "enable-browser-side-navigation"; 332 const char kEnableBrowserSideNavigation[] = "enable-browser-side-navigation";
336 333
337 // Enables display list based 2d canvas implementation. Options: 334 // Enables display list based 2d canvas implementation. Options:
338 // 1. Enable: allow browser to use display list for 2d canvas (browser makes 335 // 1. Enable: allow browser to use display list for 2d canvas (browser makes
339 // decision). 336 // decision).
340 // 2. Force: browser always uses display list for 2d canvas. 337 // 2. Force: browser always uses display list for 2d canvas.
341 const char kEnableDisplayList2dCanvas[] = "enable-display-list-2d-canvas"; 338 const char kEnableDisplayList2dCanvas[] = "enable-display-list-2d-canvas";
342 const char kForceDisplayList2dCanvas[] = "force-display-list-2d-canvas"; 339 const char kForceDisplayList2dCanvas[] = "force-display-list-2d-canvas";
343 const char kDisableDisplayList2dCanvas[] = "disable-display-list-2d-canvas"; 340 const char kDisableDisplayList2dCanvas[] = "disable-display-list-2d-canvas";
344 341
345 // Disables (unprefixed) Encrypted Media Extensions.
346 const char kDisableEncryptedMedia[] = "disable-encrypted-media";
347
348 // Enable experimental canvas features, e.g. canvas 2D context attributes 342 // Enable experimental canvas features, e.g. canvas 2D context attributes
349 const char kEnableExperimentalCanvasFeatures[] = 343 const char kEnableExperimentalCanvasFeatures[] =
350 "enable-experimental-canvas-features"; 344 "enable-experimental-canvas-features";
351 345
352 // Enables Web Platform features that are in development. 346 // Enables Web Platform features that are in development.
353 const char kEnableExperimentalWebPlatformFeatures[] = 347 const char kEnableExperimentalWebPlatformFeatures[] =
354 "enable-experimental-web-platform-features"; 348 "enable-experimental-web-platform-features";
355 349
356 // Comma-separated list of feature names to enable. See also kDisableFeatures. 350 // Comma-separated list of feature names to enable. See also kDisableFeatures.
357 const char kEnableFeatures[] = "enable-features"; 351 const char kEnableFeatures[] = "enable-features";
(...skipping 687 matching lines...) Expand 10 before | Expand all | Expand 10 after
1045 const char kMemoryPressureThresholdsMb[] = "memory-pressure-thresholds-mb"; 1039 const char kMemoryPressureThresholdsMb[] = "memory-pressure-thresholds-mb";
1046 1040
1047 // Enables the exporting of the tracing events to ETW. This is only supported on 1041 // Enables the exporting of the tracing events to ETW. This is only supported on
1048 // Windows Vista and later. 1042 // Windows Vista and later.
1049 const char kTraceExportEventsToETW[] = "trace-export-events-to-etw"; 1043 const char kTraceExportEventsToETW[] = "trace-export-events-to-etw";
1050 #endif 1044 #endif
1051 1045
1052 // Don't dump stuff here, follow the same order as the header. 1046 // Don't dump stuff here, follow the same order as the header.
1053 1047
1054 } // namespace switches 1048 } // namespace switches
OLDNEW
« no previous file with comments | « content/public/common/content_switches.h ('k') | content/renderer/media/android/webmediaplayer_android.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698