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

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

Issue 796543002: Plugin Power Saver: Implement option in Settings. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 6 years 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 975 matching lines...) Expand 10 before | Expand all | Expand 10 after
986 // the kernel. This is only supported on Windows 8 and beyond. 986 // the kernel. This is only supported on Windows 8 and beyond.
987 const char kEnableWin32kRendererLockDown[] 987 const char kEnableWin32kRendererLockDown[]
988 = "enable_win32k_renderer_lockdown"; 988 = "enable_win32k_renderer_lockdown";
989 989
990 // DirectWrite FontCache is shared by browser to renderers using shared memory. 990 // DirectWrite FontCache is shared by browser to renderers using shared memory.
991 // This switch allows specifying suffix to shared memory section name to avoid 991 // This switch allows specifying suffix to shared memory section name to avoid
992 // clashes between different instances of Chrome. 992 // clashes between different instances of Chrome.
993 const char kFontCacheSharedMemSuffix[] = "font-cache-shared-mem-suffix"; 993 const char kFontCacheSharedMemSuffix[] = "font-cache-shared-mem-suffix";
994 #endif 994 #endif
995 995
996 #if defined(ENABLE_PLUGINS)
997 // Enables the plugin power saver feature.
998 const char kEnablePluginPowerSaver[] = "enable-plugin-power-saver";
999 #endif
1000
1001 // Don't dump stuff here, follow the same order as the header. 996 // Don't dump stuff here, follow the same order as the header.
1002 997
1003 } // namespace switches 998 } // namespace switches
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698