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

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

Issue 2458833005: Move printing defines to buildflag system. (Closed)
Patch Set: Merge 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
« no previous file with comments | « chrome/common/chrome_features.cc ('k') | chrome/common/chrome_switches.cc » ('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 // Defines the shared command-line switches used by code in the Chrome 5 // Defines the shared command-line switches used by code in the Chrome
6 // directory that don't have anywhere more specific to go. 6 // directory that don't have anywhere more specific to go.
7 7
8 #ifndef CHROME_COMMON_CHROME_SWITCHES_H_ 8 #ifndef CHROME_COMMON_CHROME_SWITCHES_H_
9 #define CHROME_COMMON_CHROME_SWITCHES_H_ 9 #define CHROME_COMMON_CHROME_SWITCHES_H_
10 10
11 #include "build/build_config.h" 11 #include "build/build_config.h"
12 #include "printing/features/features.h"
12 13
13 // Don't add more switch files here. This is linked into some places like the 14 // Don't add more switch files here. This is linked into some places like the
14 // installer where dependencies should be limited. Instead, have files 15 // installer where dependencies should be limited. Instead, have files
15 // directly include your switch file. 16 // directly include your switch file.
16 17
17 namespace base { 18 namespace base {
18 class CommandLine; 19 class CommandLine;
19 }; 20 };
20 21
21 namespace switches { 22 namespace switches {
(...skipping 343 matching lines...) Expand 10 before | Expand all | Expand 10 after
365 extern const char kPrefetchArgumentBrowserBackground[]; 366 extern const char kPrefetchArgumentBrowserBackground[];
366 extern const char kPrefetchArgumentWatcher[]; 367 extern const char kPrefetchArgumentWatcher[];
367 extern const char kShowIcons[]; 368 extern const char kShowIcons[];
368 extern const char kUninstall[]; 369 extern const char kUninstall[];
369 extern const char kViewerLaunchViaAppId[]; 370 extern const char kViewerLaunchViaAppId[];
370 extern const char kWatcherProcess[]; 371 extern const char kWatcherProcess[];
371 extern const char kWindows10CustomTitlebar[]; 372 extern const char kWindows10CustomTitlebar[];
372 extern const char kWindows8Search[]; 373 extern const char kWindows8Search[];
373 #endif // defined(OS_WIN) 374 #endif // defined(OS_WIN)
374 375
375 #if defined(ENABLE_PRINT_PREVIEW) && !defined(OFFICIAL_BUILD) 376 #if BUILDFLAG(ENABLE_PRINT_PREVIEW) && !defined(OFFICIAL_BUILD)
376 extern const char kDebugPrint[]; 377 extern const char kDebugPrint[];
377 #endif 378 #endif
378 379
379 #if defined(ENABLE_PLUGINS) 380 #if defined(ENABLE_PLUGINS)
380 extern const char kAllowNaClCrxFsAPI[]; 381 extern const char kAllowNaClCrxFsAPI[];
381 extern const char kAllowNaClFileHandleAPI[]; 382 extern const char kAllowNaClFileHandleAPI[];
382 extern const char kAllowNaClSocketAPI[]; 383 extern const char kAllowNaClSocketAPI[];
383 #endif 384 #endif
384 385
385 #if defined(ENABLE_WAYLAND_SERVER) 386 #if defined(ENABLE_WAYLAND_SERVER)
(...skipping 15 matching lines...) Expand all
401 #if defined(OS_CHROMEOS) 402 #if defined(OS_CHROMEOS)
402 bool PowerOverlayEnabled(); 403 bool PowerOverlayEnabled();
403 #endif 404 #endif
404 405
405 // DON'T ADD RANDOM STUFF HERE. Put it in the main section above in 406 // DON'T ADD RANDOM STUFF HERE. Put it in the main section above in
406 // alphabetical order, or in one of the ifdefs (also in order in each section). 407 // alphabetical order, or in one of the ifdefs (also in order in each section).
407 408
408 } // namespace switches 409 } // namespace switches
409 410
410 #endif // CHROME_COMMON_CHROME_SWITCHES_H_ 411 #endif // CHROME_COMMON_CHROME_SWITCHES_H_
OLDNEW
« no previous file with comments | « chrome/common/chrome_features.cc ('k') | chrome/common/chrome_switches.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698