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 606633002: [WebView] Create PowerSaveBlocker for fullscreen video. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Address review comments Created 6 years, 2 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 #include "base/command_line.h" 7 #include "base/command_line.h"
8 8
9 namespace switches { 9 namespace switches {
10 10
(...skipping 883 matching lines...) Expand 10 before | Expand all | Expand 10 after
894 894
895 // The telephony region (ISO country code) to use in phone number detection. 895 // The telephony region (ISO country code) to use in phone number detection.
896 const char kNetworkCountryIso[] = "network-country-iso"; 896 const char kNetworkCountryIso[] = "network-country-iso";
897 897
898 // Enables remote debug over HTTP on the specified socket name. 898 // Enables remote debug over HTTP on the specified socket name.
899 const char kRemoteDebuggingSocketName[] = "remote-debugging-socket-name"; 899 const char kRemoteDebuggingSocketName[] = "remote-debugging-socket-name";
900 900
901 // Block ChildProcessMain thread of the renderer's ChildProcessService until a 901 // Block ChildProcessMain thread of the renderer's ChildProcessService until a
902 // Java debugger is attached. 902 // Java debugger is attached.
903 const char kRendererWaitForJavaDebugger[] = "renderer-wait-for-java-debugger"; 903 const char kRendererWaitForJavaDebugger[] = "renderer-wait-for-java-debugger";
904
905 // Enable the PowerSaveBlocker in ContentVideoView. Android only.
906 const char kEnableContentVideoViewPowerSaveBlocker[] =
907 "enable-content-video-view-power-save-blocker";
904 #endif 908 #endif
905 909
906 // Disable web audio API. 910 // Disable web audio API.
907 const char kDisableWebAudio[] = "disable-webaudio"; 911 const char kDisableWebAudio[] = "disable-webaudio";
908 912
909 #if defined(OS_CHROMEOS) 913 #if defined(OS_CHROMEOS)
910 // Disables panel fitting (used for mirror mode). 914 // Disables panel fitting (used for mirror mode).
911 const char kDisablePanelFitting[] = "disable-panel-fitting"; 915 const char kDisablePanelFitting[] = "disable-panel-fitting";
912 916
913 // Enables VA-API accelerated video encode. 917 // Enables VA-API accelerated video encode.
(...skipping 28 matching lines...) Expand all
942 // Enable the Win32K process mitigation policy for renderer processes which 946 // Enable the Win32K process mitigation policy for renderer processes which
943 // prevents them from invoking user32 and gdi32 system calls which enter 947 // prevents them from invoking user32 and gdi32 system calls which enter
944 // the kernel. This is only supported on Windows 8 and beyond. 948 // the kernel. This is only supported on Windows 8 and beyond.
945 const char kEnableWin32kRendererLockDown[] 949 const char kEnableWin32kRendererLockDown[]
946 = "enable_win32k_renderer_lockdown"; 950 = "enable_win32k_renderer_lockdown";
947 #endif 951 #endif
948 952
949 // Don't dump stuff here, follow the same order as the header. 953 // Don't dump stuff here, follow the same order as the header.
950 954
951 } // namespace switches 955 } // namespace switches
OLDNEW
« content/public/common/content_switches.h ('K') | « content/public/common/content_switches.h ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698