| 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 #include "base/command_line.h" | 7 #include "base/command_line.h" |
| 8 | 8 |
| 9 namespace switches { | 9 namespace switches { |
| 10 | 10 |
| (...skipping 382 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 393 | 393 |
| 394 // Enables the network information API. | 394 // Enables the network information API. |
| 395 const char kEnableNetworkInformation[] = "enable-network-information"; | 395 const char kEnableNetworkInformation[] = "enable-network-information"; |
| 396 | 396 |
| 397 // Enable rasterizer that writes directly to GPU memory. | 397 // Enable rasterizer that writes directly to GPU memory. |
| 398 const char kEnableOneCopy[] = "enable-one-copy"; | 398 const char kEnableOneCopy[] = "enable-one-copy"; |
| 399 | 399 |
| 400 // Enables use of hardware overlay for fullscreen video playback. Android only. | 400 // Enables use of hardware overlay for fullscreen video playback. Android only. |
| 401 const char kEnableOverlayFullscreenVideo[] = "enable-overlay-fullscreen-video"; | 401 const char kEnableOverlayFullscreenVideo[] = "enable-overlay-fullscreen-video"; |
| 402 | 402 |
| 403 // Forward overscroll event data from the renderer to the browser. | |
| 404 const char kEnableOverscrollNotifications[] = "enable-overscroll-notifications"; | |
| 405 | |
| 406 // Enables compositor-accelerated touch-screen pinch gestures. | 403 // Enables compositor-accelerated touch-screen pinch gestures. |
| 407 const char kEnablePinch[] = "enable-pinch"; | 404 const char kEnablePinch[] = "enable-pinch"; |
| 408 | 405 |
| 409 // Make the values returned to window.performance.memory more granular and more | 406 // Make the values returned to window.performance.memory more granular and more |
| 410 // up to date in shared worker. Without this flag, the memory information is | 407 // up to date in shared worker. Without this flag, the memory information is |
| 411 // still available, but it is bucketized and updated less frequently. This flag | 408 // still available, but it is bucketized and updated less frequently. This flag |
| 412 // also applys to workers. | 409 // also applys to workers. |
| 413 const char kEnablePreciseMemoryInfo[] = "enable-precise-memory-info"; | 410 const char kEnablePreciseMemoryInfo[] = "enable-precise-memory-info"; |
| 414 | 411 |
| 415 // Set options to cache V8 data. (off, preparse data, or code) | 412 // Set options to cache V8 data. (off, preparse data, or code) |
| (...skipping 487 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 903 // Disable user gesture requirement for media playback. | 900 // Disable user gesture requirement for media playback. |
| 904 const char kDisableGestureRequirementForMediaPlayback[] = | 901 const char kDisableGestureRequirementForMediaPlayback[] = |
| 905 "disable-gesture-requirement-for-media-playback"; | 902 "disable-gesture-requirement-for-media-playback"; |
| 906 | 903 |
| 907 // Disable the click delay by sending click events during double tap. | 904 // Disable the click delay by sending click events during double tap. |
| 908 const char kDisableClickDelay[] = "disable-click-delay"; | 905 const char kDisableClickDelay[] = "disable-click-delay"; |
| 909 | 906 |
| 910 // Disable overscroll edge effects like those found in Android views. | 907 // Disable overscroll edge effects like those found in Android views. |
| 911 const char kDisableOverscrollEdgeEffect[] = "disable-overscroll-edge-effect"; | 908 const char kDisableOverscrollEdgeEffect[] = "disable-overscroll-edge-effect"; |
| 912 | 909 |
| 910 // Disable the pull-to-refresh effect when vertically overscrolling content. |
| 911 const char kDisablePullToRefreshEffect[] = "disable-pull-to-refresh-effect"; |
| 912 |
| 913 // WebRTC is enabled by default on Android. | 913 // WebRTC is enabled by default on Android. |
| 914 const char kDisableWebRTC[] = "disable-webrtc"; | 914 const char kDisableWebRTC[] = "disable-webrtc"; |
| 915 | 915 |
| 916 // Enable the recognition part of the Web Speech API. | 916 // Enable the recognition part of the Web Speech API. |
| 917 const char kEnableSpeechRecognition[] = "enable-speech-recognition"; | 917 const char kEnableSpeechRecognition[] = "enable-speech-recognition"; |
| 918 | 918 |
| 919 // Always use the video overlay for the embedded video. | 919 // Always use the video overlay for the embedded video. |
| 920 // This switch is intended only for tests. | 920 // This switch is intended only for tests. |
| 921 const char kForceUseOverlayEmbeddedVideo[] = "force-use-overlay-embedded-video"; | 921 const char kForceUseOverlayEmbeddedVideo[] = "force-use-overlay-embedded-video"; |
| 922 | 922 |
| (...skipping 59 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 982 #endif | 982 #endif |
| 983 | 983 |
| 984 #if defined(ENABLE_PLUGINS) | 984 #if defined(ENABLE_PLUGINS) |
| 985 // Enables the plugin power saver feature. | 985 // Enables the plugin power saver feature. |
| 986 const char kEnablePluginPowerSaver[] = "enable-plugin-power-saver"; | 986 const char kEnablePluginPowerSaver[] = "enable-plugin-power-saver"; |
| 987 #endif | 987 #endif |
| 988 | 988 |
| 989 // Don't dump stuff here, follow the same order as the header. | 989 // Don't dump stuff here, follow the same order as the header. |
| 990 | 990 |
| 991 } // namespace switches | 991 } // namespace switches |
| OLD | NEW |