OLD | NEW |
1 // Copyright 2013 The Chromium Authors. All rights reserved. | 1 // Copyright 2013 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 "chrome/browser/chromeos/login/chrome_restart_request.h" | 5 #include "chrome/browser/chromeos/login/chrome_restart_request.h" |
6 | 6 |
7 #include <vector> | 7 #include <vector> |
8 | 8 |
9 #include "ash/ash_switches.h" | 9 #include "ash/ash_switches.h" |
10 #include "base/chromeos/chromeos_version.h" | 10 #include "base/chromeos/chromeos_version.h" |
(...skipping 112 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
123 ::switches::kV, | 123 ::switches::kV, |
124 ash::switches::kAshTouchHud, | 124 ash::switches::kAshTouchHud, |
125 ash::switches::kAuraLegacyPowerButton, | 125 ash::switches::kAuraLegacyPowerButton, |
126 ash::switches::kAshDisableNewNetworkStatusArea, | 126 ash::switches::kAshDisableNewNetworkStatusArea, |
127 // Please keep these in alphabetical order. Non-UI Compositor switches | 127 // Please keep these in alphabetical order. Non-UI Compositor switches |
128 // here should also be added to | 128 // here should also be added to |
129 // content/browser/renderer_host/render_process_host_impl.cc. | 129 // content/browser/renderer_host/render_process_host_impl.cc. |
130 cc::switches::kBackgroundColorInsteadOfCheckerboard, | 130 cc::switches::kBackgroundColorInsteadOfCheckerboard, |
131 cc::switches::kCompositeToMailbox, | 131 cc::switches::kCompositeToMailbox, |
132 cc::switches::kDisableCheapnessEstimator, | 132 cc::switches::kDisableCheapnessEstimator, |
133 cc::switches::kDisableColorEstimator, | |
134 cc::switches::kDisableImplSidePainting, | 133 cc::switches::kDisableImplSidePainting, |
135 cc::switches::kDisableThreadedAnimation, | 134 cc::switches::kDisableThreadedAnimation, |
136 cc::switches::kEnableCompositorFrameMessage, | 135 cc::switches::kEnableCompositorFrameMessage, |
137 cc::switches::kEnableImplSidePainting, | 136 cc::switches::kEnableImplSidePainting, |
138 cc::switches::kEnablePartialSwap, | 137 cc::switches::kEnablePartialSwap, |
139 cc::switches::kEnablePerTilePainting, | 138 cc::switches::kEnablePerTilePainting, |
140 cc::switches::kEnablePredictionBenchmarking, | 139 cc::switches::kEnablePredictionBenchmarking, |
141 cc::switches::kEnableRightAlignedScheduling, | 140 cc::switches::kEnableRightAlignedScheduling, |
142 cc::switches::kEnableTopControlsPositionCalculation, | 141 cc::switches::kEnableTopControlsPositionCalculation, |
143 cc::switches::kLowResolutionContentsScaleFactor, | 142 cc::switches::kLowResolutionContentsScaleFactor, |
144 cc::switches::kNumRasterThreads, | 143 cc::switches::kNumRasterThreads, |
145 cc::switches::kShowCompositedLayerBorders, | 144 cc::switches::kShowCompositedLayerBorders, |
146 cc::switches::kShowCompositedLayerTree, | 145 cc::switches::kShowCompositedLayerTree, |
147 cc::switches::kShowFPSCounter, | 146 cc::switches::kShowFPSCounter, |
148 cc::switches::kShowNonOccludingRects, | 147 cc::switches::kShowNonOccludingRects, |
149 cc::switches::kShowOccludingRects, | 148 cc::switches::kShowOccludingRects, |
150 cc::switches::kShowPropertyChangedRects, | 149 cc::switches::kShowPropertyChangedRects, |
151 cc::switches::kShowReplicaScreenSpaceRects, | 150 cc::switches::kShowReplicaScreenSpaceRects, |
152 cc::switches::kShowScreenSpaceRects, | 151 cc::switches::kShowScreenSpaceRects, |
153 cc::switches::kShowSurfaceDamageRects, | 152 cc::switches::kShowSurfaceDamageRects, |
154 cc::switches::kSlowDownRasterScaleFactor, | 153 cc::switches::kSlowDownRasterScaleFactor, |
155 cc::switches::kTraceAllRenderedFrames, | 154 cc::switches::kTraceAllRenderedFrames, |
156 cc::switches::kTraceOverdraw, | 155 cc::switches::kTraceOverdraw, |
| 156 cc::switches::kUseColorEstimator, |
157 cc::switches::kUIEnablePartialSwap, | 157 cc::switches::kUIEnablePartialSwap, |
158 cc::switches::kUIEnablePerTilePainting, | 158 cc::switches::kUIEnablePerTilePainting, |
159 chromeos::switches::kDbusStub, | 159 chromeos::switches::kDbusStub, |
160 gfx::switches::kEnableBrowserTextSubpixelPositioning, | 160 gfx::switches::kEnableBrowserTextSubpixelPositioning, |
161 gfx::switches::kEnableWebkitTextSubpixelPositioning, | 161 gfx::switches::kEnableWebkitTextSubpixelPositioning, |
162 views::corewm::switches::kNoDropShadows, | 162 views::corewm::switches::kNoDropShadows, |
163 views::corewm::switches::kWindowAnimationsDisabled, | 163 views::corewm::switches::kWindowAnimationsDisabled, |
164 }; | 164 }; |
165 command_line->CopySwitchesFrom(base_command_line, | 165 command_line->CopySwitchesFrom(base_command_line, |
166 kForwardSwitches, | 166 kForwardSwitches, |
(...skipping 157 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
324 // Relaunch chrome without session manager on dev box. | 324 // Relaunch chrome without session manager on dev box. |
325 ReLaunch(command_line); | 325 ReLaunch(command_line); |
326 return; | 326 return; |
327 } | 327 } |
328 | 328 |
329 // ChromeRestartRequest deletes itself after request sent to session manager. | 329 // ChromeRestartRequest deletes itself after request sent to session manager. |
330 (new ChromeRestartRequest(command_line))->Start(); | 330 (new ChromeRestartRequest(command_line))->Start(); |
331 } | 331 } |
332 | 332 |
333 } // namespace chromeos | 333 } // namespace chromeos |
OLD | NEW |