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 570 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
581 | 581 |
582 // Draws a FPS indicator | 582 // Draws a FPS indicator |
583 const char kShowFPSCounter[] = "show-fps-counter"; | 583 const char kShowFPSCounter[] = "show-fps-counter"; |
584 | 584 |
585 // Enables accelerated compositing for overflow scroll. Promotes eligible | 585 // Enables accelerated compositing for overflow scroll. Promotes eligible |
586 // overflow:scroll elements to layers to enable accelerated scrolling for them. | 586 // overflow:scroll elements to layers to enable accelerated scrolling for them. |
587 const char kEnableAcceleratedOverflowScroll[] = | 587 const char kEnableAcceleratedOverflowScroll[] = |
588 "enable-accelerated-overflow-scroll"; | 588 "enable-accelerated-overflow-scroll"; |
589 | 589 |
590 // Enables accelerated compositing for scrollable frames for accelerated | 590 // Enables accelerated compositing for scrollable frames for accelerated |
591 // scrolling for them. | 591 // scrolling for them. Requires kForceCompositingMode. |
592 const char kEnableAcceleratedScrollableFrames[] = | 592 const char kEnableAcceleratedScrollableFrames[] = |
593 "enable-accelerated-scrollable-frames"; | 593 "enable-accelerated-scrollable-frames"; |
594 | 594 |
| 595 // Enables accelerated scrolling by the compositor for frames. Requires |
| 596 // kForceCompositingMode and kEnableAcceleratedScrollableFrames. |
| 597 const char kEnableCompositedScrollingForFrames[] = |
| 598 "enable-composited-scrolling-for-frames"; |
| 599 |
595 // Visibly render a border around paint rects in the web page to help debug | 600 // Visibly render a border around paint rects in the web page to help debug |
596 // and study painting behavior. | 601 // and study painting behavior. |
597 const char kShowPaintRects[] = "show-paint-rects"; | 602 const char kShowPaintRects[] = "show-paint-rects"; |
598 | 603 |
599 // Map mouse input events into touch gesture events. Useful for debugging touch | 604 // Map mouse input events into touch gesture events. Useful for debugging touch |
600 // gestures without needing a touchscreen. | 605 // gestures without needing a touchscreen. |
601 const char kSimulateTouchScreenWithMouse[] = | 606 const char kSimulateTouchScreenWithMouse[] = |
602 "simulate-touch-screen-with-mouse"; | 607 "simulate-touch-screen-with-mouse"; |
603 | 608 |
604 // Runs the renderer and plugins in the same process as the browser | 609 // Runs the renderer and plugins in the same process as the browser |
(...skipping 156 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
761 = "disable-fixed-position-creates-stacking-context"; | 766 = "disable-fixed-position-creates-stacking-context"; |
762 | 767 |
763 // Defer image decoding in WebKit until painting. | 768 // Defer image decoding in WebKit until painting. |
764 const char kEnableDeferredImageDecoding[] = "enable-deferred-image-decoding"; | 769 const char kEnableDeferredImageDecoding[] = "enable-deferred-image-decoding"; |
765 | 770 |
766 // Enables history navigation in response to horizontal overscroll. | 771 // Enables history navigation in response to horizontal overscroll. |
767 const char kEnableOverscrollHistoryNavigation[] = | 772 const char kEnableOverscrollHistoryNavigation[] = |
768 "enable-overscroll-history-navigation"; | 773 "enable-overscroll-history-navigation"; |
769 | 774 |
770 } // namespace switches | 775 } // namespace switches |
OLD | NEW |