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 114 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
125 ash::switches::kAuraLegacyPowerButton, | 125 ash::switches::kAuraLegacyPowerButton, |
126 ash::switches::kAshDisableNewNetworkStatusArea, | 126 ash::switches::kAshDisableNewNetworkStatusArea, |
127 // Please keep these in alphabetical order. Non-UI Compositor switches | 127 // Please keep these in alphabetical order. Non-UI Compositor switches |
128 // here should also be added to | 128 // here should also be added to |
129 // content/browser/renderer_host/render_process_host_impl.cc. | 129 // content/browser/renderer_host/render_process_host_impl.cc. |
130 cc::switches::kBackgroundColorInsteadOfCheckerboard, | 130 cc::switches::kBackgroundColorInsteadOfCheckerboard, |
131 cc::switches::kCompositeToMailbox, | 131 cc::switches::kCompositeToMailbox, |
132 cc::switches::kDisableCheapnessEstimator, | 132 cc::switches::kDisableCheapnessEstimator, |
133 cc::switches::kDisableColorEstimator, | 133 cc::switches::kDisableColorEstimator, |
134 cc::switches::kDisableImplSidePainting, | 134 cc::switches::kDisableImplSidePainting, |
| 135 cc::switches::kDisablePinchZoomScrollbars, |
135 cc::switches::kDisableThreadedAnimation, | 136 cc::switches::kDisableThreadedAnimation, |
136 cc::switches::kEnableCompositorFrameMessage, | 137 cc::switches::kEnableCompositorFrameMessage, |
137 cc::switches::kEnableImplSidePainting, | 138 cc::switches::kEnableImplSidePainting, |
138 cc::switches::kEnablePartialSwap, | 139 cc::switches::kEnablePartialSwap, |
139 cc::switches::kEnablePerTilePainting, | 140 cc::switches::kEnablePerTilePainting, |
| 141 cc::switches::kEnablePinchZoomScrollbars, |
140 cc::switches::kEnablePredictionBenchmarking, | 142 cc::switches::kEnablePredictionBenchmarking, |
141 cc::switches::kEnableRightAlignedScheduling, | 143 cc::switches::kEnableRightAlignedScheduling, |
142 cc::switches::kEnableTopControlsPositionCalculation, | 144 cc::switches::kEnableTopControlsPositionCalculation, |
143 cc::switches::kLowResolutionContentsScaleFactor, | 145 cc::switches::kLowResolutionContentsScaleFactor, |
144 cc::switches::kMaxPrepaintTileDistance, | 146 cc::switches::kMaxPrepaintTileDistance, |
145 cc::switches::kMaxTilesForInterestArea, | 147 cc::switches::kMaxTilesForInterestArea, |
146 cc::switches::kMaxUnusedResourceMemoryUsagePercentage, | 148 cc::switches::kMaxUnusedResourceMemoryUsagePercentage, |
147 cc::switches::kNumRasterThreads, | 149 cc::switches::kNumRasterThreads, |
148 cc::switches::kShowCompositedLayerBorders, | 150 cc::switches::kShowCompositedLayerBorders, |
149 cc::switches::kShowCompositedLayerTree, | 151 cc::switches::kShowCompositedLayerTree, |
(...skipping 178 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
328 // Relaunch chrome without session manager on dev box. | 330 // Relaunch chrome without session manager on dev box. |
329 ReLaunch(command_line); | 331 ReLaunch(command_line); |
330 return; | 332 return; |
331 } | 333 } |
332 | 334 |
333 // ChromeRestartRequest deletes itself after request sent to session manager. | 335 // ChromeRestartRequest deletes itself after request sent to session manager. |
334 (new ChromeRestartRequest(command_line))->Start(); | 336 (new ChromeRestartRequest(command_line))->Start(); |
335 } | 337 } |
336 | 338 |
337 } // namespace chromeos | 339 } // namespace chromeos |
OLD | NEW |