OLD | NEW |
1 // Copyright (c) 2006-2009 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2006-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 84 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
95 // Runs the renderer outside the sandbox. | 95 // Runs the renderer outside the sandbox. |
96 const wchar_t kNoSandbox[] = L"no-sandbox"; | 96 const wchar_t kNoSandbox[] = L"no-sandbox"; |
97 | 97 |
98 // Disables the alternate window station for the renderer. | 98 // Disables the alternate window station for the renderer. |
99 const wchar_t kDisableAltWinstation[] = L"disable-winsta"; | 99 const wchar_t kDisableAltWinstation[] = L"disable-winsta"; |
100 | 100 |
101 // Runs the plugin processes inside the sandbox. | 101 // Runs the plugin processes inside the sandbox. |
102 const wchar_t kSafePlugins[] = L"safe-plugins"; | 102 const wchar_t kSafePlugins[] = L"safe-plugins"; |
103 | 103 |
104 // Excludes these plugins from the plugin sandbox. | 104 // Excludes these plugins from the plugin sandbox. |
105 // This is a comma-separated list of plugin library names and activex clsid. | 105 // This is a comma-separated list of plugin library names. |
106 const wchar_t kTrustedPlugins[] = L"trusted-plugins"; | 106 const wchar_t kTrustedPlugins[] = L"trusted-plugins"; |
107 | 107 |
108 // Runs the security test for the sandbox. | 108 // Runs the security test for the sandbox. |
109 const wchar_t kTestSandbox[] = L"test-sandbox"; | 109 const wchar_t kTestSandbox[] = L"test-sandbox"; |
110 | 110 |
111 // Specifies the user data directory, which is where the browser will look | 111 // Specifies the user data directory, which is where the browser will look |
112 // for all of its state. | 112 // for all of its state. |
113 const wchar_t kUserDataDir[] = L"user-data-dir"; | 113 const wchar_t kUserDataDir[] = L"user-data-dir"; |
114 | 114 |
115 // Specifies the plugin data directory, which is where plugins (Gears | 115 // Specifies the plugin data directory, which is where plugins (Gears |
(...skipping 143 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
259 // the default, we'll provide a command line switch. | 259 // the default, we'll provide a command line switch. |
260 extern const wchar_t kDnsLogDetails[] = L"dns-log-details"; | 260 extern const wchar_t kDnsLogDetails[] = L"dns-log-details"; |
261 extern const wchar_t kDnsPrefetchDisable[] = L"dns-prefetch-disable"; | 261 extern const wchar_t kDnsPrefetchDisable[] = L"dns-prefetch-disable"; |
262 | 262 |
263 // Enables support to debug printing subsystem. | 263 // Enables support to debug printing subsystem. |
264 const wchar_t kDebugPrint[] = L"debug-print"; | 264 const wchar_t kDebugPrint[] = L"debug-print"; |
265 | 265 |
266 // Prints the pages on the screen. | 266 // Prints the pages on the screen. |
267 const wchar_t kPrint[] = L"print"; | 267 const wchar_t kPrint[] = L"print"; |
268 | 268 |
269 // Allow initialization of all activex controls. This is only to help website | |
270 // developers test their controls to see if they are compatible in Chrome. | |
271 // Note there's a duplicate value in activex_shared.cc (to avoid | |
272 // dependency on chrome module). Please change both locations at the same time. | |
273 const wchar_t kAllowAllActiveX[] = L"allow-all-activex"; | |
274 | |
275 // Browser flag to disable the web inspector for all renderers. | 269 // Browser flag to disable the web inspector for all renderers. |
276 const wchar_t kDisableDevTools[] = L"disable-dev-tools"; | 270 const wchar_t kDisableDevTools[] = L"disable-dev-tools"; |
277 | 271 |
278 // Enable web inspector for all windows, even if they're part of the browser. | 272 // Enable web inspector for all windows, even if they're part of the browser. |
279 // Allows us to use our dev tools to debug browser windows itself. | 273 // Allows us to use our dev tools to debug browser windows itself. |
280 const wchar_t kAlwaysEnableDevTools[] = L"always-enable-dev-tools"; | 274 const wchar_t kAlwaysEnableDevTools[] = L"always-enable-dev-tools"; |
281 | 275 |
282 // Enable experimental timeline API. | 276 // Enable experimental timeline API. |
283 const wchar_t kEnableExtensionTimelineApi[] = | 277 const wchar_t kEnableExtensionTimelineApi[] = |
284 L"enable-extension-timeline-api"; | 278 L"enable-extension-timeline-api"; |
(...skipping 319 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
604 #endif | 598 #endif |
605 | 599 |
606 // Enable experimental support for cached byte-ranges. | 600 // Enable experimental support for cached byte-ranges. |
607 const wchar_t kEnableByteRangeSupport[] = L"enable-byte-range-support"; | 601 const wchar_t kEnableByteRangeSupport[] = L"enable-byte-range-support"; |
608 | 602 |
609 // Explicitly allow additional ports using a comma separated list of port | 603 // Explicitly allow additional ports using a comma separated list of port |
610 // numbers. | 604 // numbers. |
611 const wchar_t kExplicitlyAllowedPorts[] = L"explicitly-allowed-ports"; | 605 const wchar_t kExplicitlyAllowedPorts[] = L"explicitly-allowed-ports"; |
612 | 606 |
613 } // namespace switches | 607 } // namespace switches |
OLD | NEW |