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 | 8 |
9 namespace switches { | 9 namespace switches { |
10 | 10 |
(...skipping 128 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
139 | 139 |
140 // Normally when the user attempts to navigate to a page that was the result of | 140 // Normally when the user attempts to navigate to a page that was the result of |
141 // a post we prompt to make sure they want to. This switch may be used to | 141 // a post we prompt to make sure they want to. This switch may be used to |
142 // disable that check. This switch is used during automated testing. | 142 // disable that check. This switch is used during automated testing. |
143 const char kDisablePromptOnRepost[] = "disable-prompt-on-repost"; | 143 const char kDisablePromptOnRepost[] = "disable-prompt-on-repost"; |
144 | 144 |
145 // Disable remote web font support. SVG font should always work whether | 145 // Disable remote web font support. SVG font should always work whether |
146 // this option is specified or not. | 146 // this option is specified or not. |
147 const char kDisableRemoteFonts[] = "disable-remote-fonts"; | 147 const char kDisableRemoteFonts[] = "disable-remote-fonts"; |
148 | 148 |
| 149 // Disable session storage. |
| 150 const char kDisableSessionStorage[] = "disable-session-storage"; |
| 151 |
149 // Enable shared workers. Functionality not yet complete. | 152 // Enable shared workers. Functionality not yet complete. |
150 const char kDisableSharedWorkers[] = "disable-shared-workers"; | 153 const char kDisableSharedWorkers[] = "disable-shared-workers"; |
151 | 154 |
152 // Disable site-specific tailoring to compatibility issues in WebKit. | 155 // Disable site-specific tailoring to compatibility issues in WebKit. |
153 const char kDisableSiteSpecificQuirks[] = "disable-site-specific-quirks"; | 156 const char kDisableSiteSpecificQuirks[] = "disable-site-specific-quirks"; |
154 | 157 |
155 // Disable syncing browser data to a Google Account. | 158 // Disable syncing browser data to a Google Account. |
156 const char kDisableSync[] = "disable-sync"; | 159 const char kDisableSync[] = "disable-sync"; |
157 | 160 |
158 // Disable syncing of bookmarks. | 161 // Disable syncing of bookmarks. |
(...skipping 103 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
262 // Enable Privacy Blacklists. | 265 // Enable Privacy Blacklists. |
263 const char kEnablePrivacyBlacklists[] = "enable-privacy-blacklists"; | 266 const char kEnablePrivacyBlacklists[] = "enable-privacy-blacklists"; |
264 | 267 |
265 // Turns on the accessibility in the renderer. Off by default until | 268 // Turns on the accessibility in the renderer. Off by default until |
266 // http://b/issue?id=1432077 is fixed. | 269 // http://b/issue?id=1432077 is fixed. |
267 const char kEnableRendererAccessibility[] = "enable-renderer-accessibility"; | 270 const char kEnableRendererAccessibility[] = "enable-renderer-accessibility"; |
268 | 271 |
269 // Enable the seccomp sandbox (Linux only) | 272 // Enable the seccomp sandbox (Linux only) |
270 const char kEnableSeccompSandbox[] = "enable-seccomp-sandbox"; | 273 const char kEnableSeccompSandbox[] = "enable-seccomp-sandbox"; |
271 | 274 |
272 // Enable session storage. Still buggy. | |
273 const char kEnableSessionStorage[] = "enable-session-storage"; | |
274 | |
275 // Enables StatsTable, logging statistics to a global named shared memory table. | 275 // Enables StatsTable, logging statistics to a global named shared memory table. |
276 const char kEnableStatsTable[] = "enable-stats-table"; | 276 const char kEnableStatsTable[] = "enable-stats-table"; |
277 | 277 |
278 // Enable syncing browser data to a Google Account. | 278 // Enable syncing browser data to a Google Account. |
279 const char kEnableSync[] = "enable-sync"; | 279 const char kEnableSync[] = "enable-sync"; |
280 | 280 |
281 // Enable syncing browser bookmarks. | 281 // Enable syncing browser bookmarks. |
282 const char kEnableSyncBookmarks[] = "enable-sync-bookmarks"; | 282 const char kEnableSyncBookmarks[] = "enable-sync-bookmarks"; |
283 | 283 |
284 // Enable syncing browser preferences. | 284 // Enable syncing browser preferences. |
(...skipping 530 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
815 | 815 |
816 // ----------------------------------------------------------------------------- | 816 // ----------------------------------------------------------------------------- |
817 // DO NOT ADD YOUR CRAP TO THE BOTTOM OF THIS FILE. | 817 // DO NOT ADD YOUR CRAP TO THE BOTTOM OF THIS FILE. |
818 // | 818 // |
819 // You were going to just dump your switches here, weren't you? Instead, | 819 // You were going to just dump your switches here, weren't you? Instead, |
820 // please put them in alphabetical order above, or in order inside the | 820 // please put them in alphabetical order above, or in order inside the |
821 // appropriate ifdef at the bottom. The order should match the header. | 821 // appropriate ifdef at the bottom. The order should match the header. |
822 // ----------------------------------------------------------------------------- | 822 // ----------------------------------------------------------------------------- |
823 | 823 |
824 } // namespace switches | 824 } // namespace switches |
OLD | NEW |