| 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 138 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 149 #endif | 149 #endif |
| 150 ash::switches::kAshHostWindowBounds, | 150 ash::switches::kAshHostWindowBounds, |
| 151 ash::switches::kAshTouchHud, | 151 ash::switches::kAshTouchHud, |
| 152 ash::switches::kAuraLegacyPowerButton, | 152 ash::switches::kAuraLegacyPowerButton, |
| 153 // Please keep these in alphabetical order. Non-UI Compositor switches | 153 // Please keep these in alphabetical order. Non-UI Compositor switches |
| 154 // here should also be added to | 154 // here should also be added to |
| 155 // content/browser/renderer_host/render_process_host_impl.cc. | 155 // content/browser/renderer_host/render_process_host_impl.cc. |
| 156 cc::switches::kBackgroundColorInsteadOfCheckerboard, | 156 cc::switches::kBackgroundColorInsteadOfCheckerboard, |
| 157 cc::switches::kCompositeToMailbox, | 157 cc::switches::kCompositeToMailbox, |
| 158 cc::switches::kDisableCompositedAntialiasing, | 158 cc::switches::kDisableCompositedAntialiasing, |
| 159 cc::switches::kDisableDeadlineScheduling, |
| 159 cc::switches::kDisableImplSidePainting, | 160 cc::switches::kDisableImplSidePainting, |
| 160 cc::switches::kDisableMapImage, | 161 cc::switches::kDisableMapImage, |
| 161 cc::switches::kDisableThreadedAnimation, | 162 cc::switches::kDisableThreadedAnimation, |
| 163 cc::switches::kEnableDeadlineScheduling, |
| 162 cc::switches::kEnableImplSidePainting, | 164 cc::switches::kEnableImplSidePainting, |
| 163 cc::switches::kEnableMapImage, | 165 cc::switches::kEnableMapImage, |
| 164 cc::switches::kEnablePartialSwap, | 166 cc::switches::kEnablePartialSwap, |
| 165 cc::switches::kEnablePerTilePainting, | 167 cc::switches::kEnablePerTilePainting, |
| 166 cc::switches::kEnablePinchVirtualViewport, | 168 cc::switches::kEnablePinchVirtualViewport, |
| 167 cc::switches::kEnableTopControlsPositionCalculation, | 169 cc::switches::kEnableTopControlsPositionCalculation, |
| 168 cc::switches::kForceDirectLayerDrawing, | 170 cc::switches::kForceDirectLayerDrawing, |
| 169 cc::switches::kLowResolutionContentsScaleFactor, | 171 cc::switches::kLowResolutionContentsScaleFactor, |
| 170 cc::switches::kMaxTilesForInterestArea, | 172 cc::switches::kMaxTilesForInterestArea, |
| 171 cc::switches::kMaxUnusedResourceMemoryUsagePercentage, | 173 cc::switches::kMaxUnusedResourceMemoryUsagePercentage, |
| (...skipping 185 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 357 // Relaunch chrome without session manager on dev box. | 359 // Relaunch chrome without session manager on dev box. |
| 358 ReLaunch(command_line); | 360 ReLaunch(command_line); |
| 359 return; | 361 return; |
| 360 } | 362 } |
| 361 | 363 |
| 362 // ChromeRestartRequest deletes itself after request sent to session manager. | 364 // ChromeRestartRequest deletes itself after request sent to session manager. |
| 363 (new ChromeRestartRequest(command_line))->Start(); | 365 (new ChromeRestartRequest(command_line))->Start(); |
| 364 } | 366 } |
| 365 | 367 |
| 366 } // namespace chromeos | 368 } // namespace chromeos |
| OLD | NEW |