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

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

Issue 1033103002: Plugin Power Saver: Overhaul plugin-power-saver flags. Show in UI. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 5 years, 8 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 965 matching lines...) Expand 10 before | Expand all | Expand 10 after
976 976
977 // DirectWrite FontCache is shared by browser to renderers using shared memory. 977 // DirectWrite FontCache is shared by browser to renderers using shared memory.
978 // This switch allows specifying suffix to shared memory section name to avoid 978 // This switch allows specifying suffix to shared memory section name to avoid
979 // clashes between different instances of Chrome. 979 // clashes between different instances of Chrome.
980 const char kFontCacheSharedMemSuffix[] = "font-cache-shared-mem-suffix"; 980 const char kFontCacheSharedMemSuffix[] = "font-cache-shared-mem-suffix";
981 #endif 981 #endif
982 982
983 // Enables the use of NPAPI plugins. 983 // Enables the use of NPAPI plugins.
984 const char kEnableNpapi[] = "enable-npapi"; 984 const char kEnableNpapi[] = "enable-npapi";
985 985
986 #if defined(ENABLE_PLUGINS)
987 // Enables the plugin power saver feature.
988 const char kEnablePluginPowerSaver[] = "enable-plugin-power-saver";
989 #endif
990
991 // Don't dump stuff here, follow the same order as the header. 986 // Don't dump stuff here, follow the same order as the header.
992 987
993 } // namespace switches 988 } // namespace switches
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698