| 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/test/webdriver/webdriver_automation.h" | 5 #include "chrome/test/webdriver/webdriver_automation.h" |
| 6 | 6 |
| 7 #if defined(OS_WIN) | 7 #if defined(OS_WIN) |
| 8 #include <windows.h> | 8 #include <windows.h> |
| 9 #endif | 9 #endif |
| 10 | 10 |
| (...skipping 345 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 356 if (CommandLine::ForCurrentProcess()->HasSwitch("no-sandbox")) { | 356 if (CommandLine::ForCurrentProcess()->HasSwitch("no-sandbox")) { |
| 357 command.AppendSwitch(switches::kNoSandbox); | 357 command.AppendSwitch(switches::kNoSandbox); |
| 358 } | 358 } |
| 359 | 359 |
| 360 const char* excludable_switches[] = { | 360 const char* excludable_switches[] = { |
| 361 switches::kDisableHangMonitor, | 361 switches::kDisableHangMonitor, |
| 362 switches::kDisablePromptOnRepost, | 362 switches::kDisablePromptOnRepost, |
| 363 switches::kDomAutomationController, | 363 switches::kDomAutomationController, |
| 364 switches::kFullMemoryCrashReport, | 364 switches::kFullMemoryCrashReport, |
| 365 switches::kNoDefaultBrowserCheck, | 365 switches::kNoDefaultBrowserCheck, |
| 366 switches::kNoFirstRun, | 366 switches::kSkipFirstRun, |
| 367 switches::kDisableBackgroundNetworking, | 367 switches::kDisableBackgroundNetworking, |
| 368 switches::kDisableSync, | 368 switches::kDisableSync, |
| 369 switches::kDisableTranslate, | 369 switches::kDisableTranslate, |
| 370 switches::kDisableWebResources, | 370 switches::kDisableWebResources, |
| 371 switches::kSbDisableAutoUpdate, | 371 switches::kSbDisableAutoUpdate, |
| 372 switches::kSbDisableDownloadProtection, | 372 switches::kSbDisableDownloadProtection, |
| 373 switches::kDisableClientSidePhishingDetection, | 373 switches::kDisableClientSidePhishingDetection, |
| 374 switches::kDisableComponentUpdate, | 374 switches::kDisableComponentUpdate, |
| 375 switches::kDisableDefaultApps | 375 switches::kDisableDefaultApps |
| 376 }; | 376 }; |
| (...skipping 830 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 1207 } | 1207 } |
| 1208 | 1208 |
| 1209 Error* Automation::CheckMaximizeSupported() { | 1209 Error* Automation::CheckMaximizeSupported() { |
| 1210 const char* message = | 1210 const char* message = |
| 1211 "Maximize automation interface is not supported for this version of " | 1211 "Maximize automation interface is not supported for this version of " |
| 1212 "Chrome."; | 1212 "Chrome."; |
| 1213 return CheckVersion(1160, message); | 1213 return CheckVersion(1160, message); |
| 1214 } | 1214 } |
| 1215 | 1215 |
| 1216 } // namespace webdriver | 1216 } // namespace webdriver |
| OLD | NEW |