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::kCompositeToMailbox, | 135 cc::switches::kCompositeToMailbox, |
136 cc::switches::kDisableColorEstimator, | 136 cc::switches::kDisableColorEstimator, |
137 cc::switches::kDisableImplSidePainting, | 137 cc::switches::kDisableImplSidePainting, |
138 cc::switches::kDisableThreadedAnimation, | 138 cc::switches::kDisableThreadedAnimation, |
139 cc::switches::kEnableCompositorFrameMessage, | 139 cc::switches::kEnableCompositorFrameMessage, |
140 cc::switches::kEnableImplSidePainting, | 140 cc::switches::kEnableImplSidePainting, |
141 cc::switches::kEnablePartialSwap, | 141 cc::switches::kEnablePartialSwap, |
142 cc::switches::kEnablePerTilePainting, | 142 cc::switches::kEnablePerTilePainting, |
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 180 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 |