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

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

Issue 2458833005: Move printing defines to buildflag system. (Closed)
Patch Set: Missing file Created 4 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
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 "printing/features/features.h"
10 11
11 namespace switches { 12 namespace switches {
12 13
13 // ----------------------------------------------------------------------------- 14 // -----------------------------------------------------------------------------
14 // Can't find the switch you are looking for? Try looking in: 15 // Can't find the switch you are looking for? Try looking in:
15 // ash/common/ash_switches.cc 16 // ash/common/ash_switches.cc
16 // base/base_switches.cc 17 // base/base_switches.cc
17 // chromeos/chromeos_switches.cc 18 // chromeos/chromeos_switches.cc
18 // etc. 19 // etc.
19 // 20 //
(...skipping 1228 matching lines...) Expand 10 before | Expand all | Expand 10 after
1248 const char kWatcherProcess[] = "watcher"; 1249 const char kWatcherProcess[] = "watcher";
1249 1250
1250 // Enables custom-drawing the titlebar and tabstrip background so that it's not 1251 // Enables custom-drawing the titlebar and tabstrip background so that it's not
1251 // a garish #FFFFFF like it is by default on Windows 10. 1252 // a garish #FFFFFF like it is by default on Windows 10.
1252 const char kWindows10CustomTitlebar[] = "windows10-custom-titlebar"; 1253 const char kWindows10CustomTitlebar[] = "windows10-custom-titlebar";
1253 1254
1254 // Indicates that chrome was launched to service a search request in Windows 8. 1255 // Indicates that chrome was launched to service a search request in Windows 8.
1255 const char kWindows8Search[] = "windows8-search"; 1256 const char kWindows8Search[] = "windows8-search";
1256 #endif // defined(OS_WIN) 1257 #endif // defined(OS_WIN)
1257 1258
1258 #if defined(ENABLE_PRINT_PREVIEW) && !defined(OFFICIAL_BUILD) 1259 #if BUILDFLAG(ENABLE_PRINT_PREVIEW) && !defined(OFFICIAL_BUILD)
1259 // Enables support to debug printing subsystem. 1260 // Enables support to debug printing subsystem.
1260 const char kDebugPrint[] = "debug-print"; 1261 const char kDebugPrint[] = "debug-print";
1261 #endif 1262 #endif
1262 1263
1263 #if defined(ENABLE_PLUGINS) 1264 #if defined(ENABLE_PLUGINS)
1264 // Specifies comma-separated list of extension ids or hosts to grant 1265 // Specifies comma-separated list of extension ids or hosts to grant
1265 // access to CRX file system APIs. 1266 // access to CRX file system APIs.
1266 const char kAllowNaClCrxFsAPI[] = "allow-nacl-crxfs-api"; 1267 const char kAllowNaClCrxFsAPI[] = "allow-nacl-crxfs-api";
1267 1268
1268 // Specifies comma-separated list of extension ids or hosts to grant 1269 // Specifies comma-separated list of extension ids or hosts to grant
(...skipping 55 matching lines...) Expand 10 before | Expand all | Expand 10 after
1324 1325
1325 // ----------------------------------------------------------------------------- 1326 // -----------------------------------------------------------------------------
1326 // DO NOT ADD YOUR VERY NICE FLAGS TO THE BOTTOM OF THIS FILE. 1327 // DO NOT ADD YOUR VERY NICE FLAGS TO THE BOTTOM OF THIS FILE.
1327 // 1328 //
1328 // You were going to just dump your switches here, weren't you? Instead, please 1329 // You were going to just dump your switches here, weren't you? Instead, please
1329 // put them in alphabetical order above, or in order inside the appropriate 1330 // put them in alphabetical order above, or in order inside the appropriate
1330 // ifdef at the bottom. The order should match the header. 1331 // ifdef at the bottom. The order should match the header.
1331 // ----------------------------------------------------------------------------- 1332 // -----------------------------------------------------------------------------
1332 1333
1333 } // namespace switches 1334 } // namespace switches
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698