| 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 141 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 152 ash::switches::kAuraLegacyPowerButton, | 152 ash::switches::kAuraLegacyPowerButton, |
| 153 // Please keep these in alphabetical order. Non-UI Compositor switches | 153 // Please keep these in alphabetical order. Non-UI Compositor switches |
| 154 // here should also be added to | 154 // here should also be added to |
| 155 // content/browser/renderer_host/render_process_host_impl.cc. | 155 // content/browser/renderer_host/render_process_host_impl.cc. |
| 156 cc::switches::kBackgroundColorInsteadOfCheckerboard, | 156 cc::switches::kBackgroundColorInsteadOfCheckerboard, |
| 157 cc::switches::kCompositeToMailbox, | 157 cc::switches::kCompositeToMailbox, |
| 158 cc::switches::kDisableCompositedAntialiasing, | 158 cc::switches::kDisableCompositedAntialiasing, |
| 159 cc::switches::kDisableDeadlineScheduling, | 159 cc::switches::kDisableDeadlineScheduling, |
| 160 cc::switches::kDisableImplSidePainting, | 160 cc::switches::kDisableImplSidePainting, |
| 161 cc::switches::kDisableMapImage, | 161 cc::switches::kDisableMapImage, |
| 162 cc::switches::kDisableStartCommitBeforeActivate, |
| 163 cc::switches::kDisableStartCommitBeforeDraw, |
| 162 cc::switches::kDisableThreadedAnimation, | 164 cc::switches::kDisableThreadedAnimation, |
| 163 cc::switches::kEnableDeadlineScheduling, | 165 cc::switches::kEnableDeadlineScheduling, |
| 164 cc::switches::kEnableImplSidePainting, | 166 cc::switches::kEnableImplSidePainting, |
| 165 cc::switches::kEnableMapImage, | 167 cc::switches::kEnableMapImage, |
| 166 cc::switches::kEnablePartialSwap, | 168 cc::switches::kEnablePartialSwap, |
| 167 cc::switches::kEnablePerTilePainting, | 169 cc::switches::kEnablePerTilePainting, |
| 168 cc::switches::kEnablePinchVirtualViewport, | 170 cc::switches::kEnablePinchVirtualViewport, |
| 171 cc::switches::kEnableStartCommitBeforeDraw, |
| 172 cc::switches::kEnableStartCommitBeforeActivate, |
| 169 cc::switches::kEnableTopControlsPositionCalculation, | 173 cc::switches::kEnableTopControlsPositionCalculation, |
| 170 cc::switches::kForceDirectLayerDrawing, | 174 cc::switches::kForceDirectLayerDrawing, |
| 171 cc::switches::kLowResolutionContentsScaleFactor, | 175 cc::switches::kLowResolutionContentsScaleFactor, |
| 172 cc::switches::kMaxTilesForInterestArea, | 176 cc::switches::kMaxTilesForInterestArea, |
| 173 cc::switches::kMaxUnusedResourceMemoryUsagePercentage, | 177 cc::switches::kMaxUnusedResourceMemoryUsagePercentage, |
| 174 cc::switches::kNumRasterThreads, | 178 cc::switches::kNumRasterThreads, |
| 175 cc::switches::kShowCompositedLayerBorders, | 179 cc::switches::kShowCompositedLayerBorders, |
| 176 cc::switches::kShowFPSCounter, | 180 cc::switches::kShowFPSCounter, |
| 177 cc::switches::kShowNonOccludingRects, | 181 cc::switches::kShowNonOccludingRects, |
| 178 cc::switches::kShowOccludingRects, | 182 cc::switches::kShowOccludingRects, |
| (...skipping 180 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 359 // Relaunch chrome without session manager on dev box. | 363 // Relaunch chrome without session manager on dev box. |
| 360 ReLaunch(command_line); | 364 ReLaunch(command_line); |
| 361 return; | 365 return; |
| 362 } | 366 } |
| 363 | 367 |
| 364 // ChromeRestartRequest deletes itself after request sent to session manager. | 368 // ChromeRestartRequest deletes itself after request sent to session manager. |
| 365 (new ChromeRestartRequest(command_line))->Start(); | 369 (new ChromeRestartRequest(command_line))->Start(); |
| 366 } | 370 } |
| 367 | 371 |
| 368 } // namespace chromeos | 372 } // namespace chromeos |
| OLD | NEW |