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 | |
192 // Disable session storage. | 189 // Disable session storage. |
193 const char kDisableSessionStorage[] = "disable-session-storage"; | 190 const char kDisableSessionStorage[] = "disable-session-storage"; |
194 | 191 |
195 // Enable shared workers. Functionality not yet complete. | 192 // Enable shared workers. Functionality not yet complete. |
196 const char kDisableSharedWorkers[] = "disable-shared-workers"; | 193 const char kDisableSharedWorkers[] = "disable-shared-workers"; |
197 | 194 |
198 // Disable site-specific tailoring to compatibility issues in WebKit. | 195 // Disable site-specific tailoring to compatibility issues in WebKit. |
199 const char kDisableSiteSpecificQuirks[] = "disable-site-specific-quirks"; | 196 const char kDisableSiteSpecificQuirks[] = "disable-site-specific-quirks"; |
200 | 197 |
201 // Disable syncing browser data to a Google Account. | 198 // Disable syncing browser data to a Google Account. |
(...skipping 133 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
335 | 332 |
336 // Enable caching of pre-parsed JS script data. See http://crbug.com/32407. | 333 // Enable caching of pre-parsed JS script data. See http://crbug.com/32407. |
337 const char kEnablePreparsedJsCaching[] = "enable-preparsed-js-caching"; | 334 const char kEnablePreparsedJsCaching[] = "enable-preparsed-js-caching"; |
338 | 335 |
339 // Enable print preview (work in progress). | 336 // Enable print preview (work in progress). |
340 const char kEnablePrintPreview[] = "enable-print-preview"; | 337 const char kEnablePrintPreview[] = "enable-print-preview"; |
341 | 338 |
342 // Enable Privacy Blacklists. | 339 // Enable Privacy Blacklists. |
343 const char kEnablePrivacyBlacklists[] = "enable-privacy-blacklists"; | 340 const char kEnablePrivacyBlacklists[] = "enable-privacy-blacklists"; |
344 | 341 |
| 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 |
345 // Enables StatsTable, logging statistics to a global named shared memory table. | 346 // Enables StatsTable, logging statistics to a global named shared memory table. |
346 const char kEnableStatsTable[] = "enable-stats-table"; | 347 const char kEnableStatsTable[] = "enable-stats-table"; |
347 | 348 |
348 // Enable syncing browser data to a Google Account. | 349 // Enable syncing browser data to a Google Account. |
349 const char kEnableSync[] = "enable-sync"; | 350 const char kEnableSync[] = "enable-sync"; |
350 | 351 |
351 // Enable syncing browser autofill. | 352 // Enable syncing browser autofill. |
352 const char kEnableSyncAutofill[] = "enable-sync-autofill"; | 353 const char kEnableSyncAutofill[] = "enable-sync-autofill"; |
353 | 354 |
354 // Enable syncing browser bookmarks. | 355 // Enable syncing browser bookmarks. |
(...skipping 636 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
991 | 992 |
992 // ----------------------------------------------------------------------------- | 993 // ----------------------------------------------------------------------------- |
993 // DO NOT ADD YOUR CRAP TO THE BOTTOM OF THIS FILE. | 994 // DO NOT ADD YOUR CRAP TO THE BOTTOM OF THIS FILE. |
994 // | 995 // |
995 // You were going to just dump your switches here, weren't you? Instead, | 996 // You were going to just dump your switches here, weren't you? Instead, |
996 // please put them in alphabetical order above, or in order inside the | 997 // please put them in alphabetical order above, or in order inside the |
997 // appropriate ifdef at the bottom. The order should match the header. | 998 // appropriate ifdef at the bottom. The order should match the header. |
998 // ----------------------------------------------------------------------------- | 999 // ----------------------------------------------------------------------------- |
999 | 1000 |
1000 } // namespace switches | 1001 } // namespace switches |
OLD | NEW |