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 259 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
270 // This does NOT enable color management for images. The source is still | 270 // This does NOT enable color management for images. The source is still |
271 // assumed to be sRGB. | 271 // assumed to be sRGB. |
272 const char kEnableMonitorProfile[] = "enable-monitor-profile"; | 272 const char kEnableMonitorProfile[] = "enable-monitor-profile"; |
273 | 273 |
274 // Enables TLS domain bound certificate extension. | 274 // Enables TLS domain bound certificate extension. |
275 const char kEnableOriginBoundCerts[] = "enable-origin-bound-certs"; | 275 const char kEnableOriginBoundCerts[] = "enable-origin-bound-certs"; |
276 | 276 |
277 // Enables partial swaps in the WK compositor on platforms that support it. | 277 // Enables partial swaps in the WK compositor on platforms that support it. |
278 const char kEnablePartialSwap[] = "enable-partial-swap"; | 278 const char kEnablePartialSwap[] = "enable-partial-swap"; |
279 | 279 |
| 280 // Enables touch-screen pinch gestures. |
| 281 const char kEnablePinch[] = "enable-pinch"; |
| 282 |
280 // 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. |
281 const char kEnablePreparsedJsCaching[] = "enable-preparsed-js-caching"; | 284 const char kEnablePreparsedJsCaching[] = "enable-preparsed-js-caching"; |
282 | 285 |
283 // Enable privileged WebGL extensions; without this switch such extensions are | 286 // Enable privileged WebGL extensions; without this switch such extensions are |
284 // available only to Chrome extensions. | 287 // available only to Chrome extensions. |
285 const char kEnablePrivilegedWebGLExtensions[] = | 288 const char kEnablePrivilegedWebGLExtensions[] = |
286 "enable-privileged-webgl-extensions"; | 289 "enable-privileged-webgl-extensions"; |
287 | 290 |
288 // Aggressively free GPU command buffers belonging to hidden tabs. | 291 // Aggressively free GPU command buffers belonging to hidden tabs. |
289 const char kEnablePruneGpuCommandBuffers[] = | 292 const char kEnablePruneGpuCommandBuffers[] = |
(...skipping 39 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
329 | 332 |
330 // Enable use of experimental TCP sockets API for sending data in the | 333 // Enable use of experimental TCP sockets API for sending data in the |
331 // SYN packet. | 334 // SYN packet. |
332 const char kEnableTcpFastOpen[] = "enable-tcp-fastopen"; | 335 const char kEnableTcpFastOpen[] = "enable-tcp-fastopen"; |
333 | 336 |
334 // Enables support for video tracks. Current implementation is | 337 // Enables support for video tracks. Current implementation is |
335 // incomplete and this flag is used for development and testing. | 338 // incomplete and this flag is used for development and testing. |
336 const char kEnableVideoTrack[] = "enable-video-track"; | 339 const char kEnableVideoTrack[] = "enable-video-track"; |
337 | 340 |
338 // Enables the use of the viewport meta tag, which allows | 341 // Enables the use of the viewport meta tag, which allows |
339 // pages to control aspects of their own layout. | 342 // pages to control aspects of their own layout. This also turns on touch-screen |
| 343 // pinch gestures. |
340 const char kEnableViewport[] = "enable-viewport"; | 344 const char kEnableViewport[] = "enable-viewport"; |
341 | 345 |
342 // Enables experimental features for the geolocation API. | 346 // Enables experimental features for the geolocation API. |
343 // Current features: | 347 // Current features: |
344 // - CoreLocation support for Mac OS X 10.6 | 348 // - CoreLocation support for Mac OS X 10.6 |
345 // - Gateway location for Linux and Windows | 349 // - Gateway location for Linux and Windows |
346 // - Location platform support for Windows 7 | 350 // - Location platform support for Windows 7 |
347 const char kExperimentalLocationFeatures[] = "experimental-location-features"; | 351 const char kExperimentalLocationFeatures[] = "experimental-location-features"; |
348 | 352 |
349 // Load NPAPI plugins from the specified directory. | 353 // Load NPAPI plugins from the specified directory. |
(...skipping 276 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
626 extern const char kFlingTapSuppressMaxDown[] = "fling-tap-suppress-max-down"; | 630 extern const char kFlingTapSuppressMaxDown[] = "fling-tap-suppress-max-down"; |
627 | 631 |
628 // Maximum time between mousedown and mouseup to be considered a tap. | 632 // Maximum time between mousedown and mouseup to be considered a tap. |
629 extern const char kFlingTapSuppressMaxGap[] = "fling-tap-suppress-max-gap"; | 633 extern const char kFlingTapSuppressMaxGap[] = "fling-tap-suppress-max-gap"; |
630 | 634 |
631 // Forces usage of the test compositor. Needed to run ui tests on bots. | 635 // Forces usage of the test compositor. Needed to run ui tests on bots. |
632 extern const char kTestCompositor[] = "test-compositor"; | 636 extern const char kTestCompositor[] = "test-compositor"; |
633 #endif | 637 #endif |
634 | 638 |
635 } // namespace switches | 639 } // namespace switches |
OLD | NEW |