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