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