OLD | NEW |
1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2012 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 "content/public/common/content_switches.h" | 5 #include "content/public/common/content_switches.h" |
6 | 6 |
7 #include "base/command_line.h" | 7 #include "base/command_line.h" |
8 | 8 |
9 namespace switches { | 9 namespace switches { |
10 | 10 |
(...skipping 127 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
138 const char kDisableCompositingForFixedPosition[] = | 138 const char kDisableCompositingForFixedPosition[] = |
139 "disable-fixed-position-compositing"; | 139 "disable-fixed-position-compositing"; |
140 | 140 |
141 // See comment for kEnableCompositingForTransition. | 141 // See comment for kEnableCompositingForTransition. |
142 const char kDisableCompositingForTransition[] = | 142 const char kDisableCompositingForTransition[] = |
143 "disable-transition-compositing"; | 143 "disable-transition-compositing"; |
144 | 144 |
145 // Disables HTML5 DB support. | 145 // Disables HTML5 DB support. |
146 const char kDisableDatabases[] = "disable-databases"; | 146 const char kDisableDatabases[] = "disable-databases"; |
147 | 147 |
148 // Disables the deadline scheduler. | |
149 const char kDisableDeadlineScheduling[] = "disable-deadline-scheduling"; | |
150 | |
151 // Disables delegated renderer. | 148 // Disables delegated renderer. |
152 const char kDisableDelegatedRenderer[] = "disable-delegated-renderer"; | 149 const char kDisableDelegatedRenderer[] = "disable-delegated-renderer"; |
153 | 150 |
154 // Disables desktop notifications (default enabled on windows). | 151 // Disables desktop notifications (default enabled on windows). |
155 const char kDisableDesktopNotifications[] = "disable-desktop-notifications"; | 152 const char kDisableDesktopNotifications[] = "disable-desktop-notifications"; |
156 | 153 |
157 // Disables experimental navigator content utils implementation. | 154 // Disables experimental navigator content utils implementation. |
158 const char kDisableNavigatorContentUtils[] = | 155 const char kDisableNavigatorContentUtils[] = |
159 "disable-navigator-content-utils"; | 156 "disable-navigator-content-utils"; |
160 | 157 |
(...skipping 252 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
413 // running. These options allow for three possible scenarios: | 410 // running. These options allow for three possible scenarios: |
414 // 1. Default (enabled only if we dectect a highDPI display) | 411 // 1. Default (enabled only if we dectect a highDPI display) |
415 // 2. Enabled always. | 412 // 2. Enabled always. |
416 // 3. Disabled always. | 413 // 3. Disabled always. |
417 const char kEnableCompositingForTransition[] = | 414 const char kEnableCompositingForTransition[] = |
418 "enable-transition-compositing"; | 415 "enable-transition-compositing"; |
419 | 416 |
420 // Defer image decoding in WebKit until painting. | 417 // Defer image decoding in WebKit until painting. |
421 const char kEnableDeferredImageDecoding[] = "enable-deferred-image-decoding"; | 418 const char kEnableDeferredImageDecoding[] = "enable-deferred-image-decoding"; |
422 | 419 |
423 // Enables the deadline scheduler. | |
424 const char kEnableDeadlineScheduling[] = "enable-deadline-scheduling"; | |
425 | |
426 // Enables delegated renderer. | 420 // Enables delegated renderer. |
427 const char kEnableDelegatedRenderer[] = "enable-delegated-renderer"; | 421 const char kEnableDelegatedRenderer[] = "enable-delegated-renderer"; |
428 | 422 |
429 // Enables restarting interrupted downloads. | 423 // Enables restarting interrupted downloads. |
430 const char kEnableDownloadResumption[] = "enable-download-resumption"; | 424 const char kEnableDownloadResumption[] = "enable-download-resumption"; |
431 | 425 |
432 // Enables support for Encrypted Media Extensions (e.g. MediaKeys). | 426 // Enables support for Encrypted Media Extensions (e.g. MediaKeys). |
433 const char kEnableEncryptedMedia[] = "enable-encrypted-media"; | 427 const char kEnableEncryptedMedia[] = "enable-encrypted-media"; |
434 | 428 |
435 // Enable experimental canvas features, e.g. canvas 2D context attributes | 429 // Enable experimental canvas features, e.g. canvas 2D context attributes |
(...skipping 624 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1060 #endif | 1054 #endif |
1061 | 1055 |
1062 #if defined(OS_POSIX) | 1056 #if defined(OS_POSIX) |
1063 // Causes the child processes to cleanly exit via calling exit(). | 1057 // Causes the child processes to cleanly exit via calling exit(). |
1064 const char kChildCleanExit[] = "child-clean-exit"; | 1058 const char kChildCleanExit[] = "child-clean-exit"; |
1065 #endif | 1059 #endif |
1066 | 1060 |
1067 // Don't dump stuff here, follow the same order as the header. | 1061 // Don't dump stuff here, follow the same order as the header. |
1068 | 1062 |
1069 } // namespace switches | 1063 } // namespace switches |
OLD | NEW |