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

Unified Diff: chrome/common/chrome_switches.cc

Issue 3117044: Add --disable-translate to help Selenium/WebDriver dudes make Chrome... (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src/
Patch Set: Created 10 years, 4 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 side-by-side diff with in-line comments
Download patch
« no previous file with comments | « chrome/common/chrome_switches.h ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/common/chrome_switches.cc
===================================================================
--- chrome/common/chrome_switches.cc (revision 57378)
+++ chrome/common/chrome_switches.cc (working copy)
@@ -286,6 +286,11 @@
const char kDisableTabCloseableStateWatcher[] =
"disable-tab-closeable-state-watcher";
+// Allow disabling of translate from the command line to assist with
+// automated browser testing (e.g. Selenium/WebDriver). Normal
+// browser users should disable translate with the preference.
+const char kDisableTranslate[] = "disable-translate";
+
// Enables the backend service for web resources, used in the new tab page for
// loading tips and recommendations from a JSON feed.
const char kDisableWebResources[] = "disable-web-resources";
« 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