| 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 107 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 118 ::switches::kUseCras, | 118 ::switches::kUseCras, |
| 119 #endif | 119 #endif |
| 120 ::switches::kUseGL, | 120 ::switches::kUseGL, |
| 121 ::switches::kUserDataDir, | 121 ::switches::kUserDataDir, |
| 122 ::switches::kUseExynosVda, | 122 ::switches::kUseExynosVda, |
| 123 ash::switches::kAshTouchHud, | 123 ash::switches::kAshTouchHud, |
| 124 ash::switches::kAuraLegacyPowerButton, | 124 ash::switches::kAuraLegacyPowerButton, |
| 125 ash::switches::kAshDisableNewNetworkStatusArea, | 125 ash::switches::kAshDisableNewNetworkStatusArea, |
| 126 cc::switches::kDisableThreadedAnimation, | 126 cc::switches::kDisableThreadedAnimation, |
| 127 cc::switches::kEnablePartialSwap, | 127 cc::switches::kEnablePartialSwap, |
| 128 cc::switches::kEnablePinchZoomScrollbars, |
| 129 cc::switches::kDisablePinchZoomScrollbars, |
| 128 chromeos::switches::kDbusStub, | 130 chromeos::switches::kDbusStub, |
| 129 gfx::switches::kEnableBrowserTextSubpixelPositioning, | 131 gfx::switches::kEnableBrowserTextSubpixelPositioning, |
| 130 gfx::switches::kEnableWebkitTextSubpixelPositioning, | 132 gfx::switches::kEnableWebkitTextSubpixelPositioning, |
| 131 views::corewm::switches::kNoDropShadows, | 133 views::corewm::switches::kNoDropShadows, |
| 132 views::corewm::switches::kWindowAnimationsDisabled, | 134 views::corewm::switches::kWindowAnimationsDisabled, |
| 133 }; | 135 }; |
| 134 command_line->CopySwitchesFrom(base_command_line, | 136 command_line->CopySwitchesFrom(base_command_line, |
| 135 kForwardSwitches, | 137 kForwardSwitches, |
| 136 arraysize(kForwardSwitches)); | 138 arraysize(kForwardSwitches)); |
| 137 | 139 |
| (...skipping 169 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 307 // Relaunch chrome without session manager on dev box. | 309 // Relaunch chrome without session manager on dev box. |
| 308 ReLaunch(command_line); | 310 ReLaunch(command_line); |
| 309 return; | 311 return; |
| 310 } | 312 } |
| 311 | 313 |
| 312 // ChromeRestartRequest deletes itself after request sent to session manager. | 314 // ChromeRestartRequest deletes itself after request sent to session manager. |
| 313 (new ChromeRestartRequest(command_line))->Start(); | 315 (new ChromeRestartRequest(command_line))->Start(); |
| 314 } | 316 } |
| 315 | 317 |
| 316 } // namespace chromeos | 318 } // namespace chromeos |
| OLD | NEW |