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 286 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
297 // Enable the JavaScript Pointer Lock API. | 297 // Enable the JavaScript Pointer Lock API. |
298 const char kEnablePointerLock[] = "enable-pointer-lock"; | 298 const char kEnablePointerLock[] = "enable-pointer-lock"; |
299 | 299 |
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 // Disable Media Source API on <audio>/<video> elements. |
308 const char kEnableMediaSource[] = "enable-media-source"; | 308 const char kDisableMediaSource[] = "disable-media-source"; |
309 | 309 |
310 // On Windows, converts the page to the currently-installed monitor profile. | 310 // On Windows, converts the page to the currently-installed monitor profile. |
311 // This does NOT enable color management for images. The source is still | 311 // This does NOT enable color management for images. The source is still |
312 // assumed to be sRGB. | 312 // assumed to be sRGB. |
313 const char kEnableMonitorProfile[] = "enable-monitor-profile"; | 313 const char kEnableMonitorProfile[] = "enable-monitor-profile"; |
314 | 314 |
315 // Enables partial swaps in the WK compositor on platforms that support it. | 315 // Enables partial swaps in the WK compositor on platforms that support it. |
316 const char kEnablePartialSwap[] = "enable-partial-swap"; | 316 const char kEnablePartialSwap[] = "enable-partial-swap"; |
317 | 317 |
318 // Enables UI releasing handle to front surface for background tabs on platforms | 318 // Enables UI releasing handle to front surface for background tabs on platforms |
(...skipping 396 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. | 715 // Sets the width and height above which a composited layer will get tiled. |
716 const char kMaxUntiledLayerWidth[] = "max-untiled-layer-width"; | 716 const char kMaxUntiledLayerWidth[] = "max-untiled-layer-width"; |
717 const char kMaxUntiledLayerHeight[] = "max-untiled-layer-height"; | 717 const char kMaxUntiledLayerHeight[] = "max-untiled-layer-height"; |
718 | 718 |
719 const char kEnableFixedPositionCreatesStackingContext[] | 719 const char kEnableFixedPositionCreatesStackingContext[] |
720 = "enable-fixed-position-creates-stacking-context"; | 720 = "enable-fixed-position-creates-stacking-context"; |
721 const char kDisableFixedPositionCreatesStackingContext[] | 721 const char kDisableFixedPositionCreatesStackingContext[] |
722 = "disable-fixed-position-creates-stacking-context"; | 722 = "disable-fixed-position-creates-stacking-context"; |
723 | 723 |
724 } // namespace switches | 724 } // namespace switches |
OLD | NEW |