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 namespace switches { | 7 namespace switches { |
8 | 8 |
9 // By default, file:// URIs cannot read other file:// URIs. This is an | 9 // By default, file:// URIs cannot read other file:// URIs. This is an |
10 // override for developers who need the old behavior for testing. | 10 // override for developers who need the old behavior for testing. |
(...skipping 307 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
318 // This does NOT enable color management for images. The source is still | 318 // This does NOT enable color management for images. The source is still |
319 // assumed to be sRGB. | 319 // assumed to be sRGB. |
320 const char kEnableMonitorProfile[] = "enable-monitor-profile"; | 320 const char kEnableMonitorProfile[] = "enable-monitor-profile"; |
321 | 321 |
322 // Enables compositor-accelerated touch-screen pinch gestures. | 322 // Enables compositor-accelerated touch-screen pinch gestures. |
323 const char kEnablePinch[] = "enable-pinch"; | 323 const char kEnablePinch[] = "enable-pinch"; |
324 | 324 |
325 // Enables Android-style touch-screen pinch gestures. | 325 // Enables Android-style touch-screen pinch gestures. |
326 const char kEnableCssTransformPinch[] = "enable-css-transform-pinch"; | 326 const char kEnableCssTransformPinch[] = "enable-css-transform-pinch"; |
327 | 327 |
| 328 // Enables use of cache if offline, even if it's stale |
| 329 const char kEnableOfflineCacheAccess[] = "enable-offline-cache-access"; |
| 330 |
328 // Enable caching of pre-parsed JS script data. See http://crbug.com/32407. | 331 // Enable caching of pre-parsed JS script data. See http://crbug.com/32407. |
329 const char kEnablePreparsedJsCaching[] = "enable-preparsed-js-caching"; | 332 const char kEnablePreparsedJsCaching[] = "enable-preparsed-js-caching"; |
330 | 333 |
331 // Enable privileged WebGL extensions; without this switch such extensions are | 334 // Enable privileged WebGL extensions; without this switch such extensions are |
332 // available only to Chrome extensions. | 335 // available only to Chrome extensions. |
333 const char kEnablePrivilegedWebGLExtensions[] = | 336 const char kEnablePrivilegedWebGLExtensions[] = |
334 "enable-privileged-webgl-extensions"; | 337 "enable-privileged-webgl-extensions"; |
335 | 338 |
336 // Aggressively free GPU command buffers belonging to hidden tabs. | 339 // Aggressively free GPU command buffers belonging to hidden tabs. |
337 const char kEnablePruneGpuCommandBuffers[] = | 340 const char kEnablePruneGpuCommandBuffers[] = |
(...skipping 428 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
766 = "disable-fixed-position-creates-stacking-context"; | 769 = "disable-fixed-position-creates-stacking-context"; |
767 | 770 |
768 // Defer image decoding in WebKit until painting. | 771 // Defer image decoding in WebKit until painting. |
769 const char kEnableDeferredImageDecoding[] = "enable-deferred-image-decoding"; | 772 const char kEnableDeferredImageDecoding[] = "enable-deferred-image-decoding"; |
770 | 773 |
771 // Enables history navigation in response to horizontal overscroll. | 774 // Enables history navigation in response to horizontal overscroll. |
772 const char kEnableOverscrollHistoryNavigation[] = | 775 const char kEnableOverscrollHistoryNavigation[] = |
773 "enable-overscroll-history-navigation"; | 776 "enable-overscroll-history-navigation"; |
774 | 777 |
775 } // namespace switches | 778 } // namespace switches |
OLD | NEW |