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

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

Issue 1691813003: Add --auto-open-devtools-for-tabs flag. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: close last DevToolsWindow Created 4 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
« no previous file with comments | « chrome/common/chrome_switches.h ('k') | chrome/test/base/testing_browser_process.h » ('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 #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 88 matching lines...) Expand 10 before | Expand all | Expand 10 after
99 99
100 // Value of OAuth2 refresh token for --force-app-mode. 100 // Value of OAuth2 refresh token for --force-app-mode.
101 const char kAppModeOAuth2Token[] = "app-mode-oauth-token"; 101 const char kAppModeOAuth2Token[] = "app-mode-oauth-token";
102 102
103 // Enables overriding the path for the default authentication extension. 103 // Enables overriding the path for the default authentication extension.
104 const char kAuthExtensionPath[] = "auth-ext-path"; 104 const char kAuthExtensionPath[] = "auth-ext-path";
105 105
106 // Whitelist for Negotiate Auth servers 106 // Whitelist for Negotiate Auth servers
107 const char kAuthServerWhitelist[] = "auth-server-whitelist"; 107 const char kAuthServerWhitelist[] = "auth-server-whitelist";
108 108
109 // This flag makes Chrome auto-open DevTools window for each tab. It is
110 // intended to be used by developers and automation to not require user
111 // interaction for opening DevTools.
112 const char kAutoOpenDevToolsForTabs[] =
113 "auto-open-devtools-for-tabs";
114
109 // This flag makes Chrome auto-select the provided choice when an extension asks 115 // This flag makes Chrome auto-select the provided choice when an extension asks
110 // permission to start desktop capture. Should only be used for tests. For 116 // permission to start desktop capture. Should only be used for tests. For
111 // instance, --auto-select-desktop-capture-source="Entire screen" will 117 // instance, --auto-select-desktop-capture-source="Entire screen" will
112 // automatically select to share the entire screen in English locales. 118 // automatically select to share the entire screen in English locales.
113 const char kAutoSelectDesktopCaptureSource[] = 119 const char kAutoSelectDesktopCaptureSource[] =
114 "auto-select-desktop-capture-source"; 120 "auto-select-desktop-capture-source";
115 121
116 // This flag causes the user engagement checks for showing app banners to be 122 // This flag causes the user engagement checks for showing app banners to be
117 // bypassed. It is intended to be used by developers who wish to test that their 123 // bypassed. It is intended to be used by developers who wish to test that their
118 // sites otherwise meet the criteria needed to show app banners. 124 // sites otherwise meet the criteria needed to show app banners.
(...skipping 1253 matching lines...) Expand 10 before | Expand all | Expand 10 after
1372 1378
1373 // ----------------------------------------------------------------------------- 1379 // -----------------------------------------------------------------------------
1374 // DO NOT ADD YOUR CRAP TO THE BOTTOM OF THIS FILE. 1380 // DO NOT ADD YOUR CRAP TO THE BOTTOM OF THIS FILE.
1375 // 1381 //
1376 // You were going to just dump your switches here, weren't you? Instead, please 1382 // You were going to just dump your switches here, weren't you? Instead, please
1377 // put them in alphabetical order above, or in order inside the appropriate 1383 // put them in alphabetical order above, or in order inside the appropriate
1378 // ifdef at the bottom. The order should match the header. 1384 // ifdef at the bottom. The order should match the header.
1379 // ----------------------------------------------------------------------------- 1385 // -----------------------------------------------------------------------------
1380 1386
1381 } // namespace switches 1387 } // namespace switches
OLDNEW
« no previous file with comments | « chrome/common/chrome_switches.h ('k') | chrome/test/base/testing_browser_process.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698