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

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

Issue 639413002: [aw] Reuse WebContents PowerSaveBlocker in fullscreen. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@testsForPowerSaver
Patch Set: Nits 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 882 matching lines...) Expand 10 before | Expand all | Expand 10 after
893 893
894 // Disable the click delay by sending click events during double tap. 894 // Disable the click delay by sending click events during double tap.
895 const char kDisableClickDelay[] = "disable-click-delay"; 895 const char kDisableClickDelay[] = "disable-click-delay";
896 896
897 // Disable overscroll edge effects like those found in Android views. 897 // Disable overscroll edge effects like those found in Android views.
898 const char kDisableOverscrollEdgeEffect[] = "disable-overscroll-edge-effect"; 898 const char kDisableOverscrollEdgeEffect[] = "disable-overscroll-edge-effect";
899 899
900 // WebRTC is enabled by default on Android. 900 // WebRTC is enabled by default on Android.
901 const char kDisableWebRTC[] = "disable-webrtc"; 901 const char kDisableWebRTC[] = "disable-webrtc";
902 902
903 // Enable the PowerSaveBlocker in ContentVideoView. Android only.
904 const char kEnableContentVideoViewPowerSaveBlocker[] =
905 "enable-content-video-view-power-save-blocker";
906
907 // Enable the recognition part of the Web Speech API. 903 // Enable the recognition part of the Web Speech API.
908 const char kEnableSpeechRecognition[] = "enable-speech-recognition"; 904 const char kEnableSpeechRecognition[] = "enable-speech-recognition";
909 905
910 // Always use the video overlay for the embedded video. 906 // Always use the video overlay for the embedded video.
911 // This switch is intended only for tests. 907 // This switch is intended only for tests.
912 const char kForceUseOverlayEmbeddedVideo[] = "force-use-overlay-embedded-video"; 908 const char kForceUseOverlayEmbeddedVideo[] = "force-use-overlay-embedded-video";
913 909
914 // The telephony region (ISO country code) to use in phone number detection. 910 // The telephony region (ISO country code) to use in phone number detection.
915 const char kNetworkCountryIso[] = "network-country-iso"; 911 const char kNetworkCountryIso[] = "network-country-iso";
916 912
(...skipping 51 matching lines...) Expand 10 before | Expand all | Expand 10 after
968 #endif 964 #endif
969 965
970 #if defined(ENABLE_PLUGINS) 966 #if defined(ENABLE_PLUGINS)
971 // Enables the plugin power saver feature. 967 // Enables the plugin power saver feature.
972 const char kEnablePluginPowerSaver[] = "enable-plugin-power-saver"; 968 const char kEnablePluginPowerSaver[] = "enable-plugin-power-saver";
973 #endif 969 #endif
974 970
975 // Don't dump stuff here, follow the same order as the header. 971 // Don't dump stuff here, follow the same order as the header.
976 972
977 } // namespace switches 973 } // namespace switches
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698