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

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

Issue 2556023002: Added flags for PrintBrowser mode (Closed)
Patch Set: Fix git weirdness 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 383 matching lines...) Expand 10 before | Expand all | Expand 10 after
394 "enable-permission-action-reporting"; 394 "enable-permission-action-reporting";
395 395
396 // Enables a number of potentially annoying security features (strict mixed 396 // Enables a number of potentially annoying security features (strict mixed
397 // content mode, powerful feature restrictions, etc.) 397 // content mode, powerful feature restrictions, etc.)
398 const char kEnablePotentiallyAnnoyingSecurityFeatures[] = 398 const char kEnablePotentiallyAnnoyingSecurityFeatures[] =
399 "enable-potentially-annoying-security-features"; 399 "enable-potentially-annoying-security-features";
400 400
401 // Enables the Power overlay in Settings. 401 // Enables the Power overlay in Settings.
402 const char kEnablePowerOverlay[] = "enable-power-overlay"; 402 const char kEnablePowerOverlay[] = "enable-power-overlay";
403 403
404 // Enables the Print Browser feature in print preview.
skau 2016/12/16 18:05:53 Is this accurate? It seems like this feature affe
405 const char kEnablePrintBrowser[] = "enable-print-browser";
406
404 // Enables showing unregistered printers in print preview 407 // Enables showing unregistered printers in print preview
405 const char kEnablePrintPreviewRegisterPromos[] = 408 const char kEnablePrintPreviewRegisterPromos[] =
406 "enable-print-preview-register-promos"; 409 "enable-print-preview-register-promos";
407 410
408 // Enables tracking of tasks in profiler for viewing via about:profiler. 411 // Enables tracking of tasks in profiler for viewing via about:profiler.
409 // To predominantly disable tracking (profiling), use the command line switch: 412 // To predominantly disable tracking (profiling), use the command line switch:
410 // --enable-profiling=0 413 // --enable-profiling=0
411 // Some tracking will still take place at startup, but it will be turned off 414 // Some tracking will still take place at startup, but it will be turned off
412 // during chrome_browser_main. 415 // during chrome_browser_main.
413 const char kEnableProfiling[] = "enable-profiling"; 416 const char kEnableProfiling[] = "enable-profiling";
(...skipping 822 matching lines...) Expand 10 before | Expand all | Expand 10 after
1236 1239
1237 // ----------------------------------------------------------------------------- 1240 // -----------------------------------------------------------------------------
1238 // DO NOT ADD YOUR VERY NICE FLAGS TO THE BOTTOM OF THIS FILE. 1241 // DO NOT ADD YOUR VERY NICE FLAGS TO THE BOTTOM OF THIS FILE.
1239 // 1242 //
1240 // You were going to just dump your switches here, weren't you? Instead, please 1243 // You were going to just dump your switches here, weren't you? Instead, please
1241 // put them in alphabetical order above, or in order inside the appropriate 1244 // put them in alphabetical order above, or in order inside the appropriate
1242 // ifdef at the bottom. The order should match the header. 1245 // ifdef at the bottom. The order should match the header.
1243 // ----------------------------------------------------------------------------- 1246 // -----------------------------------------------------------------------------
1244 1247
1245 } // namespace switches 1248 } // namespace switches
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698