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

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

Issue 296453015: Remove kEnablePrintPreview now that the pdf plugin is part of Chromium. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src/
Patch Set: reupload after revert Created 6 years, 7 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 | Annotate | Revision Log
« no previous file with comments | « chrome/common/chrome_switches.h ('k') | chrome/test/data/webui/print_preview.h » ('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 313 matching lines...) Expand 10 before | Expand all | Expand 10 after
324 // Disables the usage of Portable Native Client. 324 // Disables the usage of Portable Native Client.
325 const char kDisablePnacl[] = "disable-pnacl"; 325 const char kDisablePnacl[] = "disable-pnacl";
326 326
327 // Disable speculative TCP/IP preconnection. 327 // Disable speculative TCP/IP preconnection.
328 const char kDisablePreconnect[] = "disable-preconnect"; 328 const char kDisablePreconnect[] = "disable-preconnect";
329 329
330 // Disable prerendering based on local browsing history. 330 // Disable prerendering based on local browsing history.
331 const char kDisablePrerenderLocalPredictor[] = 331 const char kDisablePrerenderLocalPredictor[] =
332 "disable-prerender-local-predictor"; 332 "disable-prerender-local-predictor";
333 333
334 // Disables print preview (For testing, and for users who don't like us. :[ )
335 const char kDisablePrintPreview[] = "disable-print-preview";
336
334 // Normally when the user attempts to navigate to a page that was the result of 337 // Normally when the user attempts to navigate to a page that was the result of
335 // a post we prompt to make sure they want to. This switch may be used to 338 // a post we prompt to make sure they want to. This switch may be used to
336 // disable that check. This switch is used during automated testing. 339 // disable that check. This switch is used during automated testing.
337 const char kDisablePromptOnRepost[] = "disable-prompt-on-repost"; 340 const char kDisablePromptOnRepost[] = "disable-prompt-on-repost";
338 341
339 // Disables support for the QUIC protocol. 342 // Disables support for the QUIC protocol.
340 const char kDisableQuic[] = "disable-quic"; 343 const char kDisableQuic[] = "disable-quic";
341 344
342 // Disables support for the HTTPS over QUIC protocol. This is a temporary 345 // Disables support for the HTTPS over QUIC protocol. This is a temporary
343 // testing flag. This only has an effect if QUIC protocol is enabled. 346 // testing flag. This only has an effect if QUIC protocol is enabled.
(...skipping 1055 matching lines...) Expand 10 before | Expand all | Expand 10 after
1399 #if defined(ENABLE_FULL_PRINTING) && !defined(OFFICIAL_BUILD) 1402 #if defined(ENABLE_FULL_PRINTING) && !defined(OFFICIAL_BUILD)
1400 // Enables support to debug printing subsystem. 1403 // Enables support to debug printing subsystem.
1401 const char kDebugPrint[] = "debug-print"; 1404 const char kDebugPrint[] = "debug-print";
1402 #endif 1405 #endif
1403 1406
1404 #ifndef NDEBUG 1407 #ifndef NDEBUG
1405 // Enables overriding the path of file manager extension. 1408 // Enables overriding the path of file manager extension.
1406 const char kFileManagerExtensionPath[] = "filemgr-ext-path"; 1409 const char kFileManagerExtensionPath[] = "filemgr-ext-path";
1407 #endif 1410 #endif
1408 1411
1409 // Controls print preview in the browser process.
1410 #if defined(GOOGLE_CHROME_BUILD)
1411 // Disables print preview (For testing, and for users who don't like us. :[ )
1412 const char kDisablePrintPreview[] = "disable-print-preview";
1413 #else
1414 // Enables print preview. Chromium normally does not have the PDF viewer,
1415 // required for print preview.
1416 // pdf.dll or libpdf.so should be present in primary directory of
1417 // Chromium. For local builds it's usually out/Debug or out/Release.
1418 const char kEnablePrintPreview[] = "enable-print-preview";
1419 #endif
1420
1421 // ----------------------------------------------------------------------------- 1412 // -----------------------------------------------------------------------------
1422 // DO NOT ADD YOUR CRAP TO THE BOTTOM OF THIS FILE. 1413 // DO NOT ADD YOUR CRAP TO THE BOTTOM OF THIS FILE.
1423 // 1414 //
1424 // You were going to just dump your switches here, weren't you? Instead, please 1415 // You were going to just dump your switches here, weren't you? Instead, please
1425 // put them in alphabetical order above, or in order inside the appropriate 1416 // put them in alphabetical order above, or in order inside the appropriate
1426 // ifdef at the bottom. The order should match the header. 1417 // ifdef at the bottom. The order should match the header.
1427 // ----------------------------------------------------------------------------- 1418 // -----------------------------------------------------------------------------
1428 1419
1429 } // namespace switches 1420 } // namespace switches
OLDNEW
« no previous file with comments | « chrome/common/chrome_switches.h ('k') | chrome/test/data/webui/print_preview.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698