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 317 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
328 // Enables the memory benchmarking extension | 328 // Enables the memory benchmarking extension |
329 const char kEnableMemoryBenchmarking[] = "enable-memory-benchmarking"; | 329 const char kEnableMemoryBenchmarking[] = "enable-memory-benchmarking"; |
330 | 330 |
331 // Force logging to be enabled. Logging is disabled by default in release | 331 // Force logging to be enabled. Logging is disabled by default in release |
332 // builds. | 332 // builds. |
333 const char kEnableLogging[] = "enable-logging"; | 333 const char kEnableLogging[] = "enable-logging"; |
334 | 334 |
335 // Disable Media Source API on <audio>/<video> elements. | 335 // Disable Media Source API on <audio>/<video> elements. |
336 const char kDisableMediaSource[] = "disable-media-source"; | 336 const char kDisableMediaSource[] = "disable-media-source"; |
337 | 337 |
338 // Disables using WebMediaPlayerMS for src of <audio>/<video> derived from | |
339 // media stream. | |
340 const char kDisableWebMediaPlayerMS[] = "disable-web-media-player-ms"; | |
341 | |
342 // Use fake device for MediaStream to replace actual camera and microphone. | 338 // Use fake device for MediaStream to replace actual camera and microphone. |
343 const char kUseFakeDeviceForMediaStream[] = "use-fake-device-for-media-stream"; | 339 const char kUseFakeDeviceForMediaStream[] = "use-fake-device-for-media-stream"; |
344 | 340 |
345 // On Windows, converts the page to the currently-installed monitor profile. | 341 // On Windows, converts the page to the currently-installed monitor profile. |
346 // This does NOT enable color management for images. The source is still | 342 // This does NOT enable color management for images. The source is still |
347 // assumed to be sRGB. | 343 // assumed to be sRGB. |
348 const char kEnableMonitorProfile[] = "enable-monitor-profile"; | 344 const char kEnableMonitorProfile[] = "enable-monitor-profile"; |
349 | 345 |
350 // Enables compositor-accelerated touch-screen pinch gestures. | 346 // Enables compositor-accelerated touch-screen pinch gestures. |
351 const char kEnablePinch[] = "enable-pinch"; | 347 const char kEnablePinch[] = "enable-pinch"; |
(...skipping 445 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
797 = "disable-fixed-position-creates-stacking-context"; | 793 = "disable-fixed-position-creates-stacking-context"; |
798 | 794 |
799 // Defer image decoding in WebKit until painting. | 795 // Defer image decoding in WebKit until painting. |
800 const char kEnableDeferredImageDecoding[] = "enable-deferred-image-decoding"; | 796 const char kEnableDeferredImageDecoding[] = "enable-deferred-image-decoding"; |
801 | 797 |
802 // Disables history navigation in response to horizontal overscroll. | 798 // Disables history navigation in response to horizontal overscroll. |
803 const char kDisableOverscrollHistoryNavigation[] = | 799 const char kDisableOverscrollHistoryNavigation[] = |
804 "disable-overscroll-history-navigation"; | 800 "disable-overscroll-history-navigation"; |
805 | 801 |
806 } // namespace switches | 802 } // namespace switches |
OLD | NEW |