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 115 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
126 ash::switches::kAshDisableNewAudioHandler, | 126 ash::switches::kAshDisableNewAudioHandler, |
127 ash::switches::kAshDisableNewNetworkStatusArea, | 127 ash::switches::kAshDisableNewNetworkStatusArea, |
128 ash::switches::kAshEnableAudioDeviceMenu, | 128 ash::switches::kAshEnableAudioDeviceMenu, |
129 // Please keep these in alphabetical order. Non-UI Compositor switches | 129 // Please keep these in alphabetical order. Non-UI Compositor switches |
130 // here should also be added to | 130 // here should also be added to |
131 // content/browser/renderer_host/render_process_host_impl.cc. | 131 // content/browser/renderer_host/render_process_host_impl.cc. |
132 cc::switches::kBackgroundColorInsteadOfCheckerboard, | 132 cc::switches::kBackgroundColorInsteadOfCheckerboard, |
133 cc::switches::kCompositeToMailbox, | 133 cc::switches::kCompositeToMailbox, |
134 cc::switches::kDisableColorEstimator, | 134 cc::switches::kDisableColorEstimator, |
135 cc::switches::kDisableImplSidePainting, | 135 cc::switches::kDisableImplSidePainting, |
136 cc::switches::kDisablePinchZoomScrollbars, | |
137 cc::switches::kDisableThreadedAnimation, | 136 cc::switches::kDisableThreadedAnimation, |
138 cc::switches::kEnableCompositorFrameMessage, | 137 cc::switches::kEnableCompositorFrameMessage, |
139 cc::switches::kEnableImplSidePainting, | 138 cc::switches::kEnableImplSidePainting, |
140 cc::switches::kEnablePartialSwap, | 139 cc::switches::kEnablePartialSwap, |
141 cc::switches::kEnablePerTilePainting, | 140 cc::switches::kEnablePerTilePainting, |
142 cc::switches::kEnablePinchZoomScrollbars, | |
143 cc::switches::kEnableRightAlignedScheduling, | 141 cc::switches::kEnableRightAlignedScheduling, |
144 cc::switches::kEnableTopControlsPositionCalculation, | 142 cc::switches::kEnableTopControlsPositionCalculation, |
145 cc::switches::kLowResolutionContentsScaleFactor, | 143 cc::switches::kLowResolutionContentsScaleFactor, |
146 cc::switches::kMaxTilesForInterestArea, | 144 cc::switches::kMaxTilesForInterestArea, |
147 cc::switches::kMaxUnusedResourceMemoryUsagePercentage, | 145 cc::switches::kMaxUnusedResourceMemoryUsagePercentage, |
148 cc::switches::kNumRasterThreads, | 146 cc::switches::kNumRasterThreads, |
149 cc::switches::kShowCompositedLayerBorders, | 147 cc::switches::kShowCompositedLayerBorders, |
150 cc::switches::kShowCompositedLayerTree, | 148 cc::switches::kShowCompositedLayerTree, |
151 cc::switches::kShowFPSCounter, | 149 cc::switches::kShowFPSCounter, |
152 cc::switches::kShowNonOccludingRects, | 150 cc::switches::kShowNonOccludingRects, |
(...skipping 181 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
334 // Relaunch chrome without session manager on dev box. | 332 // Relaunch chrome without session manager on dev box. |
335 ReLaunch(command_line); | 333 ReLaunch(command_line); |
336 return; | 334 return; |
337 } | 335 } |
338 | 336 |
339 // ChromeRestartRequest deletes itself after request sent to session manager. | 337 // ChromeRestartRequest deletes itself after request sent to session manager. |
340 (new ChromeRestartRequest(command_line))->Start(); | 338 (new ChromeRestartRequest(command_line))->Start(); |
341 } | 339 } |
342 | 340 |
343 } // namespace chromeos | 341 } // namespace chromeos |
OLD | NEW |