| 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 80 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 91 ::switches::kDisableSeccompFilterSandbox, | 91 ::switches::kDisableSeccompFilterSandbox, |
| 92 ::switches::kDisableSetuidSandbox, | 92 ::switches::kDisableSetuidSandbox, |
| 93 ::switches::kDisableSurfaces, | 93 ::switches::kDisableSurfaces, |
| 94 ::switches::kDisableTextBlobs, | 94 ::switches::kDisableTextBlobs, |
| 95 ::switches::kDisableThreadedGpuRasterization, | 95 ::switches::kDisableThreadedGpuRasterization, |
| 96 ::switches::kDisableThreadedScrolling, | 96 ::switches::kDisableThreadedScrolling, |
| 97 ::switches::kDisableTouchDragDrop, | 97 ::switches::kDisableTouchDragDrop, |
| 98 ::switches::kDisableTouchEditing, | 98 ::switches::kDisableTouchEditing, |
| 99 ::switches::kEnableBeginFrameScheduling, | 99 ::switches::kEnableBeginFrameScheduling, |
| 100 ::switches::kEnableBlinkFeatures, | 100 ::switches::kEnableBlinkFeatures, |
| 101 ::switches::kEnablePreferCompositingToLCDText, | 101 ::switches::kEnableCompositorAnimationTimelines, |
| 102 ::switches::kEnableDelegatedRenderer, | 102 ::switches::kEnableDelegatedRenderer, |
| 103 ::switches::kDisableDisplayList2dCanvas, | 103 ::switches::kDisableDisplayList2dCanvas, |
| 104 ::switches::kEnableDisplayList2dCanvas, | 104 ::switches::kEnableDisplayList2dCanvas, |
| 105 ::switches::kForceDisplayList2dCanvas, | 105 ::switches::kForceDisplayList2dCanvas, |
| 106 ::switches::kDisableEncryptedMedia, | 106 ::switches::kDisableEncryptedMedia, |
| 107 ::switches::kDisableGpuSandbox, | 107 ::switches::kDisableGpuSandbox, |
| 108 ::switches::kEnableDistanceFieldText, | 108 ::switches::kEnableDistanceFieldText, |
| 109 ::switches::kEnableGpuRasterization, | 109 ::switches::kEnableGpuRasterization, |
| 110 ::switches::kEnableImageColorProfiles, | 110 ::switches::kEnableImageColorProfiles, |
| 111 ::switches::kEnableLogging, | 111 ::switches::kEnableLogging, |
| 112 ::switches::kEnableLowResTiling, | 112 ::switches::kEnableLowResTiling, |
| 113 ::switches::kEnableOneCopy, | 113 ::switches::kEnableOneCopy, |
| 114 ::switches::kEnablePinch, | 114 ::switches::kEnablePinch, |
| 115 ::switches::kEnablePreferCompositingToLCDText, |
| 115 ::switches::kEnablePluginPlaceholderShadowDom, | 116 ::switches::kEnablePluginPlaceholderShadowDom, |
| 116 ::switches::kEnableSlimmingPaint, | 117 ::switches::kEnableSlimmingPaint, |
| 117 ::switches::kEnableThreadedGpuRasterization, | 118 ::switches::kEnableThreadedGpuRasterization, |
| 118 ::switches::kEnableTouchDragDrop, | 119 ::switches::kEnableTouchDragDrop, |
| 119 ::switches::kEnableTouchEditing, | 120 ::switches::kEnableTouchEditing, |
| 120 ::switches::kEnableViewport, | 121 ::switches::kEnableViewport, |
| 121 ::switches::kEnableViewportMeta, | 122 ::switches::kEnableViewportMeta, |
| 122 ::switches::kEnableZeroCopy, | 123 ::switches::kEnableZeroCopy, |
| 123 ::switches::kMainFrameResizesAreOrientationChanges, | 124 ::switches::kMainFrameResizesAreOrientationChanges, |
| 124 ::switches::kForceDeviceScaleFactor, | 125 ::switches::kForceDeviceScaleFactor, |
| (...skipping 14 matching lines...) Expand all Loading... |
| 139 ::switches::kRootLayerScrolls, | 140 ::switches::kRootLayerScrolls, |
| 140 ::switches::kEnableShareGroupAsyncTextureUpload, | 141 ::switches::kEnableShareGroupAsyncTextureUpload, |
| 141 ::switches::kTabCaptureUpscaleQuality, | 142 ::switches::kTabCaptureUpscaleQuality, |
| 142 ::switches::kTabCaptureDownscaleQuality, | 143 ::switches::kTabCaptureDownscaleQuality, |
| 143 #if defined(USE_X11) || defined(USE_OZONE) | 144 #if defined(USE_X11) || defined(USE_OZONE) |
| 144 ::switches::kTouchCalibration, | 145 ::switches::kTouchCalibration, |
| 145 #endif | 146 #endif |
| 146 ::switches::kTouchDevices, | 147 ::switches::kTouchDevices, |
| 147 ::switches::kTouchEvents, | 148 ::switches::kTouchEvents, |
| 148 ::switches::kUIDisableThreadedCompositing, | 149 ::switches::kUIDisableThreadedCompositing, |
| 150 ::switches::kUIEnableCompositorAnimationTimelines, |
| 149 ::switches::kUIPrioritizeInGpuProcess, | 151 ::switches::kUIPrioritizeInGpuProcess, |
| 150 #if defined(USE_CRAS) | 152 #if defined(USE_CRAS) |
| 151 ::switches::kUseCras, | 153 ::switches::kUseCras, |
| 152 #endif | 154 #endif |
| 153 ::switches::kUseDiscardableMemory, | 155 ::switches::kUseDiscardableMemory, |
| 154 ::switches::kUseGL, | 156 ::switches::kUseGL, |
| 155 ::switches::kUseNormalPriorityForTileTaskWorkerThreads, | 157 ::switches::kUseNormalPriorityForTileTaskWorkerThreads, |
| 156 ::switches::kUserDataDir, | 158 ::switches::kUserDataDir, |
| 157 ::switches::kV, | 159 ::switches::kV, |
| 158 ::switches::kVModule, | 160 ::switches::kVModule, |
| (...skipping 220 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 379 // Relaunch chrome without session manager on dev box. | 381 // Relaunch chrome without session manager on dev box. |
| 380 ReLaunch(command_line); | 382 ReLaunch(command_line); |
| 381 return; | 383 return; |
| 382 } | 384 } |
| 383 | 385 |
| 384 // ChromeRestartRequest deletes itself after request sent to session manager. | 386 // ChromeRestartRequest deletes itself after request sent to session manager. |
| 385 (new ChromeRestartRequest(command_line))->Start(); | 387 (new ChromeRestartRequest(command_line))->Start(); |
| 386 } | 388 } |
| 387 | 389 |
| 388 } // namespace chromeos | 390 } // namespace chromeos |
| OLD | NEW |