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/browser/android/content_startup_flags.h" | 5 #include "content/browser/android/content_startup_flags.h" |
6 | 6 |
7 #include "base/base_switches.h" | 7 #include "base/base_switches.h" |
8 #include "base/command_line.h" | 8 #include "base/command_line.h" |
9 #include "base/logging.h" | 9 #include "base/logging.h" |
10 #include "base/strings/string_number_conversions.h" | 10 #include "base/strings/string_number_conversions.h" |
(...skipping 47 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
58 parsed_command_line->AppendSwitch(switches::kForceCompositingMode); | 58 parsed_command_line->AppendSwitch(switches::kForceCompositingMode); |
59 parsed_command_line->AppendSwitch(switches::kEnableThreadedCompositing); | 59 parsed_command_line->AppendSwitch(switches::kEnableThreadedCompositing); |
60 parsed_command_line->AppendSwitch( | 60 parsed_command_line->AppendSwitch( |
61 switches::kEnableCompositingForFixedPosition); | 61 switches::kEnableCompositingForFixedPosition); |
62 parsed_command_line->AppendSwitch(switches::kEnableAcceleratedOverflowScroll); | 62 parsed_command_line->AppendSwitch(switches::kEnableAcceleratedOverflowScroll); |
63 parsed_command_line->AppendSwitch( | 63 parsed_command_line->AppendSwitch( |
64 switches::kEnableAcceleratedScrollableFrames); | 64 switches::kEnableAcceleratedScrollableFrames); |
65 parsed_command_line->AppendSwitch( | 65 parsed_command_line->AppendSwitch( |
66 switches::kEnableCompositedScrollingForFrames); | 66 switches::kEnableCompositedScrollingForFrames); |
67 parsed_command_line->AppendSwitch(switches::kEnableBeginFrameScheduling); | 67 parsed_command_line->AppendSwitch(switches::kEnableBeginFrameScheduling); |
68 parsed_command_line->AppendSwitch(switches::kEnableDeadlineScheduling); | |
69 | 68 |
70 parsed_command_line->AppendSwitch(switches::kDisableGestureDebounce); | 69 parsed_command_line->AppendSwitch(switches::kDisableGestureDebounce); |
71 parsed_command_line->AppendSwitch(switches::kEnableGestureTapHighlight); | 70 parsed_command_line->AppendSwitch(switches::kEnableGestureTapHighlight); |
72 parsed_command_line->AppendSwitch(switches::kEnablePinch); | 71 parsed_command_line->AppendSwitch(switches::kEnablePinch); |
73 parsed_command_line->AppendSwitch(switches::kEnableOverlayFullscreenVideo); | 72 parsed_command_line->AppendSwitch(switches::kEnableOverlayFullscreenVideo); |
74 parsed_command_line->AppendSwitch(switches::kEnableOverlayScrollbar); | 73 parsed_command_line->AppendSwitch(switches::kEnableOverlayScrollbar); |
75 parsed_command_line->AppendSwitch(switches::kEnableOverscrollNotifications); | 74 parsed_command_line->AppendSwitch(switches::kEnableOverscrollNotifications); |
76 parsed_command_line->AppendSwitchASCII(switches::kTouchAckTimeoutDelayMs, | 75 parsed_command_line->AppendSwitchASCII(switches::kTouchAckTimeoutDelayMs, |
77 "200"); | 76 "200"); |
78 | 77 |
(...skipping 21 matching lines...) Expand all Loading... |
100 } | 99 } |
101 | 100 |
102 // Disable profiler timing by default. | 101 // Disable profiler timing by default. |
103 if (!parsed_command_line->HasSwitch(switches::kProfilerTiming)) { | 102 if (!parsed_command_line->HasSwitch(switches::kProfilerTiming)) { |
104 parsed_command_line->AppendSwitchASCII( | 103 parsed_command_line->AppendSwitchASCII( |
105 switches::kProfilerTiming, switches::kProfilerTimingDisabledValue); | 104 switches::kProfilerTiming, switches::kProfilerTimingDisabledValue); |
106 } | 105 } |
107 } | 106 } |
108 | 107 |
109 } // namespace content | 108 } // namespace content |
OLD | NEW |