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/command_line.h" | 10 #include "base/command_line.h" |
(...skipping 155 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
166 ::switches::kDisableWebRtcHWDecoding, | 166 ::switches::kDisableWebRtcHWDecoding, |
167 ::switches::kDisableWebRtcHWEncoding, | 167 ::switches::kDisableWebRtcHWEncoding, |
168 ::switches::kEnableWebRtcHWH264Encoding, | 168 ::switches::kEnableWebRtcHWH264Encoding, |
169 #endif | 169 #endif |
170 ::switches::kDisableVaapiAcceleratedVideoEncode, | 170 ::switches::kDisableVaapiAcceleratedVideoEncode, |
171 #if defined(USE_OZONE) | 171 #if defined(USE_OZONE) |
172 ::switches::kOzoneInitialDisplayBounds, | 172 ::switches::kOzoneInitialDisplayBounds, |
173 ::switches::kOzoneInitialDisplayPhysicalSizeMm, | 173 ::switches::kOzoneInitialDisplayPhysicalSizeMm, |
174 ::switches::kOzonePlatform, | 174 ::switches::kOzonePlatform, |
175 ::switches::kOzoneUseSurfaceless, | 175 ::switches::kOzoneUseSurfaceless, |
| 176 ::switches::kOzoneUseIntelDrm, |
176 #endif | 177 #endif |
177 app_list::switches::kDisableSyncAppList, | 178 app_list::switches::kDisableSyncAppList, |
178 app_list::switches::kEnableCenteredAppList, | 179 app_list::switches::kEnableCenteredAppList, |
179 app_list::switches::kEnableSyncAppList, | 180 app_list::switches::kEnableSyncAppList, |
180 ash::switches::kAshEnablePowerButtonQuickLock, | 181 ash::switches::kAshEnablePowerButtonQuickLock, |
181 ash::switches::kAshEnableUnifiedDesktop, | 182 ash::switches::kAshEnableUnifiedDesktop, |
182 ash::switches::kAshHostWindowBounds, | 183 ash::switches::kAshHostWindowBounds, |
183 ash::switches::kAshTouchHud, | 184 ash::switches::kAshTouchHud, |
184 ash::switches::kAuraLegacyPowerButton, | 185 ash::switches::kAuraLegacyPowerButton, |
185 chromeos::switches::kDefaultWallpaperLarge, | 186 chromeos::switches::kDefaultWallpaperLarge, |
(...skipping 169 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
355 // Relaunch chrome without session manager on dev box. | 356 // Relaunch chrome without session manager on dev box. |
356 ReLaunch(command_line); | 357 ReLaunch(command_line); |
357 return; | 358 return; |
358 } | 359 } |
359 | 360 |
360 // ChromeRestartRequest deletes itself after request sent to session manager. | 361 // ChromeRestartRequest deletes itself after request sent to session manager. |
361 (new ChromeRestartRequest(command_line.argv()))->Start(); | 362 (new ChromeRestartRequest(command_line.argv()))->Start(); |
362 } | 363 } |
363 | 364 |
364 } // namespace chromeos | 365 } // namespace chromeos |
OLD | NEW |