| 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 320 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 331 const char kUseFakeDeviceForMediaStream[] = "use-fake-device-for-media-stream"; | 331 const char kUseFakeDeviceForMediaStream[] = "use-fake-device-for-media-stream"; |
| 332 | 332 |
| 333 // On Windows, converts the page to the currently-installed monitor profile. | 333 // On Windows, converts the page to the currently-installed monitor profile. |
| 334 // This does NOT enable color management for images. The source is still | 334 // This does NOT enable color management for images. The source is still |
| 335 // assumed to be sRGB. | 335 // assumed to be sRGB. |
| 336 const char kEnableMonitorProfile[] = "enable-monitor-profile"; | 336 const char kEnableMonitorProfile[] = "enable-monitor-profile"; |
| 337 | 337 |
| 338 // Enables compositor-accelerated touch-screen pinch gestures. | 338 // Enables compositor-accelerated touch-screen pinch gestures. |
| 339 const char kEnablePinch[] = "enable-pinch"; | 339 const char kEnablePinch[] = "enable-pinch"; |
| 340 | 340 |
| 341 // Enables use of cache if offline, even if it's stale |
| 342 const char kEnableOfflineCacheAccess[] = "enable-offline-cache-access"; |
| 343 |
| 341 // Enable caching of pre-parsed JS script data. See http://crbug.com/32407. | 344 // Enable caching of pre-parsed JS script data. See http://crbug.com/32407. |
| 342 const char kEnablePreparsedJsCaching[] = "enable-preparsed-js-caching"; | 345 const char kEnablePreparsedJsCaching[] = "enable-preparsed-js-caching"; |
| 343 | 346 |
| 344 // Enable privileged WebGL extensions; without this switch such extensions are | 347 // Enable privileged WebGL extensions; without this switch such extensions are |
| 345 // available only to Chrome extensions. | 348 // available only to Chrome extensions. |
| 346 const char kEnablePrivilegedWebGLExtensions[] = | 349 const char kEnablePrivilegedWebGLExtensions[] = |
| 347 "enable-privileged-webgl-extensions"; | 350 "enable-privileged-webgl-extensions"; |
| 348 | 351 |
| 349 // Aggressively free GPU command buffers belonging to hidden tabs. | 352 // Aggressively free GPU command buffers belonging to hidden tabs. |
| 350 const char kEnablePruneGpuCommandBuffers[] = | 353 const char kEnablePruneGpuCommandBuffers[] = |
| (...skipping 414 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 765 const char kEnableDeferredImageDecoding[] = "enable-deferred-image-decoding"; | 768 const char kEnableDeferredImageDecoding[] = "enable-deferred-image-decoding"; |
| 766 | 769 |
| 767 // Use a vsync signal from the browser to the renderer to schedule rendering. | 770 // Use a vsync signal from the browser to the renderer to schedule rendering. |
| 768 const char kEnableVsyncNotification[] = "enable-vsync-notification"; | 771 const char kEnableVsyncNotification[] = "enable-vsync-notification"; |
| 769 | 772 |
| 770 // Disables history navigation in response to horizontal overscroll. | 773 // Disables history navigation in response to horizontal overscroll. |
| 771 const char kDisableOverscrollHistoryNavigation[] = | 774 const char kDisableOverscrollHistoryNavigation[] = |
| 772 "disable-overscroll-history-navigation"; | 775 "disable-overscroll-history-navigation"; |
| 773 | 776 |
| 774 } // namespace switches | 777 } // namespace switches |
| OLD | NEW |