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

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

Issue 1419063002: Displaying "simplify page" on print preview by default (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Correcting histograms.xml Created 5 years, 1 month 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') | tools/metrics/histograms/histograms.xml » ('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 299 matching lines...) Expand 10 before | Expand all | Expand 10 after
310 310
311 // Disable pop-up blocking. 311 // Disable pop-up blocking.
312 const char kDisablePopupBlocking[] = "disable-popup-blocking"; 312 const char kDisablePopupBlocking[] = "disable-popup-blocking";
313 313
314 // Disable speculative TCP/IP preconnection. 314 // Disable speculative TCP/IP preconnection.
315 const char kDisablePreconnect[] = "disable-preconnect"; 315 const char kDisablePreconnect[] = "disable-preconnect";
316 316
317 // Disables print preview (For testing, and for users who don't like us. :[ ) 317 // Disables print preview (For testing, and for users who don't like us. :[ )
318 const char kDisablePrintPreview[] = "disable-print-preview"; 318 const char kDisablePrintPreview[] = "disable-print-preview";
319 319
320 // Switch to disable simplify page on the print preview dialog.
321 const char kDisablePrintPreviewSimplify[] = "disable-print-preview-simplify";
322
320 // Normally when the user attempts to navigate to a page that was the result of 323 // Normally when the user attempts to navigate to a page that was the result of
321 // a post we prompt to make sure they want to. This switch may be used to 324 // a post we prompt to make sure they want to. This switch may be used to
322 // disable that check. This switch is used during automated testing. 325 // disable that check. This switch is used during automated testing.
323 const char kDisablePromptOnRepost[] = "disable-prompt-on-repost"; 326 const char kDisablePromptOnRepost[] = "disable-prompt-on-repost";
324 327
325 // Disables support for the QUIC protocol. 328 // Disables support for the QUIC protocol.
326 const char kDisableQuic[] = "disable-quic"; 329 const char kDisableQuic[] = "disable-quic";
327 330
328 // Disable use of Chromium's port selection for the ephemeral port via bind(). 331 // Disable use of Chromium's port selection for the ephemeral port via bind().
329 // This only has an effect if QUIC protocol is enabled. 332 // This only has an effect if QUIC protocol is enabled.
(...skipping 1056 matching lines...) Expand 10 before | Expand all | Expand 10 after
1386 1389
1387 // ----------------------------------------------------------------------------- 1390 // -----------------------------------------------------------------------------
1388 // DO NOT ADD YOUR CRAP TO THE BOTTOM OF THIS FILE. 1391 // DO NOT ADD YOUR CRAP TO THE BOTTOM OF THIS FILE.
1389 // 1392 //
1390 // You were going to just dump your switches here, weren't you? Instead, please 1393 // You were going to just dump your switches here, weren't you? Instead, please
1391 // put them in alphabetical order above, or in order inside the appropriate 1394 // put them in alphabetical order above, or in order inside the appropriate
1392 // ifdef at the bottom. The order should match the header. 1395 // ifdef at the bottom. The order should match the header.
1393 // ----------------------------------------------------------------------------- 1396 // -----------------------------------------------------------------------------
1394 1397
1395 } // namespace switches 1398 } // namespace switches
OLDNEW
« no previous file with comments | « chrome/common/chrome_switches.h ('k') | tools/metrics/histograms/histograms.xml » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698