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