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 162 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
173 ash::switches::kAshTouchHud, | 173 ash::switches::kAshTouchHud, |
174 ash::switches::kAuraLegacyPowerButton, | 174 ash::switches::kAuraLegacyPowerButton, |
175 // Please keep these in alphabetical order. Non-UI Compositor switches | 175 // Please keep these in alphabetical order. Non-UI Compositor switches |
176 // here should also be added to | 176 // here should also be added to |
177 // content/browser/renderer_host/render_process_host_impl.cc. | 177 // content/browser/renderer_host/render_process_host_impl.cc. |
178 cc::switches::kCompositeToMailbox, | 178 cc::switches::kCompositeToMailbox, |
179 cc::switches::kDisableCompositedAntialiasing, | 179 cc::switches::kDisableCompositedAntialiasing, |
180 cc::switches::kDisableCompositorTouchHitTesting, | 180 cc::switches::kDisableCompositorTouchHitTesting, |
181 cc::switches::kDisableMainFrameBeforeActivation, | 181 cc::switches::kDisableMainFrameBeforeActivation, |
182 cc::switches::kDisableMainFrameBeforeDraw, | 182 cc::switches::kDisableMainFrameBeforeDraw, |
| 183 cc::switches::kDisablePinchVirtualViewport, |
183 cc::switches::kDisableThreadedAnimation, | 184 cc::switches::kDisableThreadedAnimation, |
184 cc::switches::kEnableGpuBenchmarking, | 185 cc::switches::kEnableGpuBenchmarking, |
185 cc::switches::kEnablePinchVirtualViewport, | 186 cc::switches::kEnablePinchVirtualViewport, |
186 cc::switches::kEnableMainFrameBeforeActivation, | 187 cc::switches::kEnableMainFrameBeforeActivation, |
187 cc::switches::kEnableTopControlsPositionCalculation, | 188 cc::switches::kEnableTopControlsPositionCalculation, |
188 cc::switches::kMaxTilesForInterestArea, | 189 cc::switches::kMaxTilesForInterestArea, |
189 cc::switches::kMaxUnusedResourceMemoryUsagePercentage, | 190 cc::switches::kMaxUnusedResourceMemoryUsagePercentage, |
190 cc::switches::kShowCompositedLayerBorders, | 191 cc::switches::kShowCompositedLayerBorders, |
191 cc::switches::kShowFPSCounter, | 192 cc::switches::kShowFPSCounter, |
192 cc::switches::kShowLayerAnimationBounds, | 193 cc::switches::kShowLayerAnimationBounds, |
(...skipping 178 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
371 // Relaunch chrome without session manager on dev box. | 372 // Relaunch chrome without session manager on dev box. |
372 ReLaunch(command_line); | 373 ReLaunch(command_line); |
373 return; | 374 return; |
374 } | 375 } |
375 | 376 |
376 // ChromeRestartRequest deletes itself after request sent to session manager. | 377 // ChromeRestartRequest deletes itself after request sent to session manager. |
377 (new ChromeRestartRequest(command_line))->Start(); | 378 (new ChromeRestartRequest(command_line))->Start(); |
378 } | 379 } |
379 | 380 |
380 } // namespace chromeos | 381 } // namespace chromeos |
OLD | NEW |