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 165 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
176 cc::switches::kShowCompositedLayerBorders, | 176 cc::switches::kShowCompositedLayerBorders, |
177 cc::switches::kShowFPSCounter, | 177 cc::switches::kShowFPSCounter, |
178 cc::switches::kShowLayerAnimationBounds, | 178 cc::switches::kShowLayerAnimationBounds, |
179 cc::switches::kShowNonOccludingRects, | 179 cc::switches::kShowNonOccludingRects, |
180 cc::switches::kShowOccludingRects, | 180 cc::switches::kShowOccludingRects, |
181 cc::switches::kShowPropertyChangedRects, | 181 cc::switches::kShowPropertyChangedRects, |
182 cc::switches::kShowReplicaScreenSpaceRects, | 182 cc::switches::kShowReplicaScreenSpaceRects, |
183 cc::switches::kShowScreenSpaceRects, | 183 cc::switches::kShowScreenSpaceRects, |
184 cc::switches::kShowSurfaceDamageRects, | 184 cc::switches::kShowSurfaceDamageRects, |
185 cc::switches::kSlowDownRasterScaleFactor, | 185 cc::switches::kSlowDownRasterScaleFactor, |
186 cc::switches::kTraceOverdraw, | |
187 cc::switches::kUIDisablePartialSwap, | 186 cc::switches::kUIDisablePartialSwap, |
188 chromeos::switches::kDbusStub, | 187 chromeos::switches::kDbusStub, |
189 chromeos::switches::kDisableLoginAnimations, | 188 chromeos::switches::kDisableLoginAnimations, |
190 chromeos::switches::kDisableOobeAnimation, | 189 chromeos::switches::kDisableOobeAnimation, |
191 chromeos::switches::kHasChromeOSDiamondKey, | 190 chromeos::switches::kHasChromeOSDiamondKey, |
192 chromeos::switches::kHasChromeOSKeyboard, | 191 chromeos::switches::kHasChromeOSKeyboard, |
193 chromeos::switches::kLoginProfile, | 192 chromeos::switches::kLoginProfile, |
194 chromeos::switches::kNaturalScrollDefault, | 193 chromeos::switches::kNaturalScrollDefault, |
195 ::switches::kEnableBrowserTextSubpixelPositioning, | 194 ::switches::kEnableBrowserTextSubpixelPositioning, |
196 ::switches::kEnableWebkitTextSubpixelPositioning, | 195 ::switches::kEnableWebkitTextSubpixelPositioning, |
(...skipping 153 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
350 // Relaunch chrome without session manager on dev box. | 349 // Relaunch chrome without session manager on dev box. |
351 ReLaunch(command_line); | 350 ReLaunch(command_line); |
352 return; | 351 return; |
353 } | 352 } |
354 | 353 |
355 // ChromeRestartRequest deletes itself after request sent to session manager. | 354 // ChromeRestartRequest deletes itself after request sent to session manager. |
356 (new ChromeRestartRequest(command_line))->Start(); | 355 (new ChromeRestartRequest(command_line))->Start(); |
357 } | 356 } |
358 | 357 |
359 } // namespace chromeos | 358 } // namespace chromeos |
OLD | NEW |