OLD | NEW |
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 // By default, file:// URIs cannot read other file:// URIs. This is an | 9 // By default, file:// URIs cannot read other file:// URIs. This is an |
10 // override for developers who need the old behavior for testing. | 10 // override for developers who need the old behavior for testing. |
(...skipping 289 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
300 // Enables the GPU benchmarking extension | 300 // Enables the GPU benchmarking extension |
301 const char kEnableGpuBenchmarking[] = "enable-gpu-benchmarking"; | 301 const char kEnableGpuBenchmarking[] = "enable-gpu-benchmarking"; |
302 | 302 |
303 // Force logging to be enabled. Logging is disabled by default in release | 303 // Force logging to be enabled. Logging is disabled by default in release |
304 // builds. | 304 // builds. |
305 const char kEnableLogging[] = "enable-logging"; | 305 const char kEnableLogging[] = "enable-logging"; |
306 | 306 |
307 // Enables Media Source API on <audio>/<video> elements. | 307 // Enables Media Source API on <audio>/<video> elements. |
308 const char kEnableMediaSource[] = "enable-media-source"; | 308 const char kEnableMediaSource[] = "enable-media-source"; |
309 | 309 |
| 310 // Enables using WebMediaPlayerMS for src of <audio>/<video> derived from |
| 311 // media stream. |
| 312 const char kEnableWebMediaPlayerMS[] = "enable-web-media-player-ms"; |
| 313 |
310 // On Windows, converts the page to the currently-installed monitor profile. | 314 // On Windows, converts the page to the currently-installed monitor profile. |
311 // This does NOT enable color management for images. The source is still | 315 // This does NOT enable color management for images. The source is still |
312 // assumed to be sRGB. | 316 // assumed to be sRGB. |
313 const char kEnableMonitorProfile[] = "enable-monitor-profile"; | 317 const char kEnableMonitorProfile[] = "enable-monitor-profile"; |
314 | 318 |
315 // Enables partial swaps in the WK compositor on platforms that support it. | 319 // Enables partial swaps in the WK compositor on platforms that support it. |
316 const char kEnablePartialSwap[] = "enable-partial-swap"; | 320 const char kEnablePartialSwap[] = "enable-partial-swap"; |
317 | 321 |
318 // Enables UI releasing handle to front surface for background tabs on platforms | 322 // Enables UI releasing handle to front surface for background tabs on platforms |
319 // that support it. | 323 // that support it. |
(...skipping 395 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
715 // Sets the width and height above which a composited layer will get tiled. | 719 // Sets the width and height above which a composited layer will get tiled. |
716 const char kMaxUntiledLayerWidth[] = "max-untiled-layer-width"; | 720 const char kMaxUntiledLayerWidth[] = "max-untiled-layer-width"; |
717 const char kMaxUntiledLayerHeight[] = "max-untiled-layer-height"; | 721 const char kMaxUntiledLayerHeight[] = "max-untiled-layer-height"; |
718 | 722 |
719 const char kEnableFixedPositionCreatesStackingContext[] | 723 const char kEnableFixedPositionCreatesStackingContext[] |
720 = "enable-fixed-position-creates-stacking-context"; | 724 = "enable-fixed-position-creates-stacking-context"; |
721 const char kDisableFixedPositionCreatesStackingContext[] | 725 const char kDisableFixedPositionCreatesStackingContext[] |
722 = "disable-fixed-position-creates-stacking-context"; | 726 = "disable-fixed-position-creates-stacking-context"; |
723 | 727 |
724 } // namespace switches | 728 } // namespace switches |
OLD | NEW |