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

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

Issue 3241001: Merge 57620 - Add --disable-translate to help Selenium/WebDriver dudes make C... (Closed) Base URL: svn://svn.chromium.org/chrome/branches/472/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 unified diff | Download patch | Annotate | Revision Log
« no previous file with comments | « chrome/common/chrome_switches.h ('k') | no next file » | 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) 2010 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2010 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 9
10 namespace switches { 10 namespace switches {
(...skipping 226 matching lines...) Expand 10 before | Expand all | Expand 10 after
237 237
238 // Disable syncing of typed urls. 238 // Disable syncing of typed urls.
239 const char kDisableSyncTypedUrls[] = "disable-sync-typed-urls"; 239 const char kDisableSyncTypedUrls[] = "disable-sync-typed-urls";
240 240
241 // TabCloseableStateWatcher disallows closing of tabs and browsers under certain 241 // TabCloseableStateWatcher disallows closing of tabs and browsers under certain
242 // situations on ChromeOS. Some tests expect tabs or browsers to close, so we 242 // situations on ChromeOS. Some tests expect tabs or browsers to close, so we
243 // need a switch to disable the watcher. 243 // need a switch to disable the watcher.
244 const char kDisableTabCloseableStateWatcher[] = 244 const char kDisableTabCloseableStateWatcher[] =
245 "disable-tab-closeable-state-watcher"; 245 "disable-tab-closeable-state-watcher";
246 246
247 // Allow disabling of translate from the command line to assist with
248 // automated browser testing (e.g. Selenium/WebDriver). Normal
249 // browser users should disable translate with the preference.
250 const char kDisableTranslate[] = "disable-translate";
251
247 // Enables the backend service for web resources, used in the new tab page for 252 // Enables the backend service for web resources, used in the new tab page for
248 // loading tips and recommendations from a JSON feed. 253 // loading tips and recommendations from a JSON feed.
249 const char kDisableWebResources[] = "disable-web-resources"; 254 const char kDisableWebResources[] = "disable-web-resources";
250 255
251 // Don't enforce the same-origin policy. (Used by people testing their sites.) 256 // Don't enforce the same-origin policy. (Used by people testing their sites.)
252 const char kDisableWebSecurity[] = "disable-web-security"; 257 const char kDisableWebSecurity[] = "disable-web-security";
253 258
254 // Disable Web Sockets support. 259 // Disable Web Sockets support.
255 const char kDisableWebSockets[] = "disable-web-sockets"; 260 const char kDisableWebSockets[] = "disable-web-sockets";
256 261
(...skipping 872 matching lines...) Expand 10 before | Expand all | Expand 10 after
1129 1134
1130 // ----------------------------------------------------------------------------- 1135 // -----------------------------------------------------------------------------
1131 // DO NOT ADD YOUR CRAP TO THE BOTTOM OF THIS FILE. 1136 // DO NOT ADD YOUR CRAP TO THE BOTTOM OF THIS FILE.
1132 // 1137 //
1133 // You were going to just dump your switches here, weren't you? Instead, 1138 // You were going to just dump your switches here, weren't you? Instead,
1134 // please put them in alphabetical order above, or in order inside the 1139 // please put them in alphabetical order above, or in order inside the
1135 // appropriate ifdef at the bottom. The order should match the header. 1140 // appropriate ifdef at the bottom. The order should match the header.
1136 // ----------------------------------------------------------------------------- 1141 // -----------------------------------------------------------------------------
1137 1142
1138 } // namespace switches 1143 } // namespace switches
OLDNEW
« 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