| 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 93 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 104 ::switches::kEnableThreadedCompositing, | 104 ::switches::kEnableThreadedCompositing, |
| 105 ::switches::kEnableTouchDragDrop, | 105 ::switches::kEnableTouchDragDrop, |
| 106 ::switches::kEnableTouchEditing, | 106 ::switches::kEnableTouchEditing, |
| 107 ::switches::kEnableUniversalAcceleratedOverflowScroll, | 107 ::switches::kEnableUniversalAcceleratedOverflowScroll, |
| 108 ::switches::kEnableViewport, | 108 ::switches::kEnableViewport, |
| 109 ::switches::kEnableViewportMeta, | 109 ::switches::kEnableViewportMeta, |
| 110 ::switches::kMainFrameResizesAreOrientationChanges, | 110 ::switches::kMainFrameResizesAreOrientationChanges, |
| 111 ::switches::kForceDeviceScaleFactor, | 111 ::switches::kForceDeviceScaleFactor, |
| 112 ::switches::kGpuStartupDialog, | 112 ::switches::kGpuStartupDialog, |
| 113 ::switches::kGpuSandboxAllowSysVShm, | 113 ::switches::kGpuSandboxAllowSysVShm, |
| 114 ::switches::kGpuSandboxFailuresNonfatal, | |
| 115 ::switches::kMultiProfiles, | 114 ::switches::kMultiProfiles, |
| 116 ::switches::kNoSandbox, | 115 ::switches::kNoSandbox, |
| 117 ::switches::kNumRasterThreads, | 116 ::switches::kNumRasterThreads, |
| 118 ::switches::kPpapiFlashArgs, | 117 ::switches::kPpapiFlashArgs, |
| 119 ::switches::kPpapiFlashPath, | 118 ::switches::kPpapiFlashPath, |
| 120 ::switches::kPpapiFlashVersion, | 119 ::switches::kPpapiFlashVersion, |
| 121 ::switches::kPpapiInProcess, | 120 ::switches::kPpapiInProcess, |
| 122 ::switches::kRendererStartupDialog, | 121 ::switches::kRendererStartupDialog, |
| 123 ::switches::kEnableShareGroupAsyncTextureUpload, | 122 ::switches::kEnableShareGroupAsyncTextureUpload, |
| 124 ::switches::kTabCaptureUpscaleQuality, | 123 ::switches::kTabCaptureUpscaleQuality, |
| (...skipping 55 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 180 cc::switches::kShowPropertyChangedRects, | 179 cc::switches::kShowPropertyChangedRects, |
| 181 cc::switches::kShowReplicaScreenSpaceRects, | 180 cc::switches::kShowReplicaScreenSpaceRects, |
| 182 cc::switches::kShowScreenSpaceRects, | 181 cc::switches::kShowScreenSpaceRects, |
| 183 cc::switches::kShowSurfaceDamageRects, | 182 cc::switches::kShowSurfaceDamageRects, |
| 184 cc::switches::kSlowDownRasterScaleFactor, | 183 cc::switches::kSlowDownRasterScaleFactor, |
| 185 cc::switches::kTraceOverdraw, | 184 cc::switches::kTraceOverdraw, |
| 186 cc::switches::kUIDisablePartialSwap, | 185 cc::switches::kUIDisablePartialSwap, |
| 187 chromeos::switches::kDbusStub, | 186 chromeos::switches::kDbusStub, |
| 188 chromeos::switches::kDisableLoginAnimations, | 187 chromeos::switches::kDisableLoginAnimations, |
| 189 chromeos::switches::kDisableOobeAnimation, | 188 chromeos::switches::kDisableOobeAnimation, |
| 189 chromeos::switches::kGpuSandboxFailuresNonfatal, |
| 190 chromeos::switches::kHasChromeOSDiamondKey, | 190 chromeos::switches::kHasChromeOSDiamondKey, |
| 191 chromeos::switches::kHasChromeOSKeyboard, | 191 chromeos::switches::kHasChromeOSKeyboard, |
| 192 chromeos::switches::kLoginProfile, | 192 chromeos::switches::kLoginProfile, |
| 193 chromeos::switches::kNaturalScrollDefault, | 193 chromeos::switches::kNaturalScrollDefault, |
| 194 ::switches::kEnableBrowserTextSubpixelPositioning, | 194 ::switches::kEnableBrowserTextSubpixelPositioning, |
| 195 ::switches::kEnableWebkitTextSubpixelPositioning, | 195 ::switches::kEnableWebkitTextSubpixelPositioning, |
| 196 policy::switches::kDeviceManagementUrl, | 196 policy::switches::kDeviceManagementUrl, |
| 197 views::corewm::switches::kNoDropShadows, | 197 views::corewm::switches::kNoDropShadows, |
| 198 views::corewm::switches::kWindowAnimationsDisabled, | 198 views::corewm::switches::kWindowAnimationsDisabled, |
| 199 }; | 199 }; |
| (...skipping 150 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 350 // Relaunch chrome without session manager on dev box. | 350 // Relaunch chrome without session manager on dev box. |
| 351 ReLaunch(command_line); | 351 ReLaunch(command_line); |
| 352 return; | 352 return; |
| 353 } | 353 } |
| 354 | 354 |
| 355 // ChromeRestartRequest deletes itself after request sent to session manager. | 355 // ChromeRestartRequest deletes itself after request sent to session manager. |
| 356 (new ChromeRestartRequest(command_line))->Start(); | 356 (new ChromeRestartRequest(command_line))->Start(); |
| 357 } | 357 } |
| 358 | 358 |
| 359 } // namespace chromeos | 359 } // namespace chromeos |
| OLD | NEW |