OLD | NEW |
1 // Copyright (c) 2006-2008 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2006-2008 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 | 8 |
9 namespace switches { | 9 namespace switches { |
10 | 10 |
(...skipping 281 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
292 // a post we prompt to make sure they want to. This switch may be used to | 292 // a post we prompt to make sure they want to. This switch may be used to |
293 // disable that check. This switch is used during automated testing. | 293 // disable that check. This switch is used during automated testing. |
294 const wchar_t kDisablePromptOnRepost[] = L"disable-prompt-on-repost"; | 294 const wchar_t kDisablePromptOnRepost[] = L"disable-prompt-on-repost"; |
295 | 295 |
296 // Disable pop-up blocking. | 296 // Disable pop-up blocking. |
297 const wchar_t kDisablePopupBlocking[] = L"disable-popup-blocking"; | 297 const wchar_t kDisablePopupBlocking[] = L"disable-popup-blocking"; |
298 | 298 |
299 // Don't execute JavaScript (browser JS like the new tab page still runs). | 299 // Don't execute JavaScript (browser JS like the new tab page still runs). |
300 const wchar_t kDisableJavaScript[] = L"disable-javascript"; | 300 const wchar_t kDisableJavaScript[] = L"disable-javascript"; |
301 | 301 |
| 302 // Don't enforce the same-origin policy. (Used by people testing their sites.) |
| 303 const wchar_t kDisableWebSecurity[] = L"disable-web-security"; |
| 304 |
302 // Prevent Java from running. | 305 // Prevent Java from running. |
303 const wchar_t kDisableJava[] = L"disable-java"; | 306 const wchar_t kDisableJava[] = L"disable-java"; |
304 | 307 |
305 // Prevent plugins from running. | 308 // Prevent plugins from running. |
306 const wchar_t kDisablePlugins[] = L"disable-plugins"; | 309 const wchar_t kDisablePlugins[] = L"disable-plugins"; |
307 | 310 |
308 // Prevent images from loading. | 311 // Prevent images from loading. |
309 const wchar_t kDisableImages[] = L"disable-images"; | 312 const wchar_t kDisableImages[] = L"disable-images"; |
310 | 313 |
311 // Use the low fragmentation heap for the CRT. | 314 // Use the low fragmentation heap for the CRT. |
(...skipping 46 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
358 // http://b/issue?id=1432077 is fixed. | 361 // http://b/issue?id=1432077 is fixed. |
359 const wchar_t kEnableRendererAccessibility[] = L"enable-renderer-accessibility"; | 362 const wchar_t kEnableRendererAccessibility[] = L"enable-renderer-accessibility"; |
360 | 363 |
361 // Enable HTML5 Video/Audio tag support | 364 // Enable HTML5 Video/Audio tag support |
362 const wchar_t kEnableVideo[] = L"enable-video"; | 365 const wchar_t kEnableVideo[] = L"enable-video"; |
363 | 366 |
364 // Pass the name of the current running automated test to Chrome. | 367 // Pass the name of the current running automated test to Chrome. |
365 const wchar_t kTestName[] = L"test-name"; | 368 const wchar_t kTestName[] = L"test-name"; |
366 | 369 |
367 } // namespace switches | 370 } // namespace switches |
OLD | NEW |