OLD | NEW |
1 // Copyright (c) 2010 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2010 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 #include "base/command_line.h" | 8 #include "base/command_line.h" |
9 | 9 |
10 namespace switches { | 10 namespace switches { |
(...skipping 168 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
179 | 179 |
180 // Normally when the user attempts to navigate to a page that was the result of | 180 // Normally when the user attempts to navigate to a page that was the result of |
181 // a post we prompt to make sure they want to. This switch may be used to | 181 // a post we prompt to make sure they want to. This switch may be used to |
182 // disable that check. This switch is used during automated testing. | 182 // disable that check. This switch is used during automated testing. |
183 const char kDisablePromptOnRepost[] = "disable-prompt-on-repost"; | 183 const char kDisablePromptOnRepost[] = "disable-prompt-on-repost"; |
184 | 184 |
185 // Disable remote web font support. SVG font should always work whether | 185 // Disable remote web font support. SVG font should always work whether |
186 // this option is specified or not. | 186 // this option is specified or not. |
187 const char kDisableRemoteFonts[] = "disable-remote-fonts"; | 187 const char kDisableRemoteFonts[] = "disable-remote-fonts"; |
188 | 188 |
| 189 // Turns off the accessibility in the renderer. |
| 190 const char kDisableRendererAccessibility[] = "disable-renderer-accessibility"; |
| 191 |
189 // Disable session storage. | 192 // Disable session storage. |
190 const char kDisableSessionStorage[] = "disable-session-storage"; | 193 const char kDisableSessionStorage[] = "disable-session-storage"; |
191 | 194 |
192 // Enable shared workers. Functionality not yet complete. | 195 // Enable shared workers. Functionality not yet complete. |
193 const char kDisableSharedWorkers[] = "disable-shared-workers"; | 196 const char kDisableSharedWorkers[] = "disable-shared-workers"; |
194 | 197 |
195 // Disable site-specific tailoring to compatibility issues in WebKit. | 198 // Disable site-specific tailoring to compatibility issues in WebKit. |
196 const char kDisableSiteSpecificQuirks[] = "disable-site-specific-quirks"; | 199 const char kDisableSiteSpecificQuirks[] = "disable-site-specific-quirks"; |
197 | 200 |
198 // Disable syncing browser data to a Google Account. | 201 // Disable syncing browser data to a Google Account. |
(...skipping 133 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
332 | 335 |
333 // Enable caching of pre-parsed JS script data. See http://crbug.com/32407. | 336 // Enable caching of pre-parsed JS script data. See http://crbug.com/32407. |
334 const char kEnablePreparsedJsCaching[] = "enable-preparsed-js-caching"; | 337 const char kEnablePreparsedJsCaching[] = "enable-preparsed-js-caching"; |
335 | 338 |
336 // Enable print preview (work in progress). | 339 // Enable print preview (work in progress). |
337 const char kEnablePrintPreview[] = "enable-print-preview"; | 340 const char kEnablePrintPreview[] = "enable-print-preview"; |
338 | 341 |
339 // Enable Privacy Blacklists. | 342 // Enable Privacy Blacklists. |
340 const char kEnablePrivacyBlacklists[] = "enable-privacy-blacklists"; | 343 const char kEnablePrivacyBlacklists[] = "enable-privacy-blacklists"; |
341 | 344 |
342 // Turns on the accessibility in the renderer. Off by default until | |
343 // http://b/issue?id=1432077 is fixed. | |
344 const char kEnableRendererAccessibility[] = "enable-renderer-accessibility"; | |
345 | |
346 // Enables StatsTable, logging statistics to a global named shared memory table. | 345 // Enables StatsTable, logging statistics to a global named shared memory table. |
347 const char kEnableStatsTable[] = "enable-stats-table"; | 346 const char kEnableStatsTable[] = "enable-stats-table"; |
348 | 347 |
349 // Enable syncing browser data to a Google Account. | 348 // Enable syncing browser data to a Google Account. |
350 const char kEnableSync[] = "enable-sync"; | 349 const char kEnableSync[] = "enable-sync"; |
351 | 350 |
352 // Enable syncing browser autofill. | 351 // Enable syncing browser autofill. |
353 const char kEnableSyncAutofill[] = "enable-sync-autofill"; | 352 const char kEnableSyncAutofill[] = "enable-sync-autofill"; |
354 | 353 |
355 // Enable syncing browser bookmarks. | 354 // Enable syncing browser bookmarks. |
(...skipping 636 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
992 | 991 |
993 // ----------------------------------------------------------------------------- | 992 // ----------------------------------------------------------------------------- |
994 // DO NOT ADD YOUR CRAP TO THE BOTTOM OF THIS FILE. | 993 // DO NOT ADD YOUR CRAP TO THE BOTTOM OF THIS FILE. |
995 // | 994 // |
996 // You were going to just dump your switches here, weren't you? Instead, | 995 // You were going to just dump your switches here, weren't you? Instead, |
997 // please put them in alphabetical order above, or in order inside the | 996 // please put them in alphabetical order above, or in order inside the |
998 // appropriate ifdef at the bottom. The order should match the header. | 997 // appropriate ifdef at the bottom. The order should match the header. |
999 // ----------------------------------------------------------------------------- | 998 // ----------------------------------------------------------------------------- |
1000 | 999 |
1001 } // namespace switches | 1000 } // namespace switches |
OLD | NEW |