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

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

Issue 2556023002: Added flags for PrintBrowser mode (Closed)
Patch Set: Replaced enable-print-browser feature flag with command line switch. Created 4 years 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 #include "build/build_config.h" 9 #include "build/build_config.h"
10 #include "ppapi/features/features.h" 10 #include "ppapi/features/features.h"
(...skipping 387 matching lines...) Expand 10 before | Expand all | Expand 10 after
398 "enable-permission-action-reporting"; 398 "enable-permission-action-reporting";
399 399
400 // Enables a number of potentially annoying security features (strict mixed 400 // Enables a number of potentially annoying security features (strict mixed
401 // content mode, powerful feature restrictions, etc.) 401 // content mode, powerful feature restrictions, etc.)
402 const char kEnablePotentiallyAnnoyingSecurityFeatures[] = 402 const char kEnablePotentiallyAnnoyingSecurityFeatures[] =
403 "enable-potentially-annoying-security-features"; 403 "enable-potentially-annoying-security-features";
404 404
405 // Enables the Power overlay in Settings. 405 // Enables the Power overlay in Settings.
406 const char kEnablePowerOverlay[] = "enable-power-overlay"; 406 const char kEnablePowerOverlay[] = "enable-power-overlay";
407 407
408 // Enables the Print Browser feature in print preview.
409 const char kEnablePrintBrowser[] = "enable-print-browser";
410
408 // Enables showing unregistered printers in print preview 411 // Enables showing unregistered printers in print preview
409 const char kEnablePrintPreviewRegisterPromos[] = 412 const char kEnablePrintPreviewRegisterPromos[] =
410 "enable-print-preview-register-promos"; 413 "enable-print-preview-register-promos";
411 414
412 // Enables tracking of tasks in profiler for viewing via about:profiler. 415 // Enables tracking of tasks in profiler for viewing via about:profiler.
413 // To predominantly disable tracking (profiling), use the command line switch: 416 // To predominantly disable tracking (profiling), use the command line switch:
414 // --enable-profiling=0 417 // --enable-profiling=0
415 // Some tracking will still take place at startup, but it will be turned off 418 // Some tracking will still take place at startup, but it will be turned off
416 // during chrome_browser_main. 419 // during chrome_browser_main.
417 const char kEnableProfiling[] = "enable-profiling"; 420 const char kEnableProfiling[] = "enable-profiling";
(...skipping 851 matching lines...) Expand 10 before | Expand all | Expand 10 after
1269 1272
1270 // ----------------------------------------------------------------------------- 1273 // -----------------------------------------------------------------------------
1271 // DO NOT ADD YOUR VERY NICE FLAGS TO THE BOTTOM OF THIS FILE. 1274 // DO NOT ADD YOUR VERY NICE FLAGS TO THE BOTTOM OF THIS FILE.
1272 // 1275 //
1273 // You were going to just dump your switches here, weren't you? Instead, please 1276 // You were going to just dump your switches here, weren't you? Instead, please
1274 // put them in alphabetical order above, or in order inside the appropriate 1277 // put them in alphabetical order above, or in order inside the appropriate
1275 // ifdef at the bottom. The order should match the header. 1278 // ifdef at the bottom. The order should match the header.
1276 // ----------------------------------------------------------------------------- 1279 // -----------------------------------------------------------------------------
1277 1280
1278 } // namespace switches 1281 } // namespace switches
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698