OLD | NEW |
1 // Copyright (c) 2009 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2009 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 185 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
196 const char kEnableLogging[] = "enable-logging"; | 196 const char kEnableLogging[] = "enable-logging"; |
197 | 197 |
198 // On Windows, converts the page to the currently-installed monitor profile. | 198 // On Windows, converts the page to the currently-installed monitor profile. |
199 // This does NOT enable color management for images. The source is still | 199 // This does NOT enable color management for images. The source is still |
200 // assumed to be sRGB. | 200 // assumed to be sRGB. |
201 const char kEnableMonitorProfile[] = "enable-monitor-profile"; | 201 const char kEnableMonitorProfile[] = "enable-monitor-profile"; |
202 | 202 |
203 // Enable Native Web Worker support | 203 // Enable Native Web Worker support |
204 const char kEnableNativeWebWorkers[] = "enable-native-web-workers"; | 204 const char kEnableNativeWebWorkers[] = "enable-native-web-workers"; |
205 | 205 |
| 206 // Enable AutoFill++. |
| 207 const char kEnableNewAutoFill[] = "enable-new-autofill"; |
| 208 |
206 // Enable remote web font support. SVG font should always work whether | 209 // Enable remote web font support. SVG font should always work whether |
207 // this option is specified or not. | 210 // this option is specified or not. |
208 const char kEnableRemoteFonts[] = "enable-remote-fonts"; | 211 const char kEnableRemoteFonts[] = "enable-remote-fonts"; |
209 | 212 |
210 // Turns on the accessibility in the renderer. Off by default until | 213 // Turns on the accessibility in the renderer. Off by default until |
211 // http://b/issue?id=1432077 is fixed. | 214 // http://b/issue?id=1432077 is fixed. |
212 const char kEnableRendererAccessibility[] = "enable-renderer-accessibility"; | 215 const char kEnableRendererAccessibility[] = "enable-renderer-accessibility"; |
213 | 216 |
214 // Enable the seccomp sandbox (Linux only) | 217 // Enable the seccomp sandbox (Linux only) |
215 const char kEnableSeccompSandbox[] = "enable-seccomp-sandbox"; | 218 const char kEnableSeccompSandbox[] = "enable-seccomp-sandbox"; |
(...skipping 81 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
297 | 300 |
298 // Causes the browser to launch directly in incognito mode. | 301 // Causes the browser to launch directly in incognito mode. |
299 const char kIncognito[] = "incognito"; | 302 const char kIncognito[] = "incognito"; |
300 | 303 |
301 // Runs the Native Client inside the renderer process. | 304 // Runs the Native Client inside the renderer process. |
302 const char kInternalNaCl[] = "internal-nacl"; | 305 const char kInternalNaCl[] = "internal-nacl"; |
303 | 306 |
304 // Specifies the flags passed to JS engine | 307 // Specifies the flags passed to JS engine |
305 const char kJavaScriptFlags[] = "js-flags"; | 308 const char kJavaScriptFlags[] = "js-flags"; |
306 | 309 |
| 310 #if !defined(OS_MACOSX) |
| 311 // Enable Kiosk mode. |
| 312 const char kKioskMode[] = "kiosk"; |
| 313 #endif |
| 314 |
307 // Load an extension from the specified directory. | 315 // Load an extension from the specified directory. |
308 const char kLoadExtension[] = "load-extension"; | 316 const char kLoadExtension[] = "load-extension"; |
309 | 317 |
310 // Load an NPAPI plugin from the specified path. | 318 // Load an NPAPI plugin from the specified path. |
311 const char kLoadPlugin[] = "load-plugin"; | 319 const char kLoadPlugin[] = "load-plugin"; |
312 | 320 |
313 // Will filter log messages to show only the messages that are prefixed | 321 // Will filter log messages to show only the messages that are prefixed |
314 // with the specified value. See also kEnableLogging and kLoggingLevel. | 322 // with the specified value. See also kEnableLogging and kLoggingLevel. |
315 const char kLogFilterPrefix[] = "log-filter-prefix"; | 323 const char kLogFilterPrefix[] = "log-filter-prefix"; |
316 | 324 |
(...skipping 368 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
685 #endif | 693 #endif |
686 | 694 |
687 // ----------------------------------------------------------------------------- | 695 // ----------------------------------------------------------------------------- |
688 // DO NOT ADD YOUR CRAP TO THE BOTTOM OF THIS FILE. | 696 // DO NOT ADD YOUR CRAP TO THE BOTTOM OF THIS FILE. |
689 // | 697 // |
690 // You were going to just dump your switches here, weren't you? Instead, | 698 // You were going to just dump your switches here, weren't you? Instead, |
691 // please put them in alphabetical order above, or in order inside the | 699 // please put them in alphabetical order above, or in order inside the |
692 // appropriate ifdef at the bottom. The order should match the header. | 700 // appropriate ifdef at the bottom. The order should match the header. |
693 // ----------------------------------------------------------------------------- | 701 // ----------------------------------------------------------------------------- |
694 | 702 |
695 // Enable AutoFill++. | |
696 const char kEnableNewAutoFill[] = "enable-new-autofill"; | |
697 | |
698 } // namespace switches | 703 } // namespace switches |
OLD | NEW |