| 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 362 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 373 | 373 |
| 374 // Disables hardware acceleration of video decode, where available. | 374 // Disables hardware acceleration of video decode, where available. |
| 375 const char kDisableAcceleratedVideoDecode[] = | 375 const char kDisableAcceleratedVideoDecode[] = |
| 376 "disable-accelerated-video-decode"; | 376 "disable-accelerated-video-decode"; |
| 377 | 377 |
| 378 // Enables the use of the viewport meta tag, which allows | 378 // Enables the use of the viewport meta tag, which allows |
| 379 // pages to control aspects of their own layout. This also turns on touch-screen | 379 // pages to control aspects of their own layout. This also turns on touch-screen |
| 380 // pinch gestures. | 380 // pinch gestures. |
| 381 const char kEnableViewport[] = "enable-viewport"; | 381 const char kEnableViewport[] = "enable-viewport"; |
| 382 | 382 |
| 383 // Ensable VP9 and Opus playback on <video> elements. |
| 384 const char kEnableVp9OpusPlayback[] = "enable-vp9-opus-playback"; |
| 385 |
| 383 // Enables experimental features for the geolocation API. | 386 // Enables experimental features for the geolocation API. |
| 384 // Current features: | 387 // Current features: |
| 385 // - CoreLocation support for Mac OS X 10.6 | 388 // - CoreLocation support for Mac OS X 10.6 |
| 386 // - Gateway location for Linux and Windows | 389 // - Gateway location for Linux and Windows |
| 387 // - Location platform support for Windows 7 | 390 // - Location platform support for Windows 7 |
| 388 const char kExperimentalLocationFeatures[] = "experimental-location-features"; | 391 const char kExperimentalLocationFeatures[] = "experimental-location-features"; |
| 389 | 392 |
| 390 // Load NPAPI plugins from the specified directory. | 393 // Load NPAPI plugins from the specified directory. |
| 391 const char kExtraPluginDir[] = "extra-plugin-dir"; | 394 const char kExtraPluginDir[] = "extra-plugin-dir"; |
| 392 | 395 |
| (...skipping 363 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 756 = "disable-fixed-position-creates-stacking-context"; | 759 = "disable-fixed-position-creates-stacking-context"; |
| 757 | 760 |
| 758 // Defer image decoding in WebKit until painting. | 761 // Defer image decoding in WebKit until painting. |
| 759 const char kEnableDeferredImageDecoding[] = "enable-deferred-image-decoding"; | 762 const char kEnableDeferredImageDecoding[] = "enable-deferred-image-decoding"; |
| 760 | 763 |
| 761 // Enables history navigation in response to horizontal overscroll. | 764 // Enables history navigation in response to horizontal overscroll. |
| 762 const char kEnableOverscrollHistoryNavigation[] = | 765 const char kEnableOverscrollHistoryNavigation[] = |
| 763 "enable-overscroll-history-navigation"; | 766 "enable-overscroll-history-navigation"; |
| 764 | 767 |
| 765 } // namespace switches | 768 } // namespace switches |
| OLD | NEW |