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 65 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
76 ::switches::kDisableCastStreamingHWEncoding, | 76 ::switches::kDisableCastStreamingHWEncoding, |
77 ::switches::kDisableDistanceFieldText, | 77 ::switches::kDisableDistanceFieldText, |
78 ::switches::kDisableGpu, | 78 ::switches::kDisableGpu, |
79 ::switches::kDisableGpuMemoryBufferVideoFrames, | 79 ::switches::kDisableGpuMemoryBufferVideoFrames, |
80 ::switches::kDisableGpuShaderDiskCache, | 80 ::switches::kDisableGpuShaderDiskCache, |
81 ::switches::kDisableGpuWatchdog, | 81 ::switches::kDisableGpuWatchdog, |
82 ::switches::kDisableGpuCompositing, | 82 ::switches::kDisableGpuCompositing, |
83 ::switches::kDisableGpuRasterization, | 83 ::switches::kDisableGpuRasterization, |
84 ::switches::kDisableLowResTiling, | 84 ::switches::kDisableLowResTiling, |
85 ::switches::kDisableMediaSource, | 85 ::switches::kDisableMediaSource, |
86 ::switches::kDisablePersistentGpuMemoryBuffer, | 86 ::switches::kDisablePartialRaster, |
ericrk
2015/10/08 00:12:20
Is there a reason we had a disable flag as well as
jbroman
2015/10/08 14:08:22
It wasn't necessary to forward it, no.
danakj
2015/10/08 15:18:43
We dont use it in compositor_util either. Delete?
jbroman
2015/10/08 15:19:59
Well, the disabling flag exists because at one poi
danakj
2015/10/08 15:21:27
Ah, that's what happened. Usually you'd only have
ericrk
2015/10/13 23:03:45
I'll remove this then.
| |
87 ::switches::kDisablePreferCompositingToLCDText, | 87 ::switches::kDisablePreferCompositingToLCDText, |
88 ::switches::kEnablePrefixedEncryptedMedia, | 88 ::switches::kEnablePrefixedEncryptedMedia, |
89 ::switches::kDisablePanelFitting, | 89 ::switches::kDisablePanelFitting, |
90 ::switches::kDisableRGBA4444Textures, | 90 ::switches::kDisableRGBA4444Textures, |
91 ::switches::kDisableSeccompFilterSandbox, | 91 ::switches::kDisableSeccompFilterSandbox, |
92 ::switches::kDisableSetuidSandbox, | 92 ::switches::kDisableSetuidSandbox, |
93 ::switches::kDisableSurfaces, | 93 ::switches::kDisableSurfaces, |
94 ::switches::kDisableThreadedScrolling, | 94 ::switches::kDisableThreadedScrolling, |
95 ::switches::kDisableTouchDragDrop, | 95 ::switches::kDisableTouchDragDrop, |
96 ::switches::kDisableTouchEditing, | 96 ::switches::kDisableTouchEditing, |
97 ::switches::kDisableZeroCopy, | 97 ::switches::kDisableZeroCopy, |
98 ::switches::kEnableBlinkFeatures, | 98 ::switches::kEnableBlinkFeatures, |
99 ::switches::kEnableCompositorAnimationTimelines, | 99 ::switches::kEnableCompositorAnimationTimelines, |
100 ::switches::kDisableDisplayList2dCanvas, | 100 ::switches::kDisableDisplayList2dCanvas, |
101 ::switches::kEnableDisplayList2dCanvas, | 101 ::switches::kEnableDisplayList2dCanvas, |
102 ::switches::kForceDisplayList2dCanvas, | 102 ::switches::kForceDisplayList2dCanvas, |
103 ::switches::kDisableEncryptedMedia, | 103 ::switches::kDisableEncryptedMedia, |
104 ::switches::kDisableGpuSandbox, | 104 ::switches::kDisableGpuSandbox, |
105 ::switches::kEnableDistanceFieldText, | 105 ::switches::kEnableDistanceFieldText, |
106 ::switches::kEnableGpuMemoryBufferVideoFrames, | 106 ::switches::kEnableGpuMemoryBufferVideoFrames, |
107 ::switches::kEnableGpuRasterization, | 107 ::switches::kEnableGpuRasterization, |
108 ::switches::kEnableImageColorProfiles, | 108 ::switches::kEnableImageColorProfiles, |
109 ::switches::kEnableLogging, | 109 ::switches::kEnableLogging, |
110 ::switches::kEnableLowResTiling, | 110 ::switches::kEnableLowResTiling, |
111 ::switches::kEnablePersistentGpuMemoryBuffer, | 111 ::switches::kEnablePartialRaster, |
112 ::switches::kEnablePinch, | 112 ::switches::kEnablePinch, |
113 ::switches::kEnablePreferCompositingToLCDText, | 113 ::switches::kEnablePreferCompositingToLCDText, |
114 ::switches::kEnableRGBA4444Textures, | 114 ::switches::kEnableRGBA4444Textures, |
115 ::switches::kEnableSlimmingPaintV2, | 115 ::switches::kEnableSlimmingPaintV2, |
116 ::switches::kEnableTouchDragDrop, | 116 ::switches::kEnableTouchDragDrop, |
117 ::switches::kEnableTouchEditing, | 117 ::switches::kEnableTouchEditing, |
118 ::switches::kEnableViewport, | 118 ::switches::kEnableViewport, |
119 ::switches::kEnableZeroCopy, | 119 ::switches::kEnableZeroCopy, |
120 #if defined(USE_OZONE) | 120 #if defined(USE_OZONE) |
121 ::switches::kExtraTouchNoiseFiltering, | 121 ::switches::kExtraTouchNoiseFiltering, |
(...skipping 228 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.argv()))->Start(); | 356 (new ChromeRestartRequest(command_line.argv()))->Start(); |
357 } | 357 } |
358 | 358 |
359 } // namespace chromeos | 359 } // namespace chromeos |
OLD | NEW |