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 174 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
185 // here should also be added to | 185 // here should also be added to |
186 // content/browser/renderer_host/render_process_host_impl.cc. | 186 // content/browser/renderer_host/render_process_host_impl.cc. |
187 cc::switches::kCompositeToMailbox, | 187 cc::switches::kCompositeToMailbox, |
188 cc::switches::kDisableCompositedAntialiasing, | 188 cc::switches::kDisableCompositedAntialiasing, |
189 cc::switches::kDisableMainFrameBeforeActivation, | 189 cc::switches::kDisableMainFrameBeforeActivation, |
190 cc::switches::kDisableThreadedAnimation, | 190 cc::switches::kDisableThreadedAnimation, |
191 cc::switches::kEnableBeginFrameScheduling, | 191 cc::switches::kEnableBeginFrameScheduling, |
192 cc::switches::kEnableGpuBenchmarking, | 192 cc::switches::kEnableGpuBenchmarking, |
193 cc::switches::kEnablePropertyTreeVerification, | 193 cc::switches::kEnablePropertyTreeVerification, |
194 cc::switches::kEnableMainFrameBeforeActivation, | 194 cc::switches::kEnableMainFrameBeforeActivation, |
| 195 cc::switches::kMaxTilesForInterestArea, |
195 cc::switches::kMaxUnusedResourceMemoryUsagePercentage, | 196 cc::switches::kMaxUnusedResourceMemoryUsagePercentage, |
196 cc::switches::kShowCompositedLayerBorders, | 197 cc::switches::kShowCompositedLayerBorders, |
197 cc::switches::kShowFPSCounter, | 198 cc::switches::kShowFPSCounter, |
198 cc::switches::kShowLayerAnimationBounds, | 199 cc::switches::kShowLayerAnimationBounds, |
199 cc::switches::kShowPropertyChangedRects, | 200 cc::switches::kShowPropertyChangedRects, |
200 cc::switches::kShowReplicaScreenSpaceRects, | 201 cc::switches::kShowReplicaScreenSpaceRects, |
201 cc::switches::kShowScreenSpaceRects, | 202 cc::switches::kShowScreenSpaceRects, |
202 cc::switches::kShowSurfaceDamageRects, | 203 cc::switches::kShowSurfaceDamageRects, |
203 cc::switches::kSlowDownRasterScaleFactor, | 204 cc::switches::kSlowDownRasterScaleFactor, |
204 cc::switches::kUIDisablePartialSwap, | 205 cc::switches::kUIDisablePartialSwap, |
(...skipping 172 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
377 // Relaunch chrome without session manager on dev box. | 378 // Relaunch chrome without session manager on dev box. |
378 ReLaunch(command_line); | 379 ReLaunch(command_line); |
379 return; | 380 return; |
380 } | 381 } |
381 | 382 |
382 // ChromeRestartRequest deletes itself after request sent to session manager. | 383 // ChromeRestartRequest deletes itself after request sent to session manager. |
383 (new ChromeRestartRequest(command_line))->Start(); | 384 (new ChromeRestartRequest(command_line))->Start(); |
384 } | 385 } |
385 | 386 |
386 } // namespace chromeos | 387 } // namespace chromeos |
OLD | NEW |