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/command_line.h" | 10 #include "base/command_line.h" |
(...skipping 160 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
171 cc::switches::kDisableCompositorTouchHitTesting, | 171 cc::switches::kDisableCompositorTouchHitTesting, |
172 cc::switches::kDisableGPURasterization, | 172 cc::switches::kDisableGPURasterization, |
173 cc::switches::kDisableImplSidePainting, | 173 cc::switches::kDisableImplSidePainting, |
174 cc::switches::kDisableMapImage, | 174 cc::switches::kDisableMapImage, |
175 cc::switches::kDisableThreadedAnimation, | 175 cc::switches::kDisableThreadedAnimation, |
176 cc::switches::kEnableGpuBenchmarking, | 176 cc::switches::kEnableGpuBenchmarking, |
177 cc::switches::kEnableGPURasterization, | 177 cc::switches::kEnableGPURasterization, |
178 cc::switches::kEnableImplSidePainting, | 178 cc::switches::kEnableImplSidePainting, |
179 cc::switches::kEnableMapImage, | 179 cc::switches::kEnableMapImage, |
180 cc::switches::kEnablePartialSwap, | 180 cc::switches::kEnablePartialSwap, |
181 cc::switches::kEnablePerTilePainting, | |
182 cc::switches::kEnablePinchVirtualViewport, | 181 cc::switches::kEnablePinchVirtualViewport, |
183 cc::switches::kEnableTopControlsPositionCalculation, | 182 cc::switches::kEnableTopControlsPositionCalculation, |
184 cc::switches::kMaxTilesForInterestArea, | 183 cc::switches::kMaxTilesForInterestArea, |
185 cc::switches::kMaxUnusedResourceMemoryUsagePercentage, | 184 cc::switches::kMaxUnusedResourceMemoryUsagePercentage, |
186 cc::switches::kShowCompositedLayerBorders, | 185 cc::switches::kShowCompositedLayerBorders, |
187 cc::switches::kShowFPSCounter, | 186 cc::switches::kShowFPSCounter, |
188 cc::switches::kShowLayerAnimationBounds, | 187 cc::switches::kShowLayerAnimationBounds, |
189 cc::switches::kShowNonOccludingRects, | 188 cc::switches::kShowNonOccludingRects, |
190 cc::switches::kShowOccludingRects, | 189 cc::switches::kShowOccludingRects, |
191 cc::switches::kShowPropertyChangedRects, | 190 cc::switches::kShowPropertyChangedRects, |
192 cc::switches::kShowReplicaScreenSpaceRects, | 191 cc::switches::kShowReplicaScreenSpaceRects, |
193 cc::switches::kShowScreenSpaceRects, | 192 cc::switches::kShowScreenSpaceRects, |
194 cc::switches::kShowSurfaceDamageRects, | 193 cc::switches::kShowSurfaceDamageRects, |
195 cc::switches::kSlowDownRasterScaleFactor, | 194 cc::switches::kSlowDownRasterScaleFactor, |
196 cc::switches::kTraceOverdraw, | 195 cc::switches::kTraceOverdraw, |
197 cc::switches::kUIDisablePartialSwap, | 196 cc::switches::kUIDisablePartialSwap, |
198 cc::switches::kUIEnablePerTilePainting, | |
199 chromeos::switches::kDbusStub, | 197 chromeos::switches::kDbusStub, |
200 chromeos::switches::kDisableLoginAnimations, | 198 chromeos::switches::kDisableLoginAnimations, |
201 chromeos::switches::kDisableOobeAnimation, | 199 chromeos::switches::kDisableOobeAnimation, |
202 chromeos::switches::kGpuSandboxFailuresNonfatal, | 200 chromeos::switches::kGpuSandboxFailuresNonfatal, |
203 chromeos::switches::kHasChromeOSDiamondKey, | 201 chromeos::switches::kHasChromeOSDiamondKey, |
204 chromeos::switches::kHasChromeOSKeyboard, | 202 chromeos::switches::kHasChromeOSKeyboard, |
205 chromeos::switches::kLoginProfile, | 203 chromeos::switches::kLoginProfile, |
206 chromeos::switches::kNaturalScrollDefault, | 204 chromeos::switches::kNaturalScrollDefault, |
207 ::switches::kEnableBrowserTextSubpixelPositioning, | 205 ::switches::kEnableBrowserTextSubpixelPositioning, |
208 ::switches::kEnableWebkitTextSubpixelPositioning, | 206 ::switches::kEnableWebkitTextSubpixelPositioning, |
(...skipping 163 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
372 // Relaunch chrome without session manager on dev box. | 370 // Relaunch chrome without session manager on dev box. |
373 ReLaunch(command_line); | 371 ReLaunch(command_line); |
374 return; | 372 return; |
375 } | 373 } |
376 | 374 |
377 // ChromeRestartRequest deletes itself after request sent to session manager. | 375 // ChromeRestartRequest deletes itself after request sent to session manager. |
378 (new ChromeRestartRequest(command_line))->Start(); | 376 (new ChromeRestartRequest(command_line))->Start(); |
379 } | 377 } |
380 | 378 |
381 } // namespace chromeos | 379 } // namespace chromeos |
OLD | NEW |