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 153 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
164 // Please keep these in alphabetical order. Non-UI Compositor switches | 164 // Please keep these in alphabetical order. Non-UI Compositor switches |
165 // here should also be added to | 165 // here should also be added to |
166 // content/browser/renderer_host/render_process_host_impl.cc. | 166 // content/browser/renderer_host/render_process_host_impl.cc. |
167 cc::switches::kBackgroundColorInsteadOfCheckerboard, | 167 cc::switches::kBackgroundColorInsteadOfCheckerboard, |
168 cc::switches::kCompositeToMailbox, | 168 cc::switches::kCompositeToMailbox, |
169 cc::switches::kDisableCompositedAntialiasing, | 169 cc::switches::kDisableCompositedAntialiasing, |
170 cc::switches::kDisableCompositorTouchHitTesting, | 170 cc::switches::kDisableCompositorTouchHitTesting, |
171 cc::switches::kDisableGPURasterization, | 171 cc::switches::kDisableGPURasterization, |
172 cc::switches::kDisableImplSidePainting, | 172 cc::switches::kDisableImplSidePainting, |
173 cc::switches::kDisableMapImage, | 173 cc::switches::kDisableMapImage, |
| 174 cc::switches::kDisableStartCommitBeforeActivate, |
| 175 cc::switches::kDisableStartCommitBeforeDraw, |
174 cc::switches::kDisableThreadedAnimation, | 176 cc::switches::kDisableThreadedAnimation, |
175 cc::switches::kEnableGPURasterization, | 177 cc::switches::kEnableGPURasterization, |
176 cc::switches::kEnableImplSidePainting, | 178 cc::switches::kEnableImplSidePainting, |
177 cc::switches::kEnableMapImage, | 179 cc::switches::kEnableMapImage, |
178 cc::switches::kEnablePartialSwap, | 180 cc::switches::kEnablePartialSwap, |
179 cc::switches::kEnablePerTilePainting, | 181 cc::switches::kEnablePerTilePainting, |
180 cc::switches::kEnablePinchVirtualViewport, | 182 cc::switches::kEnablePinchVirtualViewport, |
| 183 cc::switches::kEnableStartCommitBeforeActivate, |
| 184 cc::switches::kEnableStartCommitBeforeDraw, |
181 cc::switches::kEnableTopControlsPositionCalculation, | 185 cc::switches::kEnableTopControlsPositionCalculation, |
182 cc::switches::kMaxTilesForInterestArea, | 186 cc::switches::kMaxTilesForInterestArea, |
183 cc::switches::kMaxUnusedResourceMemoryUsagePercentage, | 187 cc::switches::kMaxUnusedResourceMemoryUsagePercentage, |
184 cc::switches::kNumRasterThreads, | 188 cc::switches::kNumRasterThreads, |
185 cc::switches::kShowCompositedLayerBorders, | 189 cc::switches::kShowCompositedLayerBorders, |
186 cc::switches::kShowFPSCounter, | 190 cc::switches::kShowFPSCounter, |
187 cc::switches::kShowLayerAnimationBounds, | 191 cc::switches::kShowLayerAnimationBounds, |
188 cc::switches::kShowNonOccludingRects, | 192 cc::switches::kShowNonOccludingRects, |
189 cc::switches::kShowOccludingRects, | 193 cc::switches::kShowOccludingRects, |
190 cc::switches::kShowPropertyChangedRects, | 194 cc::switches::kShowPropertyChangedRects, |
(...skipping 180 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
371 // Relaunch chrome without session manager on dev box. | 375 // Relaunch chrome without session manager on dev box. |
372 ReLaunch(command_line); | 376 ReLaunch(command_line); |
373 return; | 377 return; |
374 } | 378 } |
375 | 379 |
376 // ChromeRestartRequest deletes itself after request sent to session manager. | 380 // ChromeRestartRequest deletes itself after request sent to session manager. |
377 (new ChromeRestartRequest(command_line))->Start(); | 381 (new ChromeRestartRequest(command_line))->Start(); |
378 } | 382 } |
379 | 383 |
380 } // namespace chromeos | 384 } // namespace chromeos |
OLD | NEW |