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

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

Issue 597933002: Restored disable print preview policy. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Wed Sep 24 10:32:18 PDT 2014 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 "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 297 matching lines...) Expand 10 before | Expand all | Expand 10 after
308 // Disable pop-up blocking. 308 // Disable pop-up blocking.
309 const char kDisablePopupBlocking[] = "disable-popup-blocking"; 309 const char kDisablePopupBlocking[] = "disable-popup-blocking";
310 310
311 // Disable speculative TCP/IP preconnection. 311 // Disable speculative TCP/IP preconnection.
312 const char kDisablePreconnect[] = "disable-preconnect"; 312 const char kDisablePreconnect[] = "disable-preconnect";
313 313
314 // Disable prerendering based on local browsing history. 314 // Disable prerendering based on local browsing history.
315 const char kDisablePrerenderLocalPredictor[] = 315 const char kDisablePrerenderLocalPredictor[] =
316 "disable-prerender-local-predictor"; 316 "disable-prerender-local-predictor";
317 317
318 // Disables print preview (For testing, and for users who don't like us. :[ )
319 const char kDisablePrintPreview[] = "disable-print-preview";
320
318 // Normally when the user attempts to navigate to a page that was the result of 321 // Normally when the user attempts to navigate to a page that was the result of
319 // a post we prompt to make sure they want to. This switch may be used to 322 // a post we prompt to make sure they want to. This switch may be used to
320 // disable that check. This switch is used during automated testing. 323 // disable that check. This switch is used during automated testing.
321 const char kDisablePromptOnRepost[] = "disable-prompt-on-repost"; 324 const char kDisablePromptOnRepost[] = "disable-prompt-on-repost";
322 325
323 // Disables support for the QUIC protocol. 326 // Disables support for the QUIC protocol.
324 const char kDisableQuic[] = "disable-quic"; 327 const char kDisableQuic[] = "disable-quic";
325 328
326 // Disable use of pacing of QUIC packets. 329 // Disable use of pacing of QUIC packets.
327 // This only has an effect if QUIC protocol is enabled. 330 // This only has an effect if QUIC protocol is enabled.
(...skipping 1028 matching lines...) Expand 10 before | Expand all | Expand 10 after
1356 1359
1357 // ----------------------------------------------------------------------------- 1360 // -----------------------------------------------------------------------------
1358 // DO NOT ADD YOUR CRAP TO THE BOTTOM OF THIS FILE. 1361 // DO NOT ADD YOUR CRAP TO THE BOTTOM OF THIS FILE.
1359 // 1362 //
1360 // You were going to just dump your switches here, weren't you? Instead, please 1363 // You were going to just dump your switches here, weren't you? Instead, please
1361 // put them in alphabetical order above, or in order inside the appropriate 1364 // put them in alphabetical order above, or in order inside the appropriate
1362 // ifdef at the bottom. The order should match the header. 1365 // ifdef at the bottom. The order should match the header.
1363 // ----------------------------------------------------------------------------- 1366 // -----------------------------------------------------------------------------
1364 1367
1365 } // namespace switches 1368 } // namespace switches
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698