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

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

Issue 2367003002: DevTools: allow passing command line flags into devtools front-end. (Closed)
Patch Set: same Created 4 years, 2 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
« 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 #include "build/build_config.h" 9 #include "build/build_config.h"
10 10
(...skipping 135 matching lines...) Expand 10 before | Expand all | Expand 10 after
146 "create-browser-on-startup-for-tests"; 146 "create-browser-on-startup-for-tests";
147 147
148 // Enables a frame context menu item that toggles the frame in and out of glass 148 // Enables a frame context menu item that toggles the frame in and out of glass
149 // mode (Windows Vista and up only). 149 // mode (Windows Vista and up only).
150 const char kDebugEnableFrameToggle[] = "debug-enable-frame-toggle"; 150 const char kDebugEnableFrameToggle[] = "debug-enable-frame-toggle";
151 151
152 // Adds debugging entries such as Inspect Element to context menus of packed 152 // Adds debugging entries such as Inspect Element to context menus of packed
153 // apps. 153 // apps.
154 const char kDebugPackedApps[] = "debug-packed-apps"; 154 const char kDebugPackedApps[] = "debug-packed-apps";
155 155
156 // Passes command line parameters to the DevTools front-end.
157 const char kDevToolsFlags[] = "devtools-flags";
158
156 // Triggers a plethora of diagnostic modes. 159 // Triggers a plethora of diagnostic modes.
157 const char kDiagnostics[] = "diagnostics"; 160 const char kDiagnostics[] = "diagnostics";
158 161
159 // Sets the output format for diagnostic modes enabled by diagnostics flag. 162 // Sets the output format for diagnostic modes enabled by diagnostics flag.
160 const char kDiagnosticsFormat[] = "diagnostics-format"; 163 const char kDiagnosticsFormat[] = "diagnostics-format";
161 164
162 // Tells the diagnostics mode to do the requested recovery step(s). 165 // Tells the diagnostics mode to do the requested recovery step(s).
163 const char kDiagnosticsRecovery[] = "diagnostics-recovery"; 166 const char kDiagnosticsRecovery[] = "diagnostics-recovery";
164 167
165 // When kEnableSettingsWindow is used, About is shown as an overlay in Settings 168 // When kEnableSettingsWindow is used, About is shown as an overlay in Settings
(...skipping 1176 matching lines...) Expand 10 before | Expand all | Expand 10 after
1342 1345
1343 // ----------------------------------------------------------------------------- 1346 // -----------------------------------------------------------------------------
1344 // DO NOT ADD YOUR CRAP TO THE BOTTOM OF THIS FILE. 1347 // DO NOT ADD YOUR CRAP TO THE BOTTOM OF THIS FILE.
1345 // 1348 //
1346 // You were going to just dump your switches here, weren't you? Instead, please 1349 // You were going to just dump your switches here, weren't you? Instead, please
1347 // put them in alphabetical order above, or in order inside the appropriate 1350 // put them in alphabetical order above, or in order inside the appropriate
1348 // ifdef at the bottom. The order should match the header. 1351 // ifdef at the bottom. The order should match the header.
1349 // ----------------------------------------------------------------------------- 1352 // -----------------------------------------------------------------------------
1350 1353
1351 } // namespace switches 1354 } // 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