Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(310)

Side by Side Diff: content/public/common/content_switches.cc

Issue 733293002: [Android] Add a flag to disable the pull-to-refresh effect (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 6 years, 1 month ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
OLDNEW
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 378 matching lines...) Expand 10 before | Expand all | Expand 10 after
389 389
390 // Enables the network information API. 390 // Enables the network information API.
391 const char kEnableNetworkInformation[] = "enable-network-information"; 391 const char kEnableNetworkInformation[] = "enable-network-information";
392 392
393 // Enable rasterizer that writes directly to GPU memory. 393 // Enable rasterizer that writes directly to GPU memory.
394 const char kEnableOneCopy[] = "enable-one-copy"; 394 const char kEnableOneCopy[] = "enable-one-copy";
395 395
396 // Enables use of hardware overlay for fullscreen video playback. Android only. 396 // Enables use of hardware overlay for fullscreen video playback. Android only.
397 const char kEnableOverlayFullscreenVideo[] = "enable-overlay-fullscreen-video"; 397 const char kEnableOverlayFullscreenVideo[] = "enable-overlay-fullscreen-video";
398 398
399 // Forward overscroll event data from the renderer to the browser.
400 const char kEnableOverscrollNotifications[] = "enable-overscroll-notifications";
401
402 // Enables compositor-accelerated touch-screen pinch gestures. 399 // Enables compositor-accelerated touch-screen pinch gestures.
403 const char kEnablePinch[] = "enable-pinch"; 400 const char kEnablePinch[] = "enable-pinch";
404 401
405 // Make the values returned to window.performance.memory more granular and more 402 // Make the values returned to window.performance.memory more granular and more
406 // up to date in shared worker. Without this flag, the memory information is 403 // up to date in shared worker. Without this flag, the memory information is
407 // still available, but it is bucketized and updated less frequently. This flag 404 // still available, but it is bucketized and updated less frequently. This flag
408 // also applys to workers. 405 // also applys to workers.
409 const char kEnablePreciseMemoryInfo[] = "enable-precise-memory-info"; 406 const char kEnablePreciseMemoryInfo[] = "enable-precise-memory-info";
410 407
411 // Set options to cache V8 data. (off, preparse data, or code) 408 // Set options to cache V8 data. (off, preparse data, or code)
(...skipping 487 matching lines...) Expand 10 before | Expand all | Expand 10 after
899 // Disable user gesture requirement for media playback. 896 // Disable user gesture requirement for media playback.
900 const char kDisableGestureRequirementForMediaPlayback[] = 897 const char kDisableGestureRequirementForMediaPlayback[] =
901 "disable-gesture-requirement-for-media-playback"; 898 "disable-gesture-requirement-for-media-playback";
902 899
903 // Disable the click delay by sending click events during double tap. 900 // Disable the click delay by sending click events during double tap.
904 const char kDisableClickDelay[] = "disable-click-delay"; 901 const char kDisableClickDelay[] = "disable-click-delay";
905 902
906 // Disable overscroll edge effects like those found in Android views. 903 // Disable overscroll edge effects like those found in Android views.
907 const char kDisableOverscrollEdgeEffect[] = "disable-overscroll-edge-effect"; 904 const char kDisableOverscrollEdgeEffect[] = "disable-overscroll-edge-effect";
908 905
906 // Disable the pull-to-refresh effect when vertically overscrolling content.
907 const char kDisablePullToRefreshEffect[] = "disable-pull-to-refresh-effect";
908
909 // WebRTC is enabled by default on Android. 909 // WebRTC is enabled by default on Android.
910 const char kDisableWebRTC[] = "disable-webrtc"; 910 const char kDisableWebRTC[] = "disable-webrtc";
911 911
912 // Enable the recognition part of the Web Speech API. 912 // Enable the recognition part of the Web Speech API.
913 const char kEnableSpeechRecognition[] = "enable-speech-recognition"; 913 const char kEnableSpeechRecognition[] = "enable-speech-recognition";
914 914
915 // Always use the video overlay for the embedded video. 915 // Always use the video overlay for the embedded video.
916 // This switch is intended only for tests. 916 // This switch is intended only for tests.
917 const char kForceUseOverlayEmbeddedVideo[] = "force-use-overlay-embedded-video"; 917 const char kForceUseOverlayEmbeddedVideo[] = "force-use-overlay-embedded-video";
918 918
(...skipping 59 matching lines...) Expand 10 before | Expand all | Expand 10 after
978 #endif 978 #endif
979 979
980 #if defined(ENABLE_PLUGINS) 980 #if defined(ENABLE_PLUGINS)
981 // Enables the plugin power saver feature. 981 // Enables the plugin power saver feature.
982 const char kEnablePluginPowerSaver[] = "enable-plugin-power-saver"; 982 const char kEnablePluginPowerSaver[] = "enable-plugin-power-saver";
983 #endif 983 #endif
984 984
985 // Don't dump stuff here, follow the same order as the header. 985 // Don't dump stuff here, follow the same order as the header.
986 986
987 } // namespace switches 987 } // namespace switches
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698