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/chromeos/chromeos_version.h" | 10 #include "base/chromeos/chromeos_version.h" |
(...skipping 114 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
125 ::switches::kV, | 125 ::switches::kV, |
126 ash::switches::kAshTouchHud, | 126 ash::switches::kAshTouchHud, |
127 ash::switches::kAuraLegacyPowerButton, | 127 ash::switches::kAuraLegacyPowerButton, |
128 ash::switches::kAshDisableNewNetworkStatusArea, | 128 ash::switches::kAshDisableNewNetworkStatusArea, |
129 ash::switches::kAshEnableNewAudioHandler, | 129 ash::switches::kAshEnableNewAudioHandler, |
130 // Please keep these in alphabetical order. Non-UI Compositor switches | 130 // Please keep these in alphabetical order. Non-UI Compositor switches |
131 // here should also be added to | 131 // here should also be added to |
132 // content/browser/renderer_host/render_process_host_impl.cc. | 132 // content/browser/renderer_host/render_process_host_impl.cc. |
133 cc::switches::kBackgroundColorInsteadOfCheckerboard, | 133 cc::switches::kBackgroundColorInsteadOfCheckerboard, |
134 cc::switches::kCompositeToMailbox, | 134 cc::switches::kCompositeToMailbox, |
135 cc::switches::kDisableCheapnessEstimator, | |
136 cc::switches::kDisableColorEstimator, | 135 cc::switches::kDisableColorEstimator, |
137 cc::switches::kDisableImplSidePainting, | 136 cc::switches::kDisableImplSidePainting, |
138 cc::switches::kDisablePinchZoomScrollbars, | 137 cc::switches::kDisablePinchZoomScrollbars, |
139 cc::switches::kDisableThreadedAnimation, | 138 cc::switches::kDisableThreadedAnimation, |
140 cc::switches::kEnableCompositorFrameMessage, | 139 cc::switches::kEnableCompositorFrameMessage, |
141 cc::switches::kEnableImplSidePainting, | 140 cc::switches::kEnableImplSidePainting, |
142 cc::switches::kEnablePartialSwap, | 141 cc::switches::kEnablePartialSwap, |
143 cc::switches::kEnablePerTilePainting, | 142 cc::switches::kEnablePerTilePainting, |
144 cc::switches::kEnablePinchZoomScrollbars, | 143 cc::switches::kEnablePinchZoomScrollbars, |
145 cc::switches::kEnablePredictionBenchmarking, | 144 cc::switches::kEnablePredictionBenchmarking, |
(...skipping 186 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
332 // Relaunch chrome without session manager on dev box. | 331 // Relaunch chrome without session manager on dev box. |
333 ReLaunch(command_line); | 332 ReLaunch(command_line); |
334 return; | 333 return; |
335 } | 334 } |
336 | 335 |
337 // ChromeRestartRequest deletes itself after request sent to session manager. | 336 // ChromeRestartRequest deletes itself after request sent to session manager. |
338 (new ChromeRestartRequest(command_line))->Start(); | 337 (new ChromeRestartRequest(command_line))->Start(); |
339 } | 338 } |
340 | 339 |
341 } // namespace chromeos | 340 } // namespace chromeos |
OLD | NEW |