Chromium Code Reviews| 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 406 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
| 417 // assumed to be sRGB. | 417 // assumed to be sRGB. |
| 418 const char kEnableMonitorProfile[] = "enable-monitor-profile"; | 418 const char kEnableMonitorProfile[] = "enable-monitor-profile"; |
| 419 | 419 |
| 420 // Enables the new chrome://media-internals page. | 420 // Enables the new chrome://media-internals page. |
| 421 // http://crbug.com/260005 | 421 // http://crbug.com/260005 |
| 422 const char kEnableNewMediaInternals[] = "enable-new-media-internals"; | 422 const char kEnableNewMediaInternals[] = "enable-new-media-internals"; |
| 423 | 423 |
| 424 // Enables use of cache if offline, even if it's stale | 424 // Enables use of cache if offline, even if it's stale |
| 425 const char kEnableOfflineCacheAccess[] = "enable-offline-cache-access"; | 425 const char kEnableOfflineCacheAccess[] = "enable-offline-cache-access"; |
| 426 | 426 |
| 427 // Enables overlay scrollbars on Aura or Linux. Does nothing on Mac. | |
|
jamesr
2013/08/15 22:34:24
why are you deleting this? enabling overlay scroll
wjmaclean
2013/08/16 13:34:16
Of course it's useful ... I was just proposing mov
| |
| 428 const char kEnableOverlayScrollbars[] = "enable-overlay-scrollbars"; | |
| 429 | |
| 430 // Forward overscroll event data from the renderer to the browser. | 427 // Forward overscroll event data from the renderer to the browser. |
| 431 const char kEnableOverscrollNotifications[] = "enable-overscroll-notifications"; | 428 const char kEnableOverscrollNotifications[] = "enable-overscroll-notifications"; |
| 432 | 429 |
| 433 // Enables compositor-accelerated touch-screen pinch gestures. | 430 // Enables compositor-accelerated touch-screen pinch gestures. |
| 434 const char kEnablePinch[] = "enable-pinch"; | 431 const char kEnablePinch[] = "enable-pinch"; |
| 435 | 432 |
| 436 // Enable caching of pre-parsed JS script data. See http://crbug.com/32407. | 433 // Enable caching of pre-parsed JS script data. See http://crbug.com/32407. |
| 437 const char kEnablePreparsedJsCaching[] = "enable-preparsed-js-caching"; | 434 const char kEnablePreparsedJsCaching[] = "enable-preparsed-js-caching"; |
| 438 | 435 |
| 439 // Enable privileged WebGL extensions; without this switch such extensions are | 436 // Enable privileged WebGL extensions; without this switch such extensions are |
| (...skipping 450 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
| 890 | 887 |
| 891 // Disable overscroll edge effects like those found in Android views. | 888 // Disable overscroll edge effects like those found in Android views. |
| 892 const char kDisableOverscrollEdgeEffect[] = "disable-overscroll-edge-effect"; | 889 const char kDisableOverscrollEdgeEffect[] = "disable-overscroll-edge-effect"; |
| 893 | 890 |
| 894 // WebRTC is enabled by default on Android. | 891 // WebRTC is enabled by default on Android. |
| 895 const char kDisableWebRTC[] = "disable-webrtc"; | 892 const char kDisableWebRTC[] = "disable-webrtc"; |
| 896 | 893 |
| 897 // Enable the recognition part of the Web Speech API. | 894 // Enable the recognition part of the Web Speech API. |
| 898 const char kEnableSpeechRecognition[] = "enable-speech-recognition"; | 895 const char kEnableSpeechRecognition[] = "enable-speech-recognition"; |
| 899 | 896 |
| 900 // Don't display any scrollbars. This is useful for Android WebView where | |
| 901 // the system manages the scrollbars instead. | |
| 902 const char kHideScrollbars[] = "hide-scrollbars"; | |
| 903 | |
| 904 // The telephony region (ISO country code) to use in phone number detection. | 897 // The telephony region (ISO country code) to use in phone number detection. |
| 905 const char kNetworkCountryIso[] = "network-country-iso"; | 898 const char kNetworkCountryIso[] = "network-country-iso"; |
| 906 | 899 |
| 907 // Enables remote debug over HTTP on the specified socket name. | 900 // Enables remote debug over HTTP on the specified socket name. |
| 908 const char kRemoteDebuggingSocketName[] = "remote-debugging-socket-name"; | 901 const char kRemoteDebuggingSocketName[] = "remote-debugging-socket-name"; |
| 909 #endif | 902 #endif |
| 910 | 903 |
| 911 #if defined(OS_CHROMEOS) | 904 #if defined(OS_CHROMEOS) |
| 912 // Disables panel fitting (used for mirror mode). | 905 // Disables panel fitting (used for mirror mode). |
| 913 const char kDisablePanelFitting[] = "disable-panel-fitting"; | 906 const char kDisablePanelFitting[] = "disable-panel-fitting"; |
| (...skipping 20 matching lines...) Expand all Loading... | |
| 934 // Forces usage of the test compositor. Needed to run ui tests on bots. | 927 // Forces usage of the test compositor. Needed to run ui tests on bots. |
| 935 extern const char kTestCompositor[] = "test-compositor"; | 928 extern const char kTestCompositor[] = "test-compositor"; |
| 936 #endif | 929 #endif |
| 937 | 930 |
| 938 // Don't dump stuff here, follow the same order as the header. | 931 // Don't dump stuff here, follow the same order as the header. |
| 939 | 932 |
| 940 // Allows filters (SkImageFilter objects) to be sent between processes over IPC | 933 // Allows filters (SkImageFilter objects) to be sent between processes over IPC |
| 941 const char kAllowFiltersOverIPC[] = "allow-filters-over-ipc"; | 934 const char kAllowFiltersOverIPC[] = "allow-filters-over-ipc"; |
| 942 | 935 |
| 943 } // namespace switches | 936 } // namespace switches |
| OLD | NEW |