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 112 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
123 ::switches::kUIMaxFramesPending, | 123 ::switches::kUIMaxFramesPending, |
124 ::switches::kUIPrioritizeInGpuProcess, | 124 ::switches::kUIPrioritizeInGpuProcess, |
125 #if defined(USE_CRAS) | 125 #if defined(USE_CRAS) |
126 ::switches::kUseCras, | 126 ::switches::kUseCras, |
127 #endif | 127 #endif |
128 ::switches::kUseGL, | 128 ::switches::kUseGL, |
129 ::switches::kUserDataDir, | 129 ::switches::kUserDataDir, |
130 ::switches::kUseExynosVda, | 130 ::switches::kUseExynosVda, |
131 ::switches::kV, | 131 ::switches::kV, |
132 ::switches::kEnableWebGLDraftExtensions, | 132 ::switches::kEnableWebGLDraftExtensions, |
| 133 ash::switches::kAshDefaultGuestWallpaperLarge, |
| 134 ash::switches::kAshDefaultGuestWallpaperSmall, |
| 135 ash::switches::kAshDefaultWallpaperLarge, |
| 136 ash::switches::kAshDefaultWallpaperSmall, |
| 137 ash::switches::kAshDisableNewAudioHandler, |
| 138 ash::switches::kAshEnableAudioDeviceMenu, |
| 139 ash::switches::kAshHostWindowBounds, |
133 ash::switches::kAshTouchHud, | 140 ash::switches::kAshTouchHud, |
134 ash::switches::kAuraLegacyPowerButton, | 141 ash::switches::kAuraLegacyPowerButton, |
135 ash::switches::kAshDisableNewAudioHandler, | |
136 ash::switches::kAshEnableAudioDeviceMenu, | |
137 // Please keep these in alphabetical order. Non-UI Compositor switches | 142 // Please keep these in alphabetical order. Non-UI Compositor switches |
138 // here should also be added to | 143 // here should also be added to |
139 // content/browser/renderer_host/render_process_host_impl.cc. | 144 // content/browser/renderer_host/render_process_host_impl.cc. |
140 cc::switches::kBackgroundColorInsteadOfCheckerboard, | 145 cc::switches::kBackgroundColorInsteadOfCheckerboard, |
141 cc::switches::kCompositeToMailbox, | 146 cc::switches::kCompositeToMailbox, |
142 cc::switches::kDisableColorEstimator, | 147 cc::switches::kDisableColorEstimator, |
143 cc::switches::kDisableImplSidePainting, | 148 cc::switches::kDisableImplSidePainting, |
144 cc::switches::kDisableThreadedAnimation, | 149 cc::switches::kDisableThreadedAnimation, |
145 cc::switches::kEnableImplSidePainting, | 150 cc::switches::kEnableImplSidePainting, |
146 cc::switches::kEnablePartialSwap, | 151 cc::switches::kEnablePartialSwap, |
(...skipping 194 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
341 // Relaunch chrome without session manager on dev box. | 346 // Relaunch chrome without session manager on dev box. |
342 ReLaunch(command_line); | 347 ReLaunch(command_line); |
343 return; | 348 return; |
344 } | 349 } |
345 | 350 |
346 // ChromeRestartRequest deletes itself after request sent to session manager. | 351 // ChromeRestartRequest deletes itself after request sent to session manager. |
347 (new ChromeRestartRequest(command_line))->Start(); | 352 (new ChromeRestartRequest(command_line))->Start(); |
348 } | 353 } |
349 | 354 |
350 } // namespace chromeos | 355 } // namespace chromeos |
OLD | NEW |