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 301 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
312 // Enable Text Service Framework(TSF) for text inputting instead of IMM32. This | 312 // Enable Text Service Framework(TSF) for text inputting instead of IMM32. This |
313 // flag is ignored on Metro environment. | 313 // flag is ignored on Metro environment. |
314 const char kEnableTextServicesFramework[] = "enable-text-services-framework"; | 314 const char kEnableTextServicesFramework[] = "enable-text-services-framework"; |
315 | 315 |
316 // Enable Gesture Tap Highlight | 316 // Enable Gesture Tap Highlight |
317 const char kEnableGestureTapHighlight[] = "enable-gesture-tap-highlight"; | 317 const char kEnableGestureTapHighlight[] = "enable-gesture-tap-highlight"; |
318 | 318 |
319 // Enables the GPU benchmarking extension | 319 // Enables the GPU benchmarking extension |
320 const char kEnableGpuBenchmarking[] = "enable-gpu-benchmarking"; | 320 const char kEnableGpuBenchmarking[] = "enable-gpu-benchmarking"; |
321 | 321 |
| 322 // Enables the memory benchmarking extension |
| 323 const char kEnableMemoryBenchmarking[] = "enable-memory-benchmarking"; |
| 324 |
322 // Force logging to be enabled. Logging is disabled by default in release | 325 // Force logging to be enabled. Logging is disabled by default in release |
323 // builds. | 326 // builds. |
324 const char kEnableLogging[] = "enable-logging"; | 327 const char kEnableLogging[] = "enable-logging"; |
325 | 328 |
326 // Disable Media Source API on <audio>/<video> elements. | 329 // Disable Media Source API on <audio>/<video> elements. |
327 const char kDisableMediaSource[] = "disable-media-source"; | 330 const char kDisableMediaSource[] = "disable-media-source"; |
328 | 331 |
329 // Disables using WebMediaPlayerMS for src of <audio>/<video> derived from | 332 // Disables using WebMediaPlayerMS for src of <audio>/<video> derived from |
330 // media stream. | 333 // media stream. |
331 const char kDisableWebMediaPlayerMS[] = "disable-web-media-player-ms"; | 334 const char kDisableWebMediaPlayerMS[] = "disable-web-media-player-ms"; |
(...skipping 459 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
791 = "disable-fixed-position-creates-stacking-context"; | 794 = "disable-fixed-position-creates-stacking-context"; |
792 | 795 |
793 // Defer image decoding in WebKit until painting. | 796 // Defer image decoding in WebKit until painting. |
794 const char kEnableDeferredImageDecoding[] = "enable-deferred-image-decoding"; | 797 const char kEnableDeferredImageDecoding[] = "enable-deferred-image-decoding"; |
795 | 798 |
796 // Disables history navigation in response to horizontal overscroll. | 799 // Disables history navigation in response to horizontal overscroll. |
797 const char kDisableOverscrollHistoryNavigation[] = | 800 const char kDisableOverscrollHistoryNavigation[] = |
798 "disable-overscroll-history-navigation"; | 801 "disable-overscroll-history-navigation"; |
799 | 802 |
800 } // namespace switches | 803 } // namespace switches |
OLD | NEW |