Index: chrome/common/chrome_switches.cc |
diff --git a/chrome/common/chrome_switches.cc b/chrome/common/chrome_switches.cc |
index 51113d41afee63b38c607b5f2a55257c73544cf6..51810ee36d8c8486f31a016f61cbc00c687bffdb 100644 |
--- a/chrome/common/chrome_switches.cc |
+++ b/chrome/common/chrome_switches.cc |
@@ -115,6 +115,13 @@ const char kAuthServerWhitelist[] = "auth-server-whitelist"; |
// computer startup and not by some user action. |
const char kAutoLaunchAtStartup[] = "auto-launch-at-startup"; |
+// 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 |
+// automatically select to share the entire screen in English locales. |
+const char kAutoSelectDesktopCaptureSource[] = |
+ "auto-select-desktop-capture-source"; |
+ |
// Certificate Transparency: Uses the provided log(s) for checking Signed |
// Certificate Timestamps provided with certificates. |
// The switch's value is: |