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