| 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 125 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 136 cc::switches::kDisablePinchZoomScrollbars, | 136 cc::switches::kDisablePinchZoomScrollbars, |
| 137 cc::switches::kDisableThreadedAnimation, | 137 cc::switches::kDisableThreadedAnimation, |
| 138 cc::switches::kEnableCompositorFrameMessage, | 138 cc::switches::kEnableCompositorFrameMessage, |
| 139 cc::switches::kEnableImplSidePainting, | 139 cc::switches::kEnableImplSidePainting, |
| 140 cc::switches::kEnablePartialSwap, | 140 cc::switches::kEnablePartialSwap, |
| 141 cc::switches::kEnablePerTilePainting, | 141 cc::switches::kEnablePerTilePainting, |
| 142 cc::switches::kEnablePinchZoomScrollbars, | 142 cc::switches::kEnablePinchZoomScrollbars, |
| 143 cc::switches::kEnablePredictionBenchmarking, | 143 cc::switches::kEnablePredictionBenchmarking, |
| 144 cc::switches::kEnableRightAlignedScheduling, | 144 cc::switches::kEnableRightAlignedScheduling, |
| 145 cc::switches::kEnableTopControlsPositionCalculation, | 145 cc::switches::kEnableTopControlsPositionCalculation, |
| 146 cc::switches::kForceDirectLayerDrawing, |
| 146 cc::switches::kLowResolutionContentsScaleFactor, | 147 cc::switches::kLowResolutionContentsScaleFactor, |
| 147 cc::switches::kMaxTilesForInterestArea, | 148 cc::switches::kMaxTilesForInterestArea, |
| 148 cc::switches::kMaxUnusedResourceMemoryUsagePercentage, | 149 cc::switches::kMaxUnusedResourceMemoryUsagePercentage, |
| 149 cc::switches::kNumRasterThreads, | 150 cc::switches::kNumRasterThreads, |
| 150 cc::switches::kShowCompositedLayerBorders, | 151 cc::switches::kShowCompositedLayerBorders, |
| 151 cc::switches::kShowCompositedLayerTree, | 152 cc::switches::kShowCompositedLayerTree, |
| 152 cc::switches::kShowFPSCounter, | 153 cc::switches::kShowFPSCounter, |
| 153 cc::switches::kShowNonOccludingRects, | 154 cc::switches::kShowNonOccludingRects, |
| 154 cc::switches::kShowOccludingRects, | 155 cc::switches::kShowOccludingRects, |
| 155 cc::switches::kShowPropertyChangedRects, | 156 cc::switches::kShowPropertyChangedRects, |
| (...skipping 179 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 335 // Relaunch chrome without session manager on dev box. | 336 // Relaunch chrome without session manager on dev box. |
| 336 ReLaunch(command_line); | 337 ReLaunch(command_line); |
| 337 return; | 338 return; |
| 338 } | 339 } |
| 339 | 340 |
| 340 // ChromeRestartRequest deletes itself after request sent to session manager. | 341 // ChromeRestartRequest deletes itself after request sent to session manager. |
| 341 (new ChromeRestartRequest(command_line))->Start(); | 342 (new ChromeRestartRequest(command_line))->Start(); |
| 342 } | 343 } |
| 343 | 344 |
| 344 } // namespace chromeos | 345 } // namespace chromeos |
| OLD | NEW |