 Chromium Code Reviews
 Chromium Code Reviews Issue 1691813003:
  Add --auto-open-devtools-for-tabs flag.  (Closed) 
  Base URL: https://chromium.googlesource.com/chromium/src.git@master
    
  
    Issue 1691813003:
  Add --auto-open-devtools-for-tabs flag.  (Closed) 
  Base URL: https://chromium.googlesource.com/chromium/src.git@master| 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 95 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
| 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-select the provided choice when an extension asks | 109 // 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 | 110 // permission to start desktop capture. Should only be used for tests. For | 
| 111 // instance, --auto-select-desktop-capture-source="Entire screen" will | 111 // instance, --auto-select-desktop-capture-source="Entire screen" will | 
| 112 // automatically select to share the entire screen in English locales. | 112 // automatically select to share the entire screen in English locales. | 
| 113 const char kAutoSelectDesktopCaptureSource[] = | 113 const char kAutoSelectDesktopCaptureSource[] = | 
| 114 "auto-select-desktop-capture-source"; | 114 "auto-select-desktop-capture-source"; | 
| 115 | 115 | 
| 116 // This flag makes Chrome auto-open DevTools window for each tab. It is | |
| 117 // intended to be used by developers and automation to not require user | |
| 118 // interaction for opening DevTools. | |
| 119 const char kAutoOpenDevToolsForTabs[] = | |
| 120 "auto-open-devtools-for-tabs"; | |
| 
pfeldman
2016/02/12 02:15:08
ditto
 | |
| 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. | 
| 119 const char kBypassAppBannerEngagementChecks[] = | 125 const char kBypassAppBannerEngagementChecks[] = | 
| 120 "bypass-app-banner-engagement-checks"; | 126 "bypass-app-banner-engagement-checks"; | 
| 121 | 127 | 
| 122 // Certificate Transparency: Uses the provided log(s) for checking Signed | 128 // Certificate Transparency: Uses the provided log(s) for checking Signed | 
| 123 // Certificate Timestamps provided with certificates. | 129 // Certificate Timestamps provided with certificates. | 
| 124 // The switch's value is: | 130 // The switch's value is: | 
| 125 // log_description:log_key:log_url,log_description:log_key:log_url,... | 131 // log_description:log_key:log_url,log_description:log_key:log_url,... | 
| (...skipping 1257 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
| 1383 | 1389 | 
| 1384 // ----------------------------------------------------------------------------- | 1390 // ----------------------------------------------------------------------------- | 
| 1385 // DO NOT ADD YOUR CRAP TO THE BOTTOM OF THIS FILE. | 1391 // DO NOT ADD YOUR CRAP TO THE BOTTOM OF THIS FILE. | 
| 1386 // | 1392 // | 
| 1387 // You were going to just dump your switches here, weren't you? Instead, please | 1393 // You were going to just dump your switches here, weren't you? Instead, please | 
| 1388 // put them in alphabetical order above, or in order inside the appropriate | 1394 // put them in alphabetical order above, or in order inside the appropriate | 
| 1389 // ifdef at the bottom. The order should match the header. | 1395 // ifdef at the bottom. The order should match the header. | 
| 1390 // ----------------------------------------------------------------------------- | 1396 // ----------------------------------------------------------------------------- | 
| 1391 | 1397 | 
| 1392 } // namespace switches | 1398 } // namespace switches | 
| OLD | NEW |