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