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 275 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
286 // Enables the GPU benchmarking extension | 286 // Enables the GPU benchmarking extension |
287 const char kEnableGpuBenchmarking[] = "enable-gpu-benchmarking"; | 287 const char kEnableGpuBenchmarking[] = "enable-gpu-benchmarking"; |
288 | 288 |
289 // Force logging to be enabled. Logging is disabled by default in release | 289 // Force logging to be enabled. Logging is disabled by default in release |
290 // builds. | 290 // builds. |
291 const char kEnableLogging[] = "enable-logging"; | 291 const char kEnableLogging[] = "enable-logging"; |
292 | 292 |
293 // Disable Media Source API on <audio>/<video> elements. | 293 // Disable Media Source API on <audio>/<video> elements. |
294 const char kDisableMediaSource[] = "disable-media-source"; | 294 const char kDisableMediaSource[] = "disable-media-source"; |
295 | 295 |
| 296 // Enables using WebMediaPlayerMS for src of <audio>/<video> derived from |
| 297 // media stream. |
| 298 const char kEnableWebMediaPlayerMS[] = "enable-web-media-player-ms"; |
| 299 |
296 // On Windows, converts the page to the currently-installed monitor profile. | 300 // On Windows, converts the page to the currently-installed monitor profile. |
297 // This does NOT enable color management for images. The source is still | 301 // This does NOT enable color management for images. The source is still |
298 // assumed to be sRGB. | 302 // assumed to be sRGB. |
299 const char kEnableMonitorProfile[] = "enable-monitor-profile"; | 303 const char kEnableMonitorProfile[] = "enable-monitor-profile"; |
300 | 304 |
301 // Enables partial swaps in the WK compositor on platforms that support it. | 305 // Enables partial swaps in the WK compositor on platforms that support it. |
302 const char kEnablePartialSwap[] = "enable-partial-swap"; | 306 const char kEnablePartialSwap[] = "enable-partial-swap"; |
303 | 307 |
304 // Enables UI releasing handle to front surface for background tabs on platforms | 308 // Enables UI releasing handle to front surface for background tabs on platforms |
305 // that support it. | 309 // that support it. |
(...skipping 400 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
706 // Sets the width and height above which a composited layer will get tiled. | 710 // Sets the width and height above which a composited layer will get tiled. |
707 const char kMaxUntiledLayerWidth[] = "max-untiled-layer-width"; | 711 const char kMaxUntiledLayerWidth[] = "max-untiled-layer-width"; |
708 const char kMaxUntiledLayerHeight[] = "max-untiled-layer-height"; | 712 const char kMaxUntiledLayerHeight[] = "max-untiled-layer-height"; |
709 | 713 |
710 const char kEnableFixedPositionCreatesStackingContext[] | 714 const char kEnableFixedPositionCreatesStackingContext[] |
711 = "enable-fixed-position-creates-stacking-context"; | 715 = "enable-fixed-position-creates-stacking-context"; |
712 const char kDisableFixedPositionCreatesStackingContext[] | 716 const char kDisableFixedPositionCreatesStackingContext[] |
713 = "disable-fixed-position-creates-stacking-context"; | 717 = "disable-fixed-position-creates-stacking-context"; |
714 | 718 |
715 } // namespace switches | 719 } // namespace switches |
OLD | NEW |