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

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: Created 4 years, 10 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 188 matching lines...) Expand 10 before | Expand all | Expand 10 after
199 // Disables distance field text. 199 // Disables distance field text.
200 const char kDisableDistanceFieldText[] = "disable-distance-field-text"; 200 const char kDisableDistanceFieldText[] = "disable-distance-field-text";
201 201
202 // Disable LocalStorage. 202 // Disable LocalStorage.
203 const char kDisableLocalStorage[] = "disable-local-storage"; 203 const char kDisableLocalStorage[] = "disable-local-storage";
204 204
205 // Force logging to be disabled. Logging is enabled by default in debug 205 // Force logging to be disabled. Logging is enabled by default in debug
206 // builds. 206 // builds.
207 const char kDisableLogging[] = "disable-logging"; 207 const char kDisableLogging[] = "disable-logging";
208 208
209 // Disables Media Source API (i.e., the MediaSource object).
210 const char kDisableMediaSource[] = "disable-media-source";
211
212 // Disables usage of the namespace sandbox. 209 // Disables usage of the namespace sandbox.
213 const char kDisableNamespaceSandbox[] = "disable-namespace-sandbox"; 210 const char kDisableNamespaceSandbox[] = "disable-namespace-sandbox";
214 211
215 // Disables native GPU memory buffer support. 212 // Disables native GPU memory buffer support.
216 const char kDisableNativeGpuMemoryBuffers[] = 213 const char kDisableNativeGpuMemoryBuffers[] =
217 "disable-native-gpu-memory-buffers"; 214 "disable-native-gpu-memory-buffers";
218 215
219 // Disables the Web Notification and the Push APIs. 216 // Disables the Web Notification and the Push APIs.
220 const char kDisableNotifications[] = "disable-notifications"; 217 const char kDisableNotifications[] = "disable-notifications";
221 218
(...skipping 112 matching lines...) Expand 10 before | Expand all | Expand 10 after
334 const char kEnableBrowserSideNavigation[] = "enable-browser-side-navigation"; 331 const char kEnableBrowserSideNavigation[] = "enable-browser-side-navigation";
335 332
336 // Enables display list based 2d canvas implementation. Options: 333 // Enables display list based 2d canvas implementation. Options:
337 // 1. Enable: allow browser to use display list for 2d canvas (browser makes 334 // 1. Enable: allow browser to use display list for 2d canvas (browser makes
338 // decision). 335 // decision).
339 // 2. Force: browser always uses display list for 2d canvas. 336 // 2. Force: browser always uses display list for 2d canvas.
340 const char kEnableDisplayList2dCanvas[] = "enable-display-list-2d-canvas"; 337 const char kEnableDisplayList2dCanvas[] = "enable-display-list-2d-canvas";
341 const char kForceDisplayList2dCanvas[] = "force-display-list-2d-canvas"; 338 const char kForceDisplayList2dCanvas[] = "force-display-list-2d-canvas";
342 const char kDisableDisplayList2dCanvas[] = "disable-display-list-2d-canvas"; 339 const char kDisableDisplayList2dCanvas[] = "disable-display-list-2d-canvas";
343 340
344 // Disables (unprefixed) Encrypted Media Extensions.
345 const char kDisableEncryptedMedia[] = "disable-encrypted-media";
346
347 // Enable experimental canvas features, e.g. canvas 2D context attributes 341 // Enable experimental canvas features, e.g. canvas 2D context attributes
348 const char kEnableExperimentalCanvasFeatures[] = 342 const char kEnableExperimentalCanvasFeatures[] =
349 "enable-experimental-canvas-features"; 343 "enable-experimental-canvas-features";
350 344
351 // Enables Web Platform features that are in development. 345 // Enables Web Platform features that are in development.
352 const char kEnableExperimentalWebPlatformFeatures[] = 346 const char kEnableExperimentalWebPlatformFeatures[] =
353 "enable-experimental-web-platform-features"; 347 "enable-experimental-web-platform-features";
354 348
355 // Comma-separated list of feature names to enable. See also kDisableFeatures. 349 // Comma-separated list of feature names to enable. See also kDisableFeatures.
356 const char kEnableFeatures[] = "enable-features"; 350 const char kEnableFeatures[] = "enable-features";
(...skipping 688 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

Powered by Google App Engine
This is Rietveld 408576698