| 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 563 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 574 | 574 |
| 575 // Draws a textual dump of the compositor layer tree to help debug and study | 575 // Draws a textual dump of the compositor layer tree to help debug and study |
| 576 // layer compositing. | 576 // layer compositing. |
| 577 const char kShowCompositedLayerTree[] = "show-composited-layer-tree"; | 577 const char kShowCompositedLayerTree[] = "show-composited-layer-tree"; |
| 578 | 578 |
| 579 // Draws a FPS indicator | 579 // Draws a FPS indicator |
| 580 const char kShowFPSCounter[] = "show-fps-counter"; | 580 const char kShowFPSCounter[] = "show-fps-counter"; |
| 581 | 581 |
| 582 // Enables accelerated compositing for overflow scroll. Promotes eligible | 582 // Enables accelerated compositing for overflow scroll. Promotes eligible |
| 583 // overflow:scroll elements to layers to enable accelerated scrolling for them. | 583 // overflow:scroll elements to layers to enable accelerated scrolling for them. |
| 584 const char kEnableAcceleratedCompositingForOverflowScroll[] = | 584 const char kEnableAcceleratedOverflowScroll[] = |
| 585 "enable-accelerated-compositing-for-overflow-scroll"; | 585 "enable-accelerated-overflow-scroll"; |
| 586 |
| 587 // Enables accelerated compositing for scrollable frames for accelerated |
| 588 // scrolling for them. |
| 589 const char kEnableAcceleratedScrollableFrames[] = |
| 590 "enable-accelerated-scrollable-frames"; |
| 586 | 591 |
| 587 // Visibly render a border around paint rects in the web page to help debug | 592 // Visibly render a border around paint rects in the web page to help debug |
| 588 // and study painting behavior. | 593 // and study painting behavior. |
| 589 const char kShowPaintRects[] = "show-paint-rects"; | 594 const char kShowPaintRects[] = "show-paint-rects"; |
| 590 | 595 |
| 591 // Map mouse input events into touch gesture events. Useful for debugging touch | 596 // Map mouse input events into touch gesture events. Useful for debugging touch |
| 592 // gestures without needing a touchscreen. | 597 // gestures without needing a touchscreen. |
| 593 const char kSimulateTouchScreenWithMouse[] = | 598 const char kSimulateTouchScreenWithMouse[] = |
| 594 "simulate-touch-screen-with-mouse"; | 599 "simulate-touch-screen-with-mouse"; |
| 595 | 600 |
| (...skipping 160 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 756 = "disable-fixed-position-creates-stacking-context"; | 761 = "disable-fixed-position-creates-stacking-context"; |
| 757 | 762 |
| 758 // Defer image decoding in WebKit until painting. | 763 // Defer image decoding in WebKit until painting. |
| 759 const char kEnableDeferredImageDecoding[] = "enable-deferred-image-decoding"; | 764 const char kEnableDeferredImageDecoding[] = "enable-deferred-image-decoding"; |
| 760 | 765 |
| 761 // Enables history navigation in response to horizontal overscroll. | 766 // Enables history navigation in response to horizontal overscroll. |
| 762 const char kEnableOverscrollHistoryNavigation[] = | 767 const char kEnableOverscrollHistoryNavigation[] = |
| 763 "enable-overscroll-history-navigation"; | 768 "enable-overscroll-history-navigation"; |
| 764 | 769 |
| 765 } // namespace switches | 770 } // namespace switches |
| OLD | NEW |