| OLD | NEW |
| 1 // Copyright 2016 The Chromium Authors. All rights reserved. | 1 // Copyright 2016 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 #ifndef HEADLESS_APP_HEADLESS_SHELL_SWITCHES_H_ | 5 #ifndef HEADLESS_APP_HEADLESS_SHELL_SWITCHES_H_ |
| 6 #define HEADLESS_APP_HEADLESS_SHELL_SWITCHES_H_ | 6 #define HEADLESS_APP_HEADLESS_SHELL_SWITCHES_H_ |
| 7 | 7 |
| 8 #include "content/public/common/content_switches.h" | 8 #include "content/public/common/content_switches.h" |
| 9 | 9 |
| 10 namespace headless { | 10 namespace headless { |
| 11 namespace switches { | 11 namespace switches { |
| 12 | 12 |
| 13 extern const char kDefaultBackgroundColor[]; | 13 extern const char kDefaultBackgroundColor[]; |
| 14 extern const char kEnableCrashReporter[]; | |
| 15 extern const char kCrashDumpsDir[]; | 14 extern const char kCrashDumpsDir[]; |
| 16 extern const char kDeterministicFetch[]; | 15 extern const char kDeterministicFetch[]; |
| 17 extern const char kDumpDom[]; | 16 extern const char kDumpDom[]; |
| 18 extern const char kHideScrollbars[]; | 17 extern const char kHideScrollbars[]; |
| 19 extern const char kPrintToPDF[]; | 18 extern const char kPrintToPDF[]; |
| 20 extern const char kProxyServer[]; | 19 extern const char kProxyServer[]; |
| 21 extern const char kRemoteDebuggingAddress[]; | 20 extern const char kRemoteDebuggingAddress[]; |
| 22 extern const char kRepl[]; | 21 extern const char kRepl[]; |
| 23 extern const char kScreenshot[]; | 22 extern const char kScreenshot[]; |
| 24 extern const char kTimeout[]; | 23 extern const char kTimeout[]; |
| 25 extern const char kUseGL[]; | 24 extern const char kUseGL[]; |
| 26 extern const char kUserAgent[]; | 25 extern const char kUserAgent[]; |
| 27 extern const char kUserDataDir[]; | 26 extern const char kUserDataDir[]; |
| 28 extern const char kVirtualTimeBudget[]; | 27 extern const char kVirtualTimeBudget[]; |
| 29 extern const char kWindowSize[]; | 28 extern const char kWindowSize[]; |
| 30 | 29 |
| 31 // Switches which are replicated from content. | 30 // Switches which are replicated from content. |
| 32 using ::switches::kHostResolverRules; | 31 using ::switches::kHostResolverRules; |
| 33 using ::switches::kRemoteDebuggingPort; | 32 using ::switches::kRemoteDebuggingPort; |
| 34 | 33 |
| 35 } // namespace switches | 34 } // namespace switches |
| 36 } // namespace headless | 35 } // namespace headless |
| 37 | 36 |
| 38 #endif // HEADLESS_APP_HEADLESS_SHELL_SWITCHES_H_ | 37 #endif // HEADLESS_APP_HEADLESS_SHELL_SWITCHES_H_ |
| OLD | NEW |