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 181 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
192 // here should also be added to | 192 // here should also be added to |
193 // content/browser/renderer_host/render_process_host_impl.cc. | 193 // content/browser/renderer_host/render_process_host_impl.cc. |
194 cc::switches::kCompositeToMailbox, | 194 cc::switches::kCompositeToMailbox, |
195 cc::switches::kDisableCompositedAntialiasing, | 195 cc::switches::kDisableCompositedAntialiasing, |
196 cc::switches::kDisableMainFrameBeforeActivation, | 196 cc::switches::kDisableMainFrameBeforeActivation, |
197 cc::switches::kDisableThreadedAnimation, | 197 cc::switches::kDisableThreadedAnimation, |
198 cc::switches::kEnableBeginFrameScheduling, | 198 cc::switches::kEnableBeginFrameScheduling, |
199 cc::switches::kEnableGpuBenchmarking, | 199 cc::switches::kEnableGpuBenchmarking, |
200 cc::switches::kEnablePropertyTreeVerification, | 200 cc::switches::kEnablePropertyTreeVerification, |
201 cc::switches::kEnableMainFrameBeforeActivation, | 201 cc::switches::kEnableMainFrameBeforeActivation, |
202 cc::switches::kMaxTilesForInterestArea, | |
203 cc::switches::kMaxUnusedResourceMemoryUsagePercentage, | 202 cc::switches::kMaxUnusedResourceMemoryUsagePercentage, |
204 cc::switches::kShowCompositedLayerBorders, | 203 cc::switches::kShowCompositedLayerBorders, |
205 cc::switches::kShowFPSCounter, | 204 cc::switches::kShowFPSCounter, |
206 cc::switches::kShowLayerAnimationBounds, | 205 cc::switches::kShowLayerAnimationBounds, |
207 cc::switches::kShowPropertyChangedRects, | 206 cc::switches::kShowPropertyChangedRects, |
208 cc::switches::kShowReplicaScreenSpaceRects, | 207 cc::switches::kShowReplicaScreenSpaceRects, |
209 cc::switches::kShowScreenSpaceRects, | 208 cc::switches::kShowScreenSpaceRects, |
210 cc::switches::kShowSurfaceDamageRects, | 209 cc::switches::kShowSurfaceDamageRects, |
211 cc::switches::kSlowDownRasterScaleFactor, | 210 cc::switches::kSlowDownRasterScaleFactor, |
212 cc::switches::kUIDisablePartialSwap, | 211 cc::switches::kUIDisablePartialSwap, |
(...skipping 172 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
385 // Relaunch chrome without session manager on dev box. | 384 // Relaunch chrome without session manager on dev box. |
386 ReLaunch(command_line); | 385 ReLaunch(command_line); |
387 return; | 386 return; |
388 } | 387 } |
389 | 388 |
390 // ChromeRestartRequest deletes itself after request sent to session manager. | 389 // ChromeRestartRequest deletes itself after request sent to session manager. |
391 (new ChromeRestartRequest(command_line))->Start(); | 390 (new ChromeRestartRequest(command_line))->Start(); |
392 } | 391 } |
393 | 392 |
394 } // namespace chromeos | 393 } // namespace chromeos |
OLD | NEW |