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 #include "base/command_line.h" | 7 #include "base/command_line.h" |
8 | 8 |
9 namespace switches { | 9 namespace switches { |
10 | 10 |
(...skipping 772 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
783 | 783 |
784 // Enables or disables scroll end effect in response to vertical overscroll. | 784 // Enables or disables scroll end effect in response to vertical overscroll. |
785 // Set the value to '1' to enable the feature, and set to '0' to disable. | 785 // Set the value to '1' to enable the feature, and set to '0' to disable. |
786 // Defaults to disabled. | 786 // Defaults to disabled. |
787 const char kScrollEndEffect[] = "scroll-end-effect"; | 787 const char kScrollEndEffect[] = "scroll-end-effect"; |
788 | 788 |
789 // Visibly render a border around paint rects in the web page to help debug | 789 // Visibly render a border around paint rects in the web page to help debug |
790 // and study painting behavior. | 790 // and study painting behavior. |
791 const char kShowPaintRects[] = "show-paint-rects"; | 791 const char kShowPaintRects[] = "show-paint-rects"; |
792 | 792 |
793 // Map mouse input events into touch gesture events. Useful for debugging touch | |
794 // gestures without needing a touchscreen. | |
795 const char kSimulateTouchScreenWithMouse[] = | |
796 "simulate-touch-screen-with-mouse"; | |
797 | |
798 // Runs the renderer and plugins in the same process as the browser | 793 // Runs the renderer and plugins in the same process as the browser |
799 const char kSingleProcess[] = "single-process"; | 794 const char kSingleProcess[] = "single-process"; |
800 | 795 |
801 // Experimentally enforces a one-site-per-process security policy. | 796 // Experimentally enforces a one-site-per-process security policy. |
802 // All cross-site navigations force process swaps, and we can restrict a | 797 // All cross-site navigations force process swaps, and we can restrict a |
803 // renderer process's access rights based on its site. For details, see: | 798 // renderer process's access rights based on its site. For details, see: |
804 // http://www.chromium.org/developers/design-documents/site-isolation | 799 // http://www.chromium.org/developers/design-documents/site-isolation |
805 // | 800 // |
806 // Unlike --enable-strict-site-isolation (which allows cross-site iframes), | 801 // Unlike --enable-strict-site-isolation (which allows cross-site iframes), |
807 // this flag does not affect which cookies are attached to cross-site requests. | 802 // this flag does not affect which cookies are attached to cross-site requests. |
(...skipping 211 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1019 | 1014 |
1020 // Disables support for Core Animation plugins. This is triggered when | 1015 // Disables support for Core Animation plugins. This is triggered when |
1021 // accelerated compositing is disabled. See http://crbug.com/122430 . | 1016 // accelerated compositing is disabled. See http://crbug.com/122430 . |
1022 const char kDisableCoreAnimationPlugins[] = | 1017 const char kDisableCoreAnimationPlugins[] = |
1023 "disable-core-animation-plugins"; | 1018 "disable-core-animation-plugins"; |
1024 #endif | 1019 #endif |
1025 | 1020 |
1026 // Don't dump stuff here, follow the same order as the header. | 1021 // Don't dump stuff here, follow the same order as the header. |
1027 | 1022 |
1028 } // namespace switches | 1023 } // namespace switches |
OLD | NEW |