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 | 9 |
10 namespace switches { | 10 namespace switches { |
(...skipping 1258 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1269 // Useful for testing unrecoverable error scenarios. | 1269 // Useful for testing unrecoverable error scenarios. |
1270 const char kSyncThrowUnrecoverableError[] = "sync-throw-unrecoverable-error"; | 1270 const char kSyncThrowUnrecoverableError[] = "sync-throw-unrecoverable-error"; |
1271 | 1271 |
1272 | 1272 |
1273 // Tries to connect to XMPP using SSLTCP first (for testing). | 1273 // Tries to connect to XMPP using SSLTCP first (for testing). |
1274 const char kSyncTrySsltcpFirstForXmpp[] = "sync-try-ssltcp-first-for-xmpp"; | 1274 const char kSyncTrySsltcpFirstForXmpp[] = "sync-try-ssltcp-first-for-xmpp"; |
1275 | 1275 |
1276 // Enables tab dragging to create a real browser. | 1276 // Enables tab dragging to create a real browser. |
1277 const char kTabBrowserDragging[] = "enable-tab-browser-dragging"; | 1277 const char kTabBrowserDragging[] = "enable-tab-browser-dragging"; |
1278 | 1278 |
| 1279 // Enables tab capture. |
| 1280 const char kTabCapture[] = "enable-tab-capture"; |
| 1281 |
1279 // Passes the name of the current running automated test to Chrome. | 1282 // Passes the name of the current running automated test to Chrome. |
1280 const char kTestName[] = "test-name"; | 1283 const char kTestName[] = "test-name"; |
1281 | 1284 |
1282 // Runs the security test for the NaCl loader sandbox. | 1285 // Runs the security test for the NaCl loader sandbox. |
1283 const char kTestNaClSandbox[] = "test-nacl-sandbox"; | 1286 const char kTestNaClSandbox[] = "test-nacl-sandbox"; |
1284 | 1287 |
1285 // Type of the current test harness ("browser" or "ui"). | 1288 // Type of the current test harness ("browser" or "ui"). |
1286 const char kTestType[] = "test-type"; | 1289 const char kTestType[] = "test-type"; |
1287 | 1290 |
1288 // Tells the app to listen for and broadcast testing-related messages on IPC | 1291 // Tells the app to listen for and broadcast testing-related messages on IPC |
(...skipping 295 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1584 return true; | 1587 return true; |
1585 #elif defined(OS_WIN) | 1588 #elif defined(OS_WIN) |
1586 return true; | 1589 return true; |
1587 #else | 1590 #else |
1588 return CommandLine::ForCurrentProcess()->HasSwitch( | 1591 return CommandLine::ForCurrentProcess()->HasSwitch( |
1589 switches::kEnableFramelessConstrainedDialogs); | 1592 switches::kEnableFramelessConstrainedDialogs); |
1590 #endif | 1593 #endif |
1591 } | 1594 } |
1592 | 1595 |
1593 } // namespace chrome | 1596 } // namespace chrome |
OLD | NEW |