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 137 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
148 #endif | 148 #endif |
149 ash::switches::kAshHostWindowBounds, | 149 ash::switches::kAshHostWindowBounds, |
150 ash::switches::kAshTouchHud, | 150 ash::switches::kAshTouchHud, |
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::kDisableDeadlineScheduling, |
158 cc::switches::kDisableImplSidePainting, | 159 cc::switches::kDisableImplSidePainting, |
159 cc::switches::kDisableThreadedAnimation, | 160 cc::switches::kDisableThreadedAnimation, |
| 161 cc::switches::kEnableDeadlineScheduling, |
160 cc::switches::kEnableImplSidePainting, | 162 cc::switches::kEnableImplSidePainting, |
161 cc::switches::kEnablePartialSwap, | 163 cc::switches::kEnablePartialSwap, |
162 cc::switches::kEnablePerTilePainting, | 164 cc::switches::kEnablePerTilePainting, |
163 cc::switches::kEnablePinchVirtualViewport, | 165 cc::switches::kEnablePinchVirtualViewport, |
164 cc::switches::kEnableTopControlsPositionCalculation, | 166 cc::switches::kEnableTopControlsPositionCalculation, |
165 cc::switches::kForceDirectLayerDrawing, | 167 cc::switches::kForceDirectLayerDrawing, |
166 cc::switches::kLowResolutionContentsScaleFactor, | 168 cc::switches::kLowResolutionContentsScaleFactor, |
167 cc::switches::kMaxTilesForInterestArea, | 169 cc::switches::kMaxTilesForInterestArea, |
168 cc::switches::kMaxUnusedResourceMemoryUsagePercentage, | 170 cc::switches::kMaxUnusedResourceMemoryUsagePercentage, |
169 cc::switches::kNumRasterThreads, | 171 cc::switches::kNumRasterThreads, |
(...skipping 185 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 |