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

Side by Side Diff: chrome/common/chrome_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
« no previous file with comments | « chrome/common/chrome_switches.h ('k') | chrome/renderer/chrome_content_renderer_client.cc » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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 "chrome/common/chrome_switches.h" 5 #include "chrome/common/chrome_switches.h"
6 6
7 #include "base/base_switches.h" 7 #include "base/base_switches.h"
8 #include "base/command_line.h" 8 #include "base/command_line.h"
9 9
10 namespace switches { 10 namespace switches {
(...skipping 31 matching lines...) Expand 10 before | Expand all | Expand 10 after
42 // access to CRX file system APIs. 42 // access to CRX file system APIs.
43 const char kAllowNaClCrxFsAPI[] = "allow-nacl-crxfs-api"; 43 const char kAllowNaClCrxFsAPI[] = "allow-nacl-crxfs-api";
44 44
45 // Specifies comma-separated list of extension ids or hosts to grant 45 // Specifies comma-separated list of extension ids or hosts to grant
46 // access to file handle APIs. 46 // access to file handle APIs.
47 const char kAllowNaClFileHandleAPI[] = "allow-nacl-file-handle-api"; 47 const char kAllowNaClFileHandleAPI[] = "allow-nacl-file-handle-api";
48 48
49 // Specifies comma-separated list of extension ids or hosts to grant 49 // Specifies comma-separated list of extension ids or hosts to grant
50 // access to TCP/UDP socket APIs. 50 // access to TCP/UDP socket APIs.
51 const char kAllowNaClSocketAPI[] = "allow-nacl-socket-api"; 51 const char kAllowNaClSocketAPI[] = "allow-nacl-socket-api";
52
53 // Disables forcing on the experimental Plugin Power Saver feature.
54 const char kDisablePluginPowerSaver[] = "disable-plugin-power-saver";
55
56 // Enables forcing on the experimental Plugin Power Saver feature.
57 const char kEnablePluginPowerSaver[] = "enable-plugin-power-saver";
52 #endif 58 #endif
53 59
54 // Don't block outdated plugins. 60 // Don't block outdated plugins.
55 const char kAllowOutdatedPlugins[] = "allow-outdated-plugins"; 61 const char kAllowOutdatedPlugins[] = "allow-outdated-plugins";
56 62
57 // By default, an https page cannot run JavaScript, CSS or plugins from http 63 // By default, an https page cannot run JavaScript, CSS or plugins from http
58 // URLs. This provides an override to get the old insecure behavior. 64 // URLs. This provides an override to get the old insecure behavior.
59 const char kAllowRunningInsecureContent[] = "allow-running-insecure-content"; 65 const char kAllowRunningInsecureContent[] = "allow-running-insecure-content";
60 66
61 // Specifies the threshold to be used when determining of an Alternate-Protocol 67 // Specifies the threshold to be used when determining of an Alternate-Protocol
(...skipping 1356 matching lines...) Expand 10 before | Expand all | Expand 10 after
1418 1424
1419 // ----------------------------------------------------------------------------- 1425 // -----------------------------------------------------------------------------
1420 // DO NOT ADD YOUR CRAP TO THE BOTTOM OF THIS FILE. 1426 // DO NOT ADD YOUR CRAP TO THE BOTTOM OF THIS FILE.
1421 // 1427 //
1422 // You were going to just dump your switches here, weren't you? Instead, please 1428 // You were going to just dump your switches here, weren't you? Instead, please
1423 // put them in alphabetical order above, or in order inside the appropriate 1429 // put them in alphabetical order above, or in order inside the appropriate
1424 // ifdef at the bottom. The order should match the header. 1430 // ifdef at the bottom. The order should match the header.
1425 // ----------------------------------------------------------------------------- 1431 // -----------------------------------------------------------------------------
1426 1432
1427 } // namespace switches 1433 } // namespace switches
OLDNEW
« no previous file with comments | « chrome/common/chrome_switches.h ('k') | chrome/renderer/chrome_content_renderer_client.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698