| 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 126 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 137 ash::switches::kAshDisableNewAudioHandler, | 137 ash::switches::kAshDisableNewAudioHandler, |
| 138 ash::switches::kAshEnableAudioDeviceMenu, | 138 ash::switches::kAshEnableAudioDeviceMenu, |
| 139 ash::switches::kAshHostWindowBounds, | 139 ash::switches::kAshHostWindowBounds, |
| 140 ash::switches::kAshTouchHud, | 140 ash::switches::kAshTouchHud, |
| 141 ash::switches::kAuraLegacyPowerButton, | 141 ash::switches::kAuraLegacyPowerButton, |
| 142 // Please keep these in alphabetical order. Non-UI Compositor switches | 142 // Please keep these in alphabetical order. Non-UI Compositor switches |
| 143 // here should also be added to | 143 // here should also be added to |
| 144 // content/browser/renderer_host/render_process_host_impl.cc. | 144 // content/browser/renderer_host/render_process_host_impl.cc. |
| 145 cc::switches::kBackgroundColorInsteadOfCheckerboard, | 145 cc::switches::kBackgroundColorInsteadOfCheckerboard, |
| 146 cc::switches::kCompositeToMailbox, | 146 cc::switches::kCompositeToMailbox, |
| 147 cc::switches::kDisableColorEstimator, | |
| 148 cc::switches::kDisableImplSidePainting, | 147 cc::switches::kDisableImplSidePainting, |
| 149 cc::switches::kDisableThreadedAnimation, | 148 cc::switches::kDisableThreadedAnimation, |
| 150 cc::switches::kEnableImplSidePainting, | 149 cc::switches::kEnableImplSidePainting, |
| 151 cc::switches::kEnablePartialSwap, | 150 cc::switches::kEnablePartialSwap, |
| 152 cc::switches::kEnablePerTilePainting, | 151 cc::switches::kEnablePerTilePainting, |
| 153 cc::switches::kEnablePinchVirtualViewport, | 152 cc::switches::kEnablePinchVirtualViewport, |
| 154 cc::switches::kEnableTopControlsPositionCalculation, | 153 cc::switches::kEnableTopControlsPositionCalculation, |
| 155 cc::switches::kForceDirectLayerDrawing, | 154 cc::switches::kForceDirectLayerDrawing, |
| 156 cc::switches::kLowResolutionContentsScaleFactor, | 155 cc::switches::kLowResolutionContentsScaleFactor, |
| 157 cc::switches::kMaxTilesForInterestArea, | 156 cc::switches::kMaxTilesForInterestArea, |
| (...skipping 188 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 346 // Relaunch chrome without session manager on dev box. | 345 // Relaunch chrome without session manager on dev box. |
| 347 ReLaunch(command_line); | 346 ReLaunch(command_line); |
| 348 return; | 347 return; |
| 349 } | 348 } |
| 350 | 349 |
| 351 // ChromeRestartRequest deletes itself after request sent to session manager. | 350 // ChromeRestartRequest deletes itself after request sent to session manager. |
| 352 (new ChromeRestartRequest(command_line))->Start(); | 351 (new ChromeRestartRequest(command_line))->Start(); |
| 353 } | 352 } |
| 354 | 353 |
| 355 } // namespace chromeos | 354 } // namespace chromeos |
| OLD | NEW |