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 67 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
78 ::switches::kDisableEncryptedMedia, | 78 ::switches::kDisableEncryptedMedia, |
79 ::switches::kDisableForceCompositingMode, | 79 ::switches::kDisableForceCompositingMode, |
80 ::switches::kDisableGpuShaderDiskCache, | 80 ::switches::kDisableGpuShaderDiskCache, |
81 ::switches::kDisableGpuWatchdog, | 81 ::switches::kDisableGpuWatchdog, |
82 ::switches::kDisablePanelFitting, | 82 ::switches::kDisablePanelFitting, |
83 ::switches::kDisableSeccompFilterSandbox, | 83 ::switches::kDisableSeccompFilterSandbox, |
84 ::switches::kDisableThreadedCompositing, | 84 ::switches::kDisableThreadedCompositing, |
85 ::switches::kDisableTouchDragDrop, | 85 ::switches::kDisableTouchDragDrop, |
86 ::switches::kDisableTouchEditing, | 86 ::switches::kDisableTouchEditing, |
87 ::switches::kEnableAcceleratedOverflowScroll, | 87 ::switches::kEnableAcceleratedOverflowScroll, |
| 88 ::switches::kEnableBeginFrameScheduling, |
| 89 ::switches::kEnableBrowserInputController, |
88 ::switches::kEnableCompositingForFixedPosition, | 90 ::switches::kEnableCompositingForFixedPosition, |
89 ::switches::kEnableGestureTapHighlight, | 91 ::switches::kEnableGestureTapHighlight, |
90 ::switches::kDisableGestureTapHighlight, | 92 ::switches::kDisableGestureTapHighlight, |
91 ::switches::kDisableGpuSandbox, | 93 ::switches::kDisableGpuSandbox, |
92 ::switches::kEnableGpuSandbox, | 94 ::switches::kEnableGpuSandbox, |
93 ::switches::kEnableLogging, | 95 ::switches::kEnableLogging, |
94 ::switches::kEnablePinch, | 96 ::switches::kEnablePinch, |
95 ::switches::kEnableThreadedCompositing, | 97 ::switches::kEnableThreadedCompositing, |
96 ::switches::kEnableTouchDragDrop, | 98 ::switches::kEnableTouchDragDrop, |
97 ::switches::kEnableTouchEditing, | 99 ::switches::kEnableTouchEditing, |
98 ::switches::kEnableViewport, | 100 ::switches::kEnableViewport, |
99 ::switches::kEnableVsyncNotification, | |
100 ::switches::kForceDeviceScaleFactor, | 101 ::switches::kForceDeviceScaleFactor, |
101 ::switches::kGpuStartupDialog, | 102 ::switches::kGpuStartupDialog, |
102 ::switches::kMultiProfiles, | 103 ::switches::kMultiProfiles, |
103 ::switches::kNoSandbox, | 104 ::switches::kNoSandbox, |
104 ::switches::kPpapiFlashArgs, | 105 ::switches::kPpapiFlashArgs, |
105 ::switches::kPpapiFlashInProcess, | 106 ::switches::kPpapiFlashInProcess, |
106 ::switches::kPpapiFlashPath, | 107 ::switches::kPpapiFlashPath, |
107 ::switches::kPpapiFlashVersion, | 108 ::switches::kPpapiFlashVersion, |
108 ::switches::kPpapiInProcess, | 109 ::switches::kPpapiInProcess, |
109 ::switches::kRendererStartupDialog, | 110 ::switches::kRendererStartupDialog, |
(...skipping 24 matching lines...) Expand all Loading... |
134 cc::switches::kBackgroundColorInsteadOfCheckerboard, | 135 cc::switches::kBackgroundColorInsteadOfCheckerboard, |
135 cc::switches::kCompositeToMailbox, | 136 cc::switches::kCompositeToMailbox, |
136 cc::switches::kDisableColorEstimator, | 137 cc::switches::kDisableColorEstimator, |
137 cc::switches::kDisableImplSidePainting, | 138 cc::switches::kDisableImplSidePainting, |
138 cc::switches::kDisableThreadedAnimation, | 139 cc::switches::kDisableThreadedAnimation, |
139 cc::switches::kEnableCompositorFrameMessage, | 140 cc::switches::kEnableCompositorFrameMessage, |
140 cc::switches::kEnableImplSidePainting, | 141 cc::switches::kEnableImplSidePainting, |
141 cc::switches::kEnablePartialSwap, | 142 cc::switches::kEnablePartialSwap, |
142 cc::switches::kEnablePerTilePainting, | 143 cc::switches::kEnablePerTilePainting, |
143 cc::switches::kEnablePinchVirtualViewport, | 144 cc::switches::kEnablePinchVirtualViewport, |
144 cc::switches::kEnableRightAlignedScheduling, | |
145 cc::switches::kEnableTopControlsPositionCalculation, | 145 cc::switches::kEnableTopControlsPositionCalculation, |
146 cc::switches::kForceDirectLayerDrawing, | 146 cc::switches::kForceDirectLayerDrawing, |
147 cc::switches::kLowResolutionContentsScaleFactor, | 147 cc::switches::kLowResolutionContentsScaleFactor, |
148 cc::switches::kMaxTilesForInterestArea, | 148 cc::switches::kMaxTilesForInterestArea, |
149 cc::switches::kMaxUnusedResourceMemoryUsagePercentage, | 149 cc::switches::kMaxUnusedResourceMemoryUsagePercentage, |
150 cc::switches::kNumRasterThreads, | 150 cc::switches::kNumRasterThreads, |
151 cc::switches::kShowCompositedLayerBorders, | 151 cc::switches::kShowCompositedLayerBorders, |
152 cc::switches::kShowCompositedLayerTree, | 152 cc::switches::kShowCompositedLayerTree, |
153 cc::switches::kShowFPSCounter, | 153 cc::switches::kShowFPSCounter, |
154 cc::switches::kShowNonOccludingRects, | 154 cc::switches::kShowNonOccludingRects, |
(...skipping 182 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
337 // Relaunch chrome without session manager on dev box. | 337 // Relaunch chrome without session manager on dev box. |
338 ReLaunch(command_line); | 338 ReLaunch(command_line); |
339 return; | 339 return; |
340 } | 340 } |
341 | 341 |
342 // ChromeRestartRequest deletes itself after request sent to session manager. | 342 // ChromeRestartRequest deletes itself after request sent to session manager. |
343 (new ChromeRestartRequest(command_line))->Start(); | 343 (new ChromeRestartRequest(command_line))->Start(); |
344 } | 344 } |
345 | 345 |
346 } // namespace chromeos | 346 } // namespace chromeos |
OLD | NEW |