| 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 256 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 267 | 267 |
| 268 // Enable media stream in WebKit. | 268 // Enable media stream in WebKit. |
| 269 // http://www.whatwg.org/specs/web-apps/current-work/multipage/dnd.html#mediastr
eam | 269 // http://www.whatwg.org/specs/web-apps/current-work/multipage/dnd.html#mediastr
eam |
| 270 const char kEnableMediaStream[] = "enable-media-stream"; | 270 const char kEnableMediaStream[] = "enable-media-stream"; |
| 271 | 271 |
| 272 // On Windows, converts the page to the currently-installed monitor profile. | 272 // On Windows, converts the page to the currently-installed monitor profile. |
| 273 // This does NOT enable color management for images. The source is still | 273 // This does NOT enable color management for images. The source is still |
| 274 // assumed to be sRGB. | 274 // assumed to be sRGB. |
| 275 const char kEnableMonitorProfile[] = "enable-monitor-profile"; | 275 const char kEnableMonitorProfile[] = "enable-monitor-profile"; |
| 276 | 276 |
| 277 // Enables TLS origin bound certificate extension. | 277 // Enables TLS domain bound certificate extension. |
| 278 const char kEnableOriginBoundCerts[] = "enable-origin-bound-certs"; | 278 const char kEnableOriginBoundCerts[] = "enable-origin-bound-certs"; |
| 279 | 279 |
| 280 // Enables partial swaps in the WK compositor on platforms that support it. | 280 // Enables partial swaps in the WK compositor on platforms that support it. |
| 281 const char kEnablePartialSwap[] = "enable-partial-swap"; | 281 const char kEnablePartialSwap[] = "enable-partial-swap"; |
| 282 | 282 |
| 283 // Enable caching of pre-parsed JS script data. See http://crbug.com/32407. | 283 // Enable caching of pre-parsed JS script data. See http://crbug.com/32407. |
| 284 const char kEnablePreparsedJsCaching[] = "enable-preparsed-js-caching"; | 284 const char kEnablePreparsedJsCaching[] = "enable-preparsed-js-caching"; |
| 285 | 285 |
| 286 // Enable privileged WebGL extensions; without this switch such extensions are | 286 // Enable privileged WebGL extensions; without this switch such extensions are |
| 287 // available only to Chrome extensions. | 287 // available only to Chrome extensions. |
| (...skipping 356 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 644 | 644 |
| 645 // Disables the use of a 3D software rasterizer. | 645 // Disables the use of a 3D software rasterizer. |
| 646 const char kDisableSoftwareRasterizer[] = "disable-software-rasterizer"; | 646 const char kDisableSoftwareRasterizer[] = "disable-software-rasterizer"; |
| 647 | 647 |
| 648 #if defined(USE_AURA) | 648 #if defined(USE_AURA) |
| 649 // Forces usage of the test compositor. Needed to run ui tests on bots. | 649 // Forces usage of the test compositor. Needed to run ui tests on bots. |
| 650 extern const char kTestCompositor[] = "test-compositor"; | 650 extern const char kTestCompositor[] = "test-compositor"; |
| 651 #endif | 651 #endif |
| 652 | 652 |
| 653 } // namespace switches | 653 } // namespace switches |
| OLD | NEW |