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 140 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
151 ash::switches::kAuraLegacyPowerButton, | 151 ash::switches::kAuraLegacyPowerButton, |
152 // Please keep these in alphabetical order. Non-UI Compositor switches | 152 // Please keep these in alphabetical order. Non-UI Compositor switches |
153 // here should also be added to | 153 // here should also be added to |
154 // content/browser/renderer_host/render_process_host_impl.cc. | 154 // content/browser/renderer_host/render_process_host_impl.cc. |
155 cc::switches::kBackgroundColorInsteadOfCheckerboard, | 155 cc::switches::kBackgroundColorInsteadOfCheckerboard, |
156 cc::switches::kCompositeToMailbox, | 156 cc::switches::kCompositeToMailbox, |
157 cc::switches::kDisableCompositedAntialiasing, | 157 cc::switches::kDisableCompositedAntialiasing, |
158 cc::switches::kDisableImplSidePainting, | 158 cc::switches::kDisableImplSidePainting, |
159 cc::switches::kDisableThreadedAnimation, | 159 cc::switches::kDisableThreadedAnimation, |
160 cc::switches::kEnableImplSidePainting, | 160 cc::switches::kEnableImplSidePainting, |
| 161 cc::switches::kEnableOverlayScrollbars, |
161 cc::switches::kEnablePartialSwap, | 162 cc::switches::kEnablePartialSwap, |
162 cc::switches::kEnablePerTilePainting, | 163 cc::switches::kEnablePerTilePainting, |
163 cc::switches::kEnablePinchVirtualViewport, | 164 cc::switches::kEnablePinchVirtualViewport, |
164 cc::switches::kEnableTopControlsPositionCalculation, | 165 cc::switches::kEnableTopControlsPositionCalculation, |
165 cc::switches::kForceDirectLayerDrawing, | 166 cc::switches::kForceDirectLayerDrawing, |
166 cc::switches::kLowResolutionContentsScaleFactor, | 167 cc::switches::kLowResolutionContentsScaleFactor, |
167 cc::switches::kMaxTilesForInterestArea, | 168 cc::switches::kMaxTilesForInterestArea, |
168 cc::switches::kMaxUnusedResourceMemoryUsagePercentage, | 169 cc::switches::kMaxUnusedResourceMemoryUsagePercentage, |
169 cc::switches::kNumRasterThreads, | 170 cc::switches::kNumRasterThreads, |
170 cc::switches::kShowCompositedLayerBorders, | 171 cc::switches::kShowCompositedLayerBorders, |
171 cc::switches::kShowFPSCounter, | 172 cc::switches::kShowFPSCounter, |
172 cc::switches::kShowNonOccludingRects, | 173 cc::switches::kShowNonOccludingRects, |
173 cc::switches::kShowOccludingRects, | 174 cc::switches::kShowOccludingRects, |
174 cc::switches::kShowPropertyChangedRects, | 175 cc::switches::kShowPropertyChangedRects, |
175 cc::switches::kShowReplicaScreenSpaceRects, | 176 cc::switches::kShowReplicaScreenSpaceRects, |
176 cc::switches::kShowScreenSpaceRects, | 177 cc::switches::kShowScreenSpaceRects, |
177 cc::switches::kShowSurfaceDamageRects, | 178 cc::switches::kShowSurfaceDamageRects, |
178 cc::switches::kSlowDownRasterScaleFactor, | 179 cc::switches::kSlowDownRasterScaleFactor, |
| 180 cc::switches::kSolidColorScrollbarColor, |
179 cc::switches::kTraceOverdraw, | 181 cc::switches::kTraceOverdraw, |
180 cc::switches::kUIDisablePartialSwap, | 182 cc::switches::kUIDisablePartialSwap, |
181 cc::switches::kUIEnablePerTilePainting, | 183 cc::switches::kUIEnablePerTilePainting, |
182 cc::switches::kUseMapImage, | 184 cc::switches::kUseMapImage, |
183 chromeos::switches::kDbusStub, | 185 chromeos::switches::kDbusStub, |
184 chromeos::switches::kDisableLoginAnimations, | 186 chromeos::switches::kDisableLoginAnimations, |
185 chromeos::switches::kDisableOobeAnimation, | 187 chromeos::switches::kDisableOobeAnimation, |
186 chromeos::switches::kHasChromeOSDiamondKey, | 188 chromeos::switches::kHasChromeOSDiamondKey, |
187 chromeos::switches::kHasChromeOSKeyboard, | 189 chromeos::switches::kHasChromeOSKeyboard, |
188 chromeos::switches::kLoginProfile, | 190 chromeos::switches::kLoginProfile, |
(...skipping 166 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
355 // Relaunch chrome without session manager on dev box. | 357 // Relaunch chrome without session manager on dev box. |
356 ReLaunch(command_line); | 358 ReLaunch(command_line); |
357 return; | 359 return; |
358 } | 360 } |
359 | 361 |
360 // ChromeRestartRequest deletes itself after request sent to session manager. | 362 // ChromeRestartRequest deletes itself after request sent to session manager. |
361 (new ChromeRestartRequest(command_line))->Start(); | 363 (new ChromeRestartRequest(command_line))->Start(); |
362 } | 364 } |
363 | 365 |
364 } // namespace chromeos | 366 } // namespace chromeos |
OLD | NEW |