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

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

Issue 1368013004: Define Print Preview default printer selection policy (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Rebase 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 295 matching lines...) Expand 10 before | Expand all | Expand 10 after
306 306
307 // Disable pop-up blocking. 307 // Disable pop-up blocking.
308 const char kDisablePopupBlocking[] = "disable-popup-blocking"; 308 const char kDisablePopupBlocking[] = "disable-popup-blocking";
309 309
310 // Disable speculative TCP/IP preconnection. 310 // Disable speculative TCP/IP preconnection.
311 const char kDisablePreconnect[] = "disable-preconnect"; 311 const char kDisablePreconnect[] = "disable-preconnect";
312 312
313 // Disables print preview (For testing, and for users who don't like us. :[ ) 313 // Disables print preview (For testing, and for users who don't like us. :[ )
314 const char kDisablePrintPreview[] = "disable-print-preview"; 314 const char kDisablePrintPreview[] = "disable-print-preview";
315 315
316 // Default print destination selection rules.
317 // See PrintPreviewDefaultPrinterSelection policy for details.
318 const char kPrintPreviewDefaultDestinationSelectionRules[] =
319 "default-printer-selection-rules";
Thiemo Nagel 2015/10/09 16:35:47 Adding command line switches is not allowed unless
Aleksey Shlyapnikov 2015/10/09 21:02:51 My rationale was to offer non-enterprise users unh
Thiemo Nagel 2015/10/12 19:10:09 I guess the request was to remove the flag unless
Aleksey Shlyapnikov 2015/10/13 18:14:57 Done.
320
316 // 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
317 // 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
318 // disable that check. This switch is used during automated testing. 323 // disable that check. This switch is used during automated testing.
319 const char kDisablePromptOnRepost[] = "disable-prompt-on-repost"; 324 const char kDisablePromptOnRepost[] = "disable-prompt-on-repost";
320 325
321 // Disables support for the QUIC protocol. 326 // Disables support for the QUIC protocol.
322 const char kDisableQuic[] = "disable-quic"; 327 const char kDisableQuic[] = "disable-quic";
323 328
324 // Disable use of Chromium's port selection for the ephemeral port via bind(). 329 // Disable use of Chromium's port selection for the ephemeral port via bind().
325 // This only has an effect if QUIC protocol is enabled. 330 // This only has an effect if QUIC protocol is enabled.
(...skipping 1062 matching lines...) Expand 10 before | Expand all | Expand 10 after
1388 1393
1389 // ----------------------------------------------------------------------------- 1394 // -----------------------------------------------------------------------------
1390 // DO NOT ADD YOUR CRAP TO THE BOTTOM OF THIS FILE. 1395 // DO NOT ADD YOUR CRAP TO THE BOTTOM OF THIS FILE.
1391 // 1396 //
1392 // You were going to just dump your switches here, weren't you? Instead, please 1397 // You were going to just dump your switches here, weren't you? Instead, please
1393 // put them in alphabetical order above, or in order inside the appropriate 1398 // put them in alphabetical order above, or in order inside the appropriate
1394 // ifdef at the bottom. The order should match the header. 1399 // ifdef at the bottom. The order should match the header.
1395 // ----------------------------------------------------------------------------- 1400 // -----------------------------------------------------------------------------
1396 1401
1397 } // namespace switches 1402 } // namespace switches
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698