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