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/base_switches.h" | 10 #include "base/base_switches.h" |
(...skipping 171 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
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::kDisableCachedPictureRaster, | 190 cc::switches::kDisableCachedPictureRaster, |
191 cc::switches::kDisableCompositedAntialiasing, | 191 cc::switches::kDisableCompositedAntialiasing, |
| 192 cc::switches::kDisableCompositorPropertyTrees, |
192 cc::switches::kDisableMainFrameBeforeActivation, | 193 cc::switches::kDisableMainFrameBeforeActivation, |
193 cc::switches::kDisableThreadedAnimation, | 194 cc::switches::kDisableThreadedAnimation, |
194 cc::switches::kEnableBeginFrameScheduling, | 195 cc::switches::kEnableBeginFrameScheduling, |
195 cc::switches::kEnableCompositorPropertyTrees, | |
196 cc::switches::kEnableGpuBenchmarking, | 196 cc::switches::kEnableGpuBenchmarking, |
197 cc::switches::kEnablePropertyTreeVerification, | 197 cc::switches::kEnablePropertyTreeVerification, |
198 cc::switches::kEnableMainFrameBeforeActivation, | 198 cc::switches::kEnableMainFrameBeforeActivation, |
199 cc::switches::kShowCompositedLayerBorders, | 199 cc::switches::kShowCompositedLayerBorders, |
200 cc::switches::kShowFPSCounter, | 200 cc::switches::kShowFPSCounter, |
201 cc::switches::kShowLayerAnimationBounds, | 201 cc::switches::kShowLayerAnimationBounds, |
202 cc::switches::kShowPropertyChangedRects, | 202 cc::switches::kShowPropertyChangedRects, |
203 cc::switches::kShowReplicaScreenSpaceRects, | 203 cc::switches::kShowReplicaScreenSpaceRects, |
204 cc::switches::kShowScreenSpaceRects, | 204 cc::switches::kShowScreenSpaceRects, |
205 cc::switches::kShowSurfaceDamageRects, | 205 cc::switches::kShowSurfaceDamageRects, |
(...skipping 147 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
353 // Relaunch chrome without session manager on dev box. | 353 // Relaunch chrome without session manager on dev box. |
354 ReLaunch(command_line); | 354 ReLaunch(command_line); |
355 return; | 355 return; |
356 } | 356 } |
357 | 357 |
358 // ChromeRestartRequest deletes itself after request sent to session manager. | 358 // ChromeRestartRequest deletes itself after request sent to session manager. |
359 (new ChromeRestartRequest(command_line.argv()))->Start(); | 359 (new ChromeRestartRequest(command_line.argv()))->Start(); |
360 } | 360 } |
361 | 361 |
362 } // namespace chromeos | 362 } // namespace chromeos |
OLD | NEW |