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

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

Issue 163183012: Cleanup: Make --debug-print Windows-only. (Closed) Base URL: svn://chrome-svn/chrome/trunk/src/
Patch Set: Created 6 years, 10 months 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 | Annotate | Revision Log
« no previous file with comments | « chrome/common/chrome_switches.h ('k') | no next file » | 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 #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 9
10 namespace switches { 10 namespace switches {
(...skipping 231 matching lines...) Expand 10 before | Expand all | Expand 10 after
242 #endif 242 #endif
243 243
244 // Enables a frame context menu item that toggles the frame in and out of glass 244 // Enables a frame context menu item that toggles the frame in and out of glass
245 // mode (Windows Vista and up only). 245 // mode (Windows Vista and up only).
246 const char kDebugEnableFrameToggle[] = "debug-enable-frame-toggle"; 246 const char kDebugEnableFrameToggle[] = "debug-enable-frame-toggle";
247 247
248 // Adds debugging entries such as Inspect Element to context menus of packed 248 // Adds debugging entries such as Inspect Element to context menus of packed
249 // apps. 249 // apps.
250 const char kDebugPackedApps[] = "debug-packed-apps"; 250 const char kDebugPackedApps[] = "debug-packed-apps";
251 251
252 // Enables support to debug printing subsystem.
253 const char kDebugPrint[] = "debug-print";
254
255 // Triggers a plethora of diagnostic modes. 252 // Triggers a plethora of diagnostic modes.
256 const char kDiagnostics[] = "diagnostics"; 253 const char kDiagnostics[] = "diagnostics";
257 254
258 // Sets the output format for diagnostic modes enabled by diagnostics flag. 255 // Sets the output format for diagnostic modes enabled by diagnostics flag.
259 const char kDiagnosticsFormat[] = "diagnostics-format"; 256 const char kDiagnosticsFormat[] = "diagnostics-format";
260 257
261 // Tells the diagnostics mode to do the requested recovery step(s). 258 // Tells the diagnostics mode to do the requested recovery step(s).
262 const char kDiagnosticsRecovery[] = "diagnostics-recovery"; 259 const char kDiagnosticsRecovery[] = "diagnostics-recovery";
263 260
264 // Disables the experimental asynchronous DNS client. 261 // Disables the experimental asynchronous DNS client.
(...skipping 921 matching lines...) Expand 10 before | Expand all | Expand 10 after
1186 const char kPrerenderMode[] = "prerender"; 1183 const char kPrerenderMode[] = "prerender";
1187 // These are the values the kPrerenderMode switch may have, as in 1184 // These are the values the kPrerenderMode switch may have, as in
1188 // "--prerender=auto". 1185 // "--prerender=auto".
1189 // auto: Allow field trial selection for prerender. 1186 // auto: Allow field trial selection for prerender.
1190 const char kPrerenderModeSwitchValueAuto[] = "auto"; 1187 const char kPrerenderModeSwitchValueAuto[] = "auto";
1191 // disabled: No prerendering. 1188 // disabled: No prerendering.
1192 const char kPrerenderModeSwitchValueDisabled[] = "disabled"; 1189 const char kPrerenderModeSwitchValueDisabled[] = "disabled";
1193 // enabled: Prerendering. 1190 // enabled: Prerendering.
1194 const char kPrerenderModeSwitchValueEnabled[] = "enabled"; 1191 const char kPrerenderModeSwitchValueEnabled[] = "enabled";
1195 1192
1196 #if defined(OS_WIN)
1197 // Enable conversion from vector to raster for any page.
1198 const char kPrintRaster[] = "print-raster";
1199 #endif
1200
1201 // Use IPv6 only for privet HTTP. 1193 // Use IPv6 only for privet HTTP.
1202 const char kPrivetIPv6Only[] = "privet-ipv6-only"; 1194 const char kPrivetIPv6Only[] = "privet-ipv6-only";
1203 1195
1204 // Outputs the product version information and quit. Used as an internal api to 1196 // Outputs the product version information and quit. Used as an internal api to
1205 // detect the installed version of Chrome on Linux. 1197 // detect the installed version of Chrome on Linux.
1206 const char kProductVersion[] = "product-version"; 1198 const char kProductVersion[] = "product-version";
1207 1199
1208 // Selects directory of profile to associate with the first browser launched. 1200 // Selects directory of profile to associate with the first browser launched.
1209 const char kProfileDirectory[] = "profile-directory"; 1201 const char kProfileDirectory[] = "profile-directory";
1210 1202
(...skipping 414 matching lines...) Expand 10 before | Expand all | Expand 10 after
1625 1617
1626 // Uses mock keychain for testing purposes, which prevents blocking dialogs 1618 // Uses mock keychain for testing purposes, which prevents blocking dialogs
1627 // from causing timeouts. 1619 // from causing timeouts.
1628 const char kUseMockKeychain[] = "use-mock-keychain"; 1620 const char kUseMockKeychain[] = "use-mock-keychain";
1629 #endif 1621 #endif
1630 1622
1631 // Use bubbles for content permissions requests instead of infobars. 1623 // Use bubbles for content permissions requests instead of infobars.
1632 const char kEnablePermissionsBubbles[] = "enable-permissions-bubbles"; 1624 const char kEnablePermissionsBubbles[] = "enable-permissions-bubbles";
1633 1625
1634 #if defined(OS_WIN) 1626 #if defined(OS_WIN)
1627 // Enables support to debug printing subsystem.
1628 const char kDebugPrint[] = "debug-print";
1629
1635 // Force-enables the profile shortcut manager. This is needed for tests since 1630 // Force-enables the profile shortcut manager. This is needed for tests since
1636 // they use a custom-user-data-dir which disables this. 1631 // they use a custom-user-data-dir which disables this.
1637 const char kEnableProfileShortcutManager[] = "enable-profile-shortcut-manager"; 1632 const char kEnableProfileShortcutManager[] = "enable-profile-shortcut-manager";
1638 1633
1639 // For the DelegateExecute verb handler to launch Chrome in metro mode on 1634 // For the DelegateExecute verb handler to launch Chrome in metro mode on
1640 // Windows 8 and higher. Used when relaunching metro Chrome. 1635 // Windows 8 and higher. Used when relaunching metro Chrome.
1641 const char kForceImmersive[] = "force-immersive"; 1636 const char kForceImmersive[] = "force-immersive";
1642 1637
1643 // For the DelegateExecute verb handler to launch Chrome in desktop mode on 1638 // For the DelegateExecute verb handler to launch Chrome in desktop mode on
1644 // Windows 8 and higher. Used when relaunching metro Chrome. 1639 // Windows 8 and higher. Used when relaunching metro Chrome.
1645 const char kForceDesktop[] = "force-desktop"; 1640 const char kForceDesktop[] = "force-desktop";
1646 1641
1642 // Enable conversion from vector to raster for any page.
1643 const char kPrintRaster[] = "print-raster";
1644
1647 // Relaunches metro Chrome on Windows 8 and higher using a given shortcut. 1645 // Relaunches metro Chrome on Windows 8 and higher using a given shortcut.
1648 const char kRelaunchShortcut[] = "relaunch-shortcut"; 1646 const char kRelaunchShortcut[] = "relaunch-shortcut";
1649 1647
1650 // Requests that Chrome connect to the running Metro viewer process. 1648 // Requests that Chrome connect to the running Metro viewer process.
1651 const char kViewerConnect[] = "viewer-connect"; 1649 const char kViewerConnect[] = "viewer-connect";
1652 1650
1653 // Requests that Chrome launch the Metro viewer process via the given appid 1651 // Requests that Chrome launch the Metro viewer process via the given appid
1654 // (which is assumed to be registered as default browser) and synchronously 1652 // (which is assumed to be registered as default browser) and synchronously
1655 // connect to it. 1653 // connect to it.
1656 const char kViewerLaunchViaAppId[] = "viewer-launch-via-appid"; 1654 const char kViewerLaunchViaAppId[] = "viewer-launch-via-appid";
(...skipping 26 matching lines...) Expand all
1683 1681
1684 // ----------------------------------------------------------------------------- 1682 // -----------------------------------------------------------------------------
1685 // DO NOT ADD YOUR CRAP TO THE BOTTOM OF THIS FILE. 1683 // DO NOT ADD YOUR CRAP TO THE BOTTOM OF THIS FILE.
1686 // 1684 //
1687 // You were going to just dump your switches here, weren't you? Instead, please 1685 // You were going to just dump your switches here, weren't you? Instead, please
1688 // put them in alphabetical order above, or in order inside the appropriate 1686 // put them in alphabetical order above, or in order inside the appropriate
1689 // ifdef at the bottom. The order should match the header. 1687 // ifdef at the bottom. The order should match the header.
1690 // ----------------------------------------------------------------------------- 1688 // -----------------------------------------------------------------------------
1691 1689
1692 } // namespace switches 1690 } // namespace switches
OLDNEW
« no previous file with comments | « chrome/common/chrome_switches.h ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698