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