OLD | NEW |
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 | 10 |
(...skipping 401 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
412 "enable-extension-activity-logging"; | 412 "enable-extension-activity-logging"; |
413 | 413 |
414 const char kEnableExtensionActivityLogTesting[] = | 414 const char kEnableExtensionActivityLogTesting[] = |
415 "enable-extension-activity-log-testing"; | 415 "enable-extension-activity-log-testing"; |
416 | 416 |
417 // Enable the fast unload controller, which speeds up tab/window close by | 417 // Enable the fast unload controller, which speeds up tab/window close by |
418 // running a tab's onunload js handler independently of the GUI - | 418 // running a tab's onunload js handler independently of the GUI - |
419 // crbug.com/142458 . | 419 // crbug.com/142458 . |
420 const char kEnableFastUnload[] = "enable-fast-unload"; | 420 const char kEnableFastUnload[] = "enable-fast-unload"; |
421 | 421 |
| 422 #if defined(OS_WIN) |
| 423 // Use GDI for printing text. |
| 424 const char kEnableGDITextPrinting[] = "enable-gdi-text-printing"; |
| 425 #endif |
| 426 |
422 #if defined(GOOGLE_CHROME_BUILD) | 427 #if defined(GOOGLE_CHROME_BUILD) |
423 // Shows a Google icon next to context menu items powered by Google services. | 428 // Shows a Google icon next to context menu items powered by Google services. |
424 const char kEnableGoogleBrandedContextMenu[] = | 429 const char kEnableGoogleBrandedContextMenu[] = |
425 "enable-google-branded-context-menu"; | 430 "enable-google-branded-context-menu"; |
426 #endif // defined(GOOGLE_CHROME_BUILD) | 431 #endif // defined(GOOGLE_CHROME_BUILD) |
427 | 432 |
428 // Enables the Material Design version of chrome://extensions. | 433 // Enables the Material Design version of chrome://extensions. |
429 const char kEnableMaterialDesignExtensions[] = "enable-md-extensions"; | 434 const char kEnableMaterialDesignExtensions[] = "enable-md-extensions"; |
430 | 435 |
431 // Enables the Material Design feedback form. | 436 // Enables the Material Design feedback form. |
(...skipping 907 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1339 | 1344 |
1340 // ----------------------------------------------------------------------------- | 1345 // ----------------------------------------------------------------------------- |
1341 // DO NOT ADD YOUR CRAP TO THE BOTTOM OF THIS FILE. | 1346 // DO NOT ADD YOUR CRAP TO THE BOTTOM OF THIS FILE. |
1342 // | 1347 // |
1343 // You were going to just dump your switches here, weren't you? Instead, please | 1348 // You were going to just dump your switches here, weren't you? Instead, please |
1344 // put them in alphabetical order above, or in order inside the appropriate | 1349 // put them in alphabetical order above, or in order inside the appropriate |
1345 // ifdef at the bottom. The order should match the header. | 1350 // ifdef at the bottom. The order should match the header. |
1346 // ----------------------------------------------------------------------------- | 1351 // ----------------------------------------------------------------------------- |
1347 | 1352 |
1348 } // namespace switches | 1353 } // namespace switches |
OLD | NEW |