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 1250 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1261 // Useful for testing unrecoverable error scenarios. | 1261 // Useful for testing unrecoverable error scenarios. |
1262 const char kSyncThrowUnrecoverableError[] = "sync-throw-unrecoverable-error"; | 1262 const char kSyncThrowUnrecoverableError[] = "sync-throw-unrecoverable-error"; |
1263 | 1263 |
1264 | 1264 |
1265 // Tries to connect to XMPP using SSLTCP first (for testing). | 1265 // Tries to connect to XMPP using SSLTCP first (for testing). |
1266 const char kSyncTrySsltcpFirstForXmpp[] = "sync-try-ssltcp-first-for-xmpp"; | 1266 const char kSyncTrySsltcpFirstForXmpp[] = "sync-try-ssltcp-first-for-xmpp"; |
1267 | 1267 |
1268 // Enables tab dragging to create a real browser. | 1268 // Enables tab dragging to create a real browser. |
1269 const char kTabBrowserDragging[] = "enable-tab-browser-dragging"; | 1269 const char kTabBrowserDragging[] = "enable-tab-browser-dragging"; |
1270 | 1270 |
| 1271 // Enables tab capture. |
| 1272 const char kTabCapture[] = "enable-tab-capture"; |
| 1273 |
1271 // Passes the name of the current running automated test to Chrome. | 1274 // Passes the name of the current running automated test to Chrome. |
1272 const char kTestName[] = "test-name"; | 1275 const char kTestName[] = "test-name"; |
1273 | 1276 |
1274 // Runs the security test for the NaCl loader sandbox. | 1277 // Runs the security test for the NaCl loader sandbox. |
1275 const char kTestNaClSandbox[] = "test-nacl-sandbox"; | 1278 const char kTestNaClSandbox[] = "test-nacl-sandbox"; |
1276 | 1279 |
1277 // Type of the current test harness ("browser" or "ui"). | 1280 // Type of the current test harness ("browser" or "ui"). |
1278 const char kTestType[] = "test-type"; | 1281 const char kTestType[] = "test-type"; |
1279 | 1282 |
1280 // Tells the app to listen for and broadcast testing-related messages on IPC | 1283 // Tells the app to listen for and broadcast testing-related messages on IPC |
(...skipping 292 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1573 return true; | 1576 return true; |
1574 #elif defined(OS_WIN) | 1577 #elif defined(OS_WIN) |
1575 return true; | 1578 return true; |
1576 #else | 1579 #else |
1577 return CommandLine::ForCurrentProcess()->HasSwitch( | 1580 return CommandLine::ForCurrentProcess()->HasSwitch( |
1578 switches::kEnableFramelessConstrainedDialogs); | 1581 switches::kEnableFramelessConstrainedDialogs); |
1579 #endif | 1582 #endif |
1580 } | 1583 } |
1581 | 1584 |
1582 } // namespace chrome | 1585 } // namespace chrome |
OLD | NEW |