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 157 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
168 // here should also be added to | 168 // here should also be added to |
169 // content/browser/renderer_host/render_process_host_impl.cc. | 169 // content/browser/renderer_host/render_process_host_impl.cc. |
170 cc::switches::kBackgroundColorInsteadOfCheckerboard, | 170 cc::switches::kBackgroundColorInsteadOfCheckerboard, |
171 cc::switches::kCompositeToMailbox, | 171 cc::switches::kCompositeToMailbox, |
172 cc::switches::kDisableCompositedAntialiasing, | 172 cc::switches::kDisableCompositedAntialiasing, |
173 cc::switches::kDisableCompositorTouchHitTesting, | 173 cc::switches::kDisableCompositorTouchHitTesting, |
174 cc::switches::kDisableGPURasterization, | 174 cc::switches::kDisableGPURasterization, |
175 cc::switches::kDisableImplSidePainting, | 175 cc::switches::kDisableImplSidePainting, |
176 cc::switches::kDisableMapImage, | 176 cc::switches::kDisableMapImage, |
177 cc::switches::kDisableThreadedAnimation, | 177 cc::switches::kDisableThreadedAnimation, |
| 178 cc::switches::kEnableGpuBenchmarking, |
178 cc::switches::kEnableGPURasterization, | 179 cc::switches::kEnableGPURasterization, |
179 cc::switches::kEnableImplSidePainting, | 180 cc::switches::kEnableImplSidePainting, |
180 cc::switches::kEnableMapImage, | 181 cc::switches::kEnableMapImage, |
181 cc::switches::kEnablePartialSwap, | 182 cc::switches::kEnablePartialSwap, |
182 cc::switches::kEnablePerTilePainting, | 183 cc::switches::kEnablePerTilePainting, |
183 cc::switches::kEnablePinchVirtualViewport, | 184 cc::switches::kEnablePinchVirtualViewport, |
184 cc::switches::kEnableTopControlsPositionCalculation, | 185 cc::switches::kEnableTopControlsPositionCalculation, |
185 cc::switches::kMaxTilesForInterestArea, | 186 cc::switches::kMaxTilesForInterestArea, |
186 cc::switches::kMaxUnusedResourceMemoryUsagePercentage, | 187 cc::switches::kMaxUnusedResourceMemoryUsagePercentage, |
187 cc::switches::kShowCompositedLayerBorders, | 188 cc::switches::kShowCompositedLayerBorders, |
(...skipping 185 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
373 // Relaunch chrome without session manager on dev box. | 374 // Relaunch chrome without session manager on dev box. |
374 ReLaunch(command_line); | 375 ReLaunch(command_line); |
375 return; | 376 return; |
376 } | 377 } |
377 | 378 |
378 // ChromeRestartRequest deletes itself after request sent to session manager. | 379 // ChromeRestartRequest deletes itself after request sent to session manager. |
379 (new ChromeRestartRequest(command_line))->Start(); | 380 (new ChromeRestartRequest(command_line))->Start(); |
380 } | 381 } |
381 | 382 |
382 } // namespace chromeos | 383 } // namespace chromeos |
OLD | NEW |