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/common/ash_switches.h" | 9 #include "ash/common/ash_switches.h" |
10 #include "base/base_switches.h" | 10 #include "base/base_switches.h" |
(...skipping 169 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
180 ash::switches::kAshHostWindowBounds, | 180 ash::switches::kAshHostWindowBounds, |
181 ash::switches::kAshTouchHud, | 181 ash::switches::kAshTouchHud, |
182 ash::switches::kAuraLegacyPowerButton, | 182 ash::switches::kAuraLegacyPowerButton, |
183 chromeos::switches::kDefaultWallpaperLarge, | 183 chromeos::switches::kDefaultWallpaperLarge, |
184 chromeos::switches::kDefaultWallpaperSmall, | 184 chromeos::switches::kDefaultWallpaperSmall, |
185 chromeos::switches::kGuestWallpaperLarge, | 185 chromeos::switches::kGuestWallpaperLarge, |
186 chromeos::switches::kGuestWallpaperSmall, | 186 chromeos::switches::kGuestWallpaperSmall, |
187 // Please keep these in alphabetical order. Non-UI Compositor switches | 187 // Please keep these in alphabetical order. Non-UI Compositor switches |
188 // here should also be added to | 188 // here should also be added to |
189 // content/browser/renderer_host/render_process_host_impl.cc. | 189 // content/browser/renderer_host/render_process_host_impl.cc. |
190 cc::switches::kDisableBeginFrameScheduling, | |
191 cc::switches::kDisableCachedPictureRaster, | 190 cc::switches::kDisableCachedPictureRaster, |
192 cc::switches::kDisableCompositedAntialiasing, | 191 cc::switches::kDisableCompositedAntialiasing, |
193 cc::switches::kDisableMainFrameBeforeActivation, | 192 cc::switches::kDisableMainFrameBeforeActivation, |
194 cc::switches::kDisableThreadedAnimation, | 193 cc::switches::kDisableThreadedAnimation, |
| 194 cc::switches::kEnableBeginFrameScheduling, |
195 cc::switches::kEnableGpuBenchmarking, | 195 cc::switches::kEnableGpuBenchmarking, |
196 cc::switches::kEnableLayerLists, | 196 cc::switches::kEnableLayerLists, |
197 cc::switches::kEnableMainFrameBeforeActivation, | 197 cc::switches::kEnableMainFrameBeforeActivation, |
198 cc::switches::kShowCompositedLayerBorders, | 198 cc::switches::kShowCompositedLayerBorders, |
199 cc::switches::kShowFPSCounter, | 199 cc::switches::kShowFPSCounter, |
200 cc::switches::kShowLayerAnimationBounds, | 200 cc::switches::kShowLayerAnimationBounds, |
201 cc::switches::kShowPropertyChangedRects, | 201 cc::switches::kShowPropertyChangedRects, |
202 cc::switches::kShowReplicaScreenSpaceRects, | 202 cc::switches::kShowReplicaScreenSpaceRects, |
203 cc::switches::kShowScreenSpaceRects, | 203 cc::switches::kShowScreenSpaceRects, |
204 cc::switches::kShowSurfaceDamageRects, | 204 cc::switches::kShowSurfaceDamageRects, |
(...skipping 153 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
358 // Relaunch chrome without session manager on dev box. | 358 // Relaunch chrome without session manager on dev box. |
359 ReLaunch(command_line); | 359 ReLaunch(command_line); |
360 return; | 360 return; |
361 } | 361 } |
362 | 362 |
363 // ChromeRestartRequest deletes itself after request sent to session manager. | 363 // ChromeRestartRequest deletes itself after request sent to session manager. |
364 (new ChromeRestartRequest(command_line.argv()))->Start(); | 364 (new ChromeRestartRequest(command_line.argv()))->Start(); |
365 } | 365 } |
366 | 366 |
367 } // namespace chromeos | 367 } // namespace chromeos |
OLD | NEW |