summaryrefslogtreecommitdiffstats
path: root/chrome/common/chrome_switches.cc
diff options
context:
space:
mode:
authordgozman <dgozman@chromium.org>2016-02-22 19:47:30 -0800
committerCommit bot <commit-bot@chromium.org>2016-02-23 03:49:02 +0000
commit54cc54e1eb3620221c2f552adad047e322717adb (patch)
tree49df8eb6e388d0a4049593ed699d9094ba57ce1c /chrome/common/chrome_switches.cc
parent9078d474409be40e8b0754b4ed9b9cc0534bce1d (diff)
downloadchromium_src-54cc54e1eb3620221c2f552adad047e322717adb.zip
chromium_src-54cc54e1eb3620221c2f552adad047e322717adb.tar.gz
chromium_src-54cc54e1eb3620221c2f552adad047e322717adb.tar.bz2
Add --auto-open-devtools-for-tabs flag.
This flags automatically opens DevTools for every browser tab, including restored and opened for url arguments ones. BUG=410958 Review URL: https://codereview.chromium.org/1691813003 Cr-Commit-Position: refs/heads/master@{#376916}
Diffstat (limited to 'chrome/common/chrome_switches.cc')
-rw-r--r--chrome/common/chrome_switches.cc6
1 files changed, 6 insertions, 0 deletions
diff --git a/chrome/common/chrome_switches.cc b/chrome/common/chrome_switches.cc
index 6384301..53b8509 100644
--- a/chrome/common/chrome_switches.cc
+++ b/chrome/common/chrome_switches.cc
@@ -106,6 +106,12 @@ const char kAuthExtensionPath[] = "auth-ext-path";
// Whitelist for Negotiate Auth servers
const char kAuthServerWhitelist[] = "auth-server-whitelist";
+// This flag makes Chrome auto-open DevTools window for each tab. It is
+// intended to be used by developers and automation to not require user
+// interaction for opening DevTools.
+const char kAutoOpenDevToolsForTabs[] =
+ "auto-open-devtools-for-tabs";
+
// This flag makes Chrome auto-select the provided choice when an extension asks
// permission to start desktop capture. Should only be used for tests. For
// instance, --auto-select-desktop-capture-source="Entire screen" will