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

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

Issue 1037693003: Disable Screen Orientation API locking ability for WebView. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: add missing file Created 5 years, 9 months 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 namespace switches { 7 namespace switches {
8 8
9 // The number of MSAA samples for canvas2D. Requires MSAA support by GPU to 9 // The number of MSAA samples for canvas2D. Requires MSAA support by GPU to
10 // have an effect. 0 disables MSAA. 10 // have an effect. 0 disables MSAA.
(...skipping 898 matching lines...) Expand 10 before | Expand all | Expand 10 after
909 909
910 // Disable the click delay by sending click events during double tap. 910 // Disable the click delay by sending click events during double tap.
911 const char kDisableClickDelay[] = "disable-click-delay"; 911 const char kDisableClickDelay[] = "disable-click-delay";
912 912
913 // Disable overscroll edge effects like those found in Android views. 913 // Disable overscroll edge effects like those found in Android views.
914 const char kDisableOverscrollEdgeEffect[] = "disable-overscroll-edge-effect"; 914 const char kDisableOverscrollEdgeEffect[] = "disable-overscroll-edge-effect";
915 915
916 // Disable the pull-to-refresh effect when vertically overscrolling content. 916 // Disable the pull-to-refresh effect when vertically overscrolling content.
917 const char kDisablePullToRefreshEffect[] = "disable-pull-to-refresh-effect"; 917 const char kDisablePullToRefreshEffect[] = "disable-pull-to-refresh-effect";
918 918
919 // Disable the locking feature of the screen orientation API.
920 const char kDisableScreenOrientationLock[] = "disable-screen-orientation-lock";
921
919 // WebRTC is enabled by default on Android. 922 // WebRTC is enabled by default on Android.
920 const char kDisableWebRTC[] = "disable-webrtc"; 923 const char kDisableWebRTC[] = "disable-webrtc";
921 924
922 // The telephony region (ISO country code) to use in phone number detection. 925 // The telephony region (ISO country code) to use in phone number detection.
923 const char kNetworkCountryIso[] = "network-country-iso"; 926 const char kNetworkCountryIso[] = "network-country-iso";
924 927
925 // Enables remote debug over HTTP on the specified socket name. 928 // Enables remote debug over HTTP on the specified socket name.
926 const char kRemoteDebuggingSocketName[] = "remote-debugging-socket-name"; 929 const char kRemoteDebuggingSocketName[] = "remote-debugging-socket-name";
927 930
928 // Block ChildProcessMain thread of the renderer's ChildProcessService until a 931 // Block ChildProcessMain thread of the renderer's ChildProcessService until a
(...skipping 52 matching lines...) Expand 10 before | Expand all | Expand 10 after
981 const char kEnableNpapi[] = "enable-npapi"; 984 const char kEnableNpapi[] = "enable-npapi";
982 985
983 #if defined(ENABLE_PLUGINS) 986 #if defined(ENABLE_PLUGINS)
984 // Enables the plugin power saver feature. 987 // Enables the plugin power saver feature.
985 const char kEnablePluginPowerSaver[] = "enable-plugin-power-saver"; 988 const char kEnablePluginPowerSaver[] = "enable-plugin-power-saver";
986 #endif 989 #endif
987 990
988 // Don't dump stuff here, follow the same order as the header. 991 // Don't dump stuff here, follow the same order as the header.
989 992
990 } // namespace switches 993 } // namespace switches
OLDNEW
« no previous file with comments | « content/public/common/content_switches.h ('k') | content/test/data/screen_orientation/screen_orientation_lock_disabled.html » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698