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 329 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
340 // Use fake device for MediaStream to replace actual camera and microphone. | 340 // Use fake device for MediaStream to replace actual camera and microphone. |
341 const char kUseFakeDeviceForMediaStream[] = "use-fake-device-for-media-stream"; | 341 const char kUseFakeDeviceForMediaStream[] = "use-fake-device-for-media-stream"; |
342 | 342 |
343 // On Windows, converts the page to the currently-installed monitor profile. | 343 // On Windows, converts the page to the currently-installed monitor profile. |
344 // This does NOT enable color management for images. The source is still | 344 // This does NOT enable color management for images. The source is still |
345 // assumed to be sRGB. | 345 // assumed to be sRGB. |
346 const char kEnableMonitorProfile[] = "enable-monitor-profile"; | 346 const char kEnableMonitorProfile[] = "enable-monitor-profile"; |
347 | 347 |
348 // Enables compositor-accelerated touch-screen pinch gestures. | 348 // Enables compositor-accelerated touch-screen pinch gestures. |
349 const char kEnablePinch[] = "enable-pinch"; | 349 const char kEnablePinch[] = "enable-pinch"; |
| 350 const char kDisablePinch[] = "disable-pinch"; |
350 | 351 |
351 // Enable caching of pre-parsed JS script data. See http://crbug.com/32407. | 352 // Enable caching of pre-parsed JS script data. See http://crbug.com/32407. |
352 const char kEnablePreparsedJsCaching[] = "enable-preparsed-js-caching"; | 353 const char kEnablePreparsedJsCaching[] = "enable-preparsed-js-caching"; |
353 | 354 |
354 // Enable privileged WebGL extensions; without this switch such extensions are | 355 // Enable privileged WebGL extensions; without this switch such extensions are |
355 // available only to Chrome extensions. | 356 // available only to Chrome extensions. |
356 const char kEnablePrivilegedWebGLExtensions[] = | 357 const char kEnablePrivilegedWebGLExtensions[] = |
357 "enable-privileged-webgl-extensions"; | 358 "enable-privileged-webgl-extensions"; |
358 | 359 |
359 // Aggressively free GPU command buffers belonging to hidden tabs. | 360 // Aggressively free GPU command buffers belonging to hidden tabs. |
(...skipping 436 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
796 = "disable-fixed-position-creates-stacking-context"; | 797 = "disable-fixed-position-creates-stacking-context"; |
797 | 798 |
798 // Defer image decoding in WebKit until painting. | 799 // Defer image decoding in WebKit until painting. |
799 const char kEnableDeferredImageDecoding[] = "enable-deferred-image-decoding"; | 800 const char kEnableDeferredImageDecoding[] = "enable-deferred-image-decoding"; |
800 | 801 |
801 // Disables history navigation in response to horizontal overscroll. | 802 // Disables history navigation in response to horizontal overscroll. |
802 const char kDisableOverscrollHistoryNavigation[] = | 803 const char kDisableOverscrollHistoryNavigation[] = |
803 "disable-overscroll-history-navigation"; | 804 "disable-overscroll-history-navigation"; |
804 | 805 |
805 } // namespace switches | 806 } // namespace switches |
OLD | NEW |