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