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 156 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
167 // here should also be added to | 167 // here should also be added to |
168 // content/browser/renderer_host/render_process_host_impl.cc. | 168 // content/browser/renderer_host/render_process_host_impl.cc. |
169 cc::switches::kBackgroundColorInsteadOfCheckerboard, | 169 cc::switches::kBackgroundColorInsteadOfCheckerboard, |
170 cc::switches::kCompositeToMailbox, | 170 cc::switches::kCompositeToMailbox, |
171 cc::switches::kDisableCompositedAntialiasing, | 171 cc::switches::kDisableCompositedAntialiasing, |
172 cc::switches::kDisableCompositorTouchHitTesting, | 172 cc::switches::kDisableCompositorTouchHitTesting, |
173 cc::switches::kDisableGPURasterization, | 173 cc::switches::kDisableGPURasterization, |
174 cc::switches::kDisableImplSidePainting, | 174 cc::switches::kDisableImplSidePainting, |
175 cc::switches::kDisableMapImage, | 175 cc::switches::kDisableMapImage, |
176 cc::switches::kDisableThreadedAnimation, | 176 cc::switches::kDisableThreadedAnimation, |
177 cc::siwtches::kEnableGpuBenchmarking, | |
danakj
2014/02/04 19:16:27
"switches"
ernstm
2014/02/04 19:22:01
Good catch! Fixed.
BTW: Was kEnableGpuBenchmarkin
danakj
2014/02/04 19:28:14
Not AFAIK.
| |
177 cc::switches::kEnableGPURasterization, | 178 cc::switches::kEnableGPURasterization, |
178 cc::switches::kEnableImplSidePainting, | 179 cc::switches::kEnableImplSidePainting, |
179 cc::switches::kEnableMapImage, | 180 cc::switches::kEnableMapImage, |
180 cc::switches::kEnablePartialSwap, | 181 cc::switches::kEnablePartialSwap, |
181 cc::switches::kEnablePerTilePainting, | 182 cc::switches::kEnablePerTilePainting, |
182 cc::switches::kEnablePinchVirtualViewport, | 183 cc::switches::kEnablePinchVirtualViewport, |
183 cc::switches::kEnableTopControlsPositionCalculation, | 184 cc::switches::kEnableTopControlsPositionCalculation, |
184 cc::switches::kMaxTilesForInterestArea, | 185 cc::switches::kMaxTilesForInterestArea, |
185 cc::switches::kMaxUnusedResourceMemoryUsagePercentage, | 186 cc::switches::kMaxUnusedResourceMemoryUsagePercentage, |
186 cc::switches::kShowCompositedLayerBorders, | 187 cc::switches::kShowCompositedLayerBorders, |
(...skipping 185 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
372 // Relaunch chrome without session manager on dev box. | 373 // Relaunch chrome without session manager on dev box. |
373 ReLaunch(command_line); | 374 ReLaunch(command_line); |
374 return; | 375 return; |
375 } | 376 } |
376 | 377 |
377 // ChromeRestartRequest deletes itself after request sent to session manager. | 378 // ChromeRestartRequest deletes itself after request sent to session manager. |
378 (new ChromeRestartRequest(command_line))->Start(); | 379 (new ChromeRestartRequest(command_line))->Start(); |
379 } | 380 } |
380 | 381 |
381 } // namespace chromeos | 382 } // namespace chromeos |
OLD | NEW |