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 150 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
161 ash::switches::kAshHostWindowBounds, | 161 ash::switches::kAshHostWindowBounds, |
162 ash::switches::kAshTouchHud, | 162 ash::switches::kAshTouchHud, |
163 ash::switches::kAuraLegacyPowerButton, | 163 ash::switches::kAuraLegacyPowerButton, |
164 // Please keep these in alphabetical order. Non-UI Compositor switches | 164 // Please keep these in alphabetical order. Non-UI Compositor switches |
165 // here should also be added to | 165 // here should also be added to |
166 // content/browser/renderer_host/render_process_host_impl.cc. | 166 // content/browser/renderer_host/render_process_host_impl.cc. |
167 cc::switches::kBackgroundColorInsteadOfCheckerboard, | 167 cc::switches::kBackgroundColorInsteadOfCheckerboard, |
168 cc::switches::kCompositeToMailbox, | 168 cc::switches::kCompositeToMailbox, |
169 cc::switches::kDisableCompositedAntialiasing, | 169 cc::switches::kDisableCompositedAntialiasing, |
170 cc::switches::kDisableCompositorTouchHitTesting, | 170 cc::switches::kDisableCompositorTouchHitTesting, |
| 171 cc::switches::kDisableGPURasterization, |
171 cc::switches::kDisableImplSidePainting, | 172 cc::switches::kDisableImplSidePainting, |
172 cc::switches::kDisableMapImage, | 173 cc::switches::kDisableMapImage, |
173 cc::switches::kDisableThreadedAnimation, | 174 cc::switches::kDisableThreadedAnimation, |
174 cc::switches::kEnableGPURasterization, | 175 cc::switches::kEnableGPURasterization, |
175 cc::switches::kEnableImplSidePainting, | 176 cc::switches::kEnableImplSidePainting, |
176 cc::switches::kEnableMapImage, | 177 cc::switches::kEnableMapImage, |
177 cc::switches::kEnablePartialSwap, | 178 cc::switches::kEnablePartialSwap, |
178 cc::switches::kEnablePerTilePainting, | 179 cc::switches::kEnablePerTilePainting, |
179 cc::switches::kEnablePinchVirtualViewport, | 180 cc::switches::kEnablePinchVirtualViewport, |
180 cc::switches::kEnableTopControlsPositionCalculation, | 181 cc::switches::kEnableTopControlsPositionCalculation, |
(...skipping 188 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
369 // Relaunch chrome without session manager on dev box. | 370 // Relaunch chrome without session manager on dev box. |
370 ReLaunch(command_line); | 371 ReLaunch(command_line); |
371 return; | 372 return; |
372 } | 373 } |
373 | 374 |
374 // ChromeRestartRequest deletes itself after request sent to session manager. | 375 // ChromeRestartRequest deletes itself after request sent to session manager. |
375 (new ChromeRestartRequest(command_line))->Start(); | 376 (new ChromeRestartRequest(command_line))->Start(); |
376 } | 377 } |
377 | 378 |
378 } // namespace chromeos | 379 } // namespace chromeos |
OLD | NEW |