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 322 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
333 const char kEnableTcpFastOpen[] = "enable-tcp-fastopen"; | 333 const char kEnableTcpFastOpen[] = "enable-tcp-fastopen"; |
334 | 334 |
335 // Enables support for video tracks. Current implementation is | 335 // Enables support for video tracks. Current implementation is |
336 // incomplete and this flag is used for development and testing. | 336 // incomplete and this flag is used for development and testing. |
337 const char kEnableVideoTrack[] = "enable-video-track"; | 337 const char kEnableVideoTrack[] = "enable-video-track"; |
338 | 338 |
339 // Enables the use of the viewport meta tag, which allows | 339 // Enables the use of the viewport meta tag, which allows |
340 // pages to control aspects of their own layout. | 340 // pages to control aspects of their own layout. |
341 const char kEnableViewport[] = "enable-viewport"; | 341 const char kEnableViewport[] = "enable-viewport"; |
342 | 342 |
343 // Disable Web Intents. | |
344 const char kDisableWebIntents[] = "disable-web-intents"; | |
345 | |
346 // Enables experimental features for the geolocation API. | 343 // Enables experimental features for the geolocation API. |
347 // Current features: | 344 // Current features: |
348 // - CoreLocation support for Mac OS X 10.6 | 345 // - CoreLocation support for Mac OS X 10.6 |
349 // - Gateway location for Linux and Windows | 346 // - Gateway location for Linux and Windows |
350 // - Location platform support for Windows 7 | 347 // - Location platform support for Windows 7 |
351 const char kExperimentalLocationFeatures[] = "experimental-location-features"; | 348 const char kExperimentalLocationFeatures[] = "experimental-location-features"; |
352 | 349 |
353 // Load NPAPI plugins from the specified directory. | 350 // Load NPAPI plugins from the specified directory. |
354 const char kExtraPluginDir[] = "extra-plugin-dir"; | 351 const char kExtraPluginDir[] = "extra-plugin-dir"; |
355 | 352 |
(...skipping 265 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
621 extern const char kFlingTapSuppressMaxDown[] = "fling-tap-suppress-max-down"; | 618 extern const char kFlingTapSuppressMaxDown[] = "fling-tap-suppress-max-down"; |
622 | 619 |
623 // Maximum time between mousedown and mouseup to be considered a tap. | 620 // Maximum time between mousedown and mouseup to be considered a tap. |
624 extern const char kFlingTapSuppressMaxGap[] = "fling-tap-suppress-max-gap"; | 621 extern const char kFlingTapSuppressMaxGap[] = "fling-tap-suppress-max-gap"; |
625 | 622 |
626 // Forces usage of the test compositor. Needed to run ui tests on bots. | 623 // Forces usage of the test compositor. Needed to run ui tests on bots. |
627 extern const char kTestCompositor[] = "test-compositor"; | 624 extern const char kTestCompositor[] = "test-compositor"; |
628 #endif | 625 #endif |
629 | 626 |
630 } // namespace switches | 627 } // namespace switches |
OLD | NEW |