OLD | NEW |
1 // Copyright (c) 2006-2008 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2006-2008 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 297 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
308 const wchar_t kUseLowFragHeapCrt[] = L"use-lf-heap"; | 308 const wchar_t kUseLowFragHeapCrt[] = L"use-lf-heap"; |
309 | 309 |
310 #ifndef NDEBUG | 310 #ifndef NDEBUG |
311 // Debug only switch to specify which gears plugin dll to load. | 311 // Debug only switch to specify which gears plugin dll to load. |
312 const wchar_t kGearsPluginPathOverride[] = L"gears-plugin-path"; | 312 const wchar_t kGearsPluginPathOverride[] = L"gears-plugin-path"; |
313 #endif | 313 #endif |
314 | 314 |
315 // Switch to load Gears in the renderer process. | 315 // Switch to load Gears in the renderer process. |
316 const wchar_t kGearsInRenderer[] = L"gears-in-renderer"; | 316 const wchar_t kGearsInRenderer[] = L"gears-in-renderer"; |
317 | 317 |
318 // Enable winhttp HTTP stack. | |
319 const wchar_t kUseWinHttp[] = L"winhttp"; | |
320 | |
321 // Enable the fastback page cache. | 318 // Enable the fastback page cache. |
322 const wchar_t kEnableFastback[] = L"enable-fastback"; | 319 const wchar_t kEnableFastback[] = L"enable-fastback"; |
323 | 320 |
324 // Allow loading of the javascript debugger UI from the filesystem. | 321 // Allow loading of the javascript debugger UI from the filesystem. |
325 const wchar_t kJavaScriptDebuggerPath[] = L"javascript-debugger-path"; | 322 const wchar_t kJavaScriptDebuggerPath[] = L"javascript-debugger-path"; |
326 | 323 |
327 const wchar_t kEnableP13n[] = L"enable-p13n"; | 324 const wchar_t kEnableP13n[] = L"enable-p13n"; |
328 | 325 |
329 // Enable support for SDCH filtering (dictionary based expansion of content). | 326 // Enable support for SDCH filtering (dictionary based expansion of content). |
330 // Optional argument is *the* only domain name that will have SDCH suppport. | 327 // Optional argument is *the* only domain name that will have SDCH suppport. |
331 // Default is "-enable-sdch" to advertise SDCH on all domains. | 328 // Default is "-enable-sdch" to advertise SDCH on all domains. |
332 // Sample usage with argument: "-enable-sdch=.google.com" | 329 // Sample usage with argument: "-enable-sdch=.google.com" |
333 // SDCH is currently only supported server-side for searches on google.com. | 330 // SDCH is currently only supported server-side for searches on google.com. |
334 const wchar_t kSdchFilter[] = L"enable-sdch"; | 331 const wchar_t kSdchFilter[] = L"enable-sdch"; |
335 | 332 |
336 // Enable user script support. | 333 // Enable user script support. |
337 const wchar_t kEnableUserScripts[] = L"enable-user-scripts"; | 334 const wchar_t kEnableUserScripts[] = L"enable-user-scripts"; |
338 | 335 |
339 // Enable extensions. | 336 // Enable extensions. |
340 const wchar_t kEnableExtensions[] = L"enable-extensions"; | 337 const wchar_t kEnableExtensions[] = L"enable-extensions"; |
341 | 338 |
342 // Causes the browser to launch directly in incognito mode. | 339 // Causes the browser to launch directly in incognito mode. |
343 const wchar_t kIncognito[] = L"incognito"; | 340 const wchar_t kIncognito[] = L"incognito"; |
344 | 341 |
345 // Turn on the old implementation of SafeBrowsing which may have performance | 342 // Turn on the old implementation of SafeBrowsing which may have performance |
346 // problems on some computers during updates. | 343 // problems on some computers during updates. |
347 const wchar_t kUseOldSafeBrowsing[] = L"old-safe-browsing"; | 344 const wchar_t kUseOldSafeBrowsing[] = L"old-safe-browsing"; |
348 | 345 |
349 // Turns on the accessibility in the renderer. Off by default until | 346 // Turns on the accessibility in the renderer. Off by default until |
350 // http://b/issue?id=1432077 is fixed. | 347 // http://b/issue?id=1432077 is fixed. |
351 const wchar_t kEnableRendererAccessibility[] = L"enable-renderer-accessibility"; | 348 const wchar_t kEnableRendererAccessibility[] = L"enable-renderer-accessibility"; |
352 | 349 |
353 // Enable HTML5 Video/Audio tag support | 350 // Enable HTML5 Video/Audio tag support |
354 const wchar_t kEnableVideo[] = L"enable-video"; | 351 const wchar_t kEnableVideo[] = L"enable-video"; |
355 | 352 |
356 // Pass the name of the current running automated test to Chrome. | 353 // Pass the name of the current running automated test to Chrome. |
357 const wchar_t kTestName[] = L"test-name"; | 354 const wchar_t kTestName[] = L"test-name"; |
358 | 355 |
359 } // namespace switches | 356 } // namespace switches |
OLD | NEW |