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 |
793 // Runs the renderer and plugins in the same process as the browser | 798 // Runs the renderer and plugins in the same process as the browser |
794 const char kSingleProcess[] = "single-process"; | 799 const char kSingleProcess[] = "single-process"; |
795 | 800 |
796 // Experimentally enforces a one-site-per-process security policy. | 801 // Experimentally enforces a one-site-per-process security policy. |
797 // All cross-site navigations force process swaps, and we can restrict a | 802 // All cross-site navigations force process swaps, and we can restrict a |
798 // renderer process's access rights based on its site. For details, see: | 803 // renderer process's access rights based on its site. For details, see: |
799 // http://www.chromium.org/developers/design-documents/site-isolation | 804 // http://www.chromium.org/developers/design-documents/site-isolation |
800 // | 805 // |
801 // Unlike --enable-strict-site-isolation (which allows cross-site iframes), | 806 // Unlike --enable-strict-site-isolation (which allows cross-site iframes), |
802 // this flag does not affect which cookies are attached to cross-site requests. | 807 // 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... |
1014 | 1019 |
1015 // Disables support for Core Animation plugins. This is triggered when | 1020 // Disables support for Core Animation plugins. This is triggered when |
1016 // accelerated compositing is disabled. See http://crbug.com/122430 . | 1021 // accelerated compositing is disabled. See http://crbug.com/122430 . |
1017 const char kDisableCoreAnimationPlugins[] = | 1022 const char kDisableCoreAnimationPlugins[] = |
1018 "disable-core-animation-plugins"; | 1023 "disable-core-animation-plugins"; |
1019 #endif | 1024 #endif |
1020 | 1025 |
1021 // Don't dump stuff here, follow the same order as the header. | 1026 // Don't dump stuff here, follow the same order as the header. |
1022 | 1027 |
1023 } // namespace switches | 1028 } // namespace switches |
OLD | NEW |