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

Side by Side Diff: chrome/common/chrome_switches.cc

Issue 1412963003: Plugin Power Saver: Implement pixel tests for plugin placeholders. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: fix behavior on slow cros bots Created 5 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 "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 37 matching lines...) Expand 10 before | Expand all | Expand 10 after
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 52
53 // Disables forcing on the experimental Plugin Power Saver feature. 53 // Disables forcing on the experimental Plugin Power Saver feature.
54 const char kDisablePluginPowerSaver[] = "disable-plugin-power-saver"; 54 const char kDisablePluginPowerSaver[] = "disable-plugin-power-saver";
55 55
56 // Enables forcing on the experimental Plugin Power Saver feature. 56 // Enables forcing on the experimental Plugin Power Saver feature.
57 const char kEnablePluginPowerSaver[] = "enable-plugin-power-saver"; 57 const char kEnablePluginPowerSaver[] = "enable-plugin-power-saver";
58
59 // Makes browser pixel tests overwrite the reference if it does not match.
60 const char kRebaselinePixelTests[] = "rebaseline-pixel-tests";
58 #endif 61 #endif
59 62
60 // Don't block outdated plugins. 63 // Don't block outdated plugins.
61 const char kAllowOutdatedPlugins[] = "allow-outdated-plugins"; 64 const char kAllowOutdatedPlugins[] = "allow-outdated-plugins";
62 65
63 // By default, an https page cannot run JavaScript, CSS or plugins from http 66 // By default, an https page cannot run JavaScript, CSS or plugins from http
64 // URLs. This provides an override to get the old insecure behavior. 67 // URLs. This provides an override to get the old insecure behavior.
65 const char kAllowRunningInsecureContent[] = "allow-running-insecure-content"; 68 const char kAllowRunningInsecureContent[] = "allow-running-insecure-content";
66 69
67 // Specifies the probability threshold for alternative services: an advertised 70 // Specifies the probability threshold for alternative services: an advertised
(...skipping 1359 matching lines...) Expand 10 before | Expand all | Expand 10 after
1427 1430
1428 // ----------------------------------------------------------------------------- 1431 // -----------------------------------------------------------------------------
1429 // DO NOT ADD YOUR CRAP TO THE BOTTOM OF THIS FILE. 1432 // DO NOT ADD YOUR CRAP TO THE BOTTOM OF THIS FILE.
1430 // 1433 //
1431 // You were going to just dump your switches here, weren't you? Instead, please 1434 // You were going to just dump your switches here, weren't you? Instead, please
1432 // put them in alphabetical order above, or in order inside the appropriate 1435 // put them in alphabetical order above, or in order inside the appropriate
1433 // ifdef at the bottom. The order should match the header. 1436 // ifdef at the bottom. The order should match the header.
1434 // ----------------------------------------------------------------------------- 1437 // -----------------------------------------------------------------------------
1435 1438
1436 } // namespace switches 1439 } // namespace switches
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698