| 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 124 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 135 cc::switches::kDisableImplSidePainting, | 135 cc::switches::kDisableImplSidePainting, |
| 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::kEnableRightAlignedScheduling, | 143 cc::switches::kEnableRightAlignedScheduling, |
| 144 cc::switches::kEnableTopControlsPositionCalculation, | 144 cc::switches::kEnableTopControlsPositionCalculation, |
| 145 cc::switches::kForceDirectLayerDrawing, |
| 145 cc::switches::kLowResolutionContentsScaleFactor, | 146 cc::switches::kLowResolutionContentsScaleFactor, |
| 146 cc::switches::kMaxTilesForInterestArea, | 147 cc::switches::kMaxTilesForInterestArea, |
| 147 cc::switches::kMaxUnusedResourceMemoryUsagePercentage, | 148 cc::switches::kMaxUnusedResourceMemoryUsagePercentage, |
| 148 cc::switches::kNumRasterThreads, | 149 cc::switches::kNumRasterThreads, |
| 149 cc::switches::kShowCompositedLayerBorders, | 150 cc::switches::kShowCompositedLayerBorders, |
| 150 cc::switches::kShowCompositedLayerTree, | 151 cc::switches::kShowCompositedLayerTree, |
| 151 cc::switches::kShowFPSCounter, | 152 cc::switches::kShowFPSCounter, |
| 152 cc::switches::kShowNonOccludingRects, | 153 cc::switches::kShowNonOccludingRects, |
| 153 cc::switches::kShowOccludingRects, | 154 cc::switches::kShowOccludingRects, |
| 154 cc::switches::kShowPropertyChangedRects, | 155 cc::switches::kShowPropertyChangedRects, |
| (...skipping 179 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 334 // Relaunch chrome without session manager on dev box. | 335 // Relaunch chrome without session manager on dev box. |
| 335 ReLaunch(command_line); | 336 ReLaunch(command_line); |
| 336 return; | 337 return; |
| 337 } | 338 } |
| 338 | 339 |
| 339 // ChromeRestartRequest deletes itself after request sent to session manager. | 340 // ChromeRestartRequest deletes itself after request sent to session manager. |
| 340 (new ChromeRestartRequest(command_line))->Start(); | 341 (new ChromeRestartRequest(command_line))->Start(); |
| 341 } | 342 } |
| 342 | 343 |
| 343 } // namespace chromeos | 344 } // namespace chromeos |
| OLD | NEW |