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 70 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
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::kDisableOneCopy, | 86 ::switches::kDisableOneCopy, |
87 ::switches::kDisablePersistentGpuMemoryBuffer, | 87 ::switches::kDisablePersistentGpuMemoryBuffer, |
88 ::switches::kDisablePreferCompositingToLCDText, | 88 ::switches::kDisablePreferCompositingToLCDText, |
89 ::switches::kDisablePrefixedEncryptedMedia, | 89 ::switches::kDisablePrefixedEncryptedMedia, |
90 ::switches::kDisablePanelFitting, | 90 ::switches::kDisablePanelFitting, |
| 91 ::switches::kDisableRGBA4444Textures, |
91 ::switches::kDisableSeccompFilterSandbox, | 92 ::switches::kDisableSeccompFilterSandbox, |
92 ::switches::kDisableSetuidSandbox, | 93 ::switches::kDisableSetuidSandbox, |
93 ::switches::kDisableSlimmingPaint, | 94 ::switches::kDisableSlimmingPaint, |
94 ::switches::kDisableSurfaces, | 95 ::switches::kDisableSurfaces, |
95 ::switches::kDisableThreadedScrolling, | 96 ::switches::kDisableThreadedScrolling, |
96 ::switches::kDisableTouchDragDrop, | 97 ::switches::kDisableTouchDragDrop, |
97 ::switches::kDisableTouchEditing, | 98 ::switches::kDisableTouchEditing, |
98 ::switches::kEnableBlinkFeatures, | 99 ::switches::kEnableBlinkFeatures, |
99 ::switches::kEnableCompositorAnimationTimelines, | 100 ::switches::kEnableCompositorAnimationTimelines, |
100 ::switches::kEnableDelegatedRenderer, | 101 ::switches::kEnableDelegatedRenderer, |
101 ::switches::kDisableDisplayList2dCanvas, | 102 ::switches::kDisableDisplayList2dCanvas, |
102 ::switches::kEnableDisplayList2dCanvas, | 103 ::switches::kEnableDisplayList2dCanvas, |
103 ::switches::kForceDisplayList2dCanvas, | 104 ::switches::kForceDisplayList2dCanvas, |
104 ::switches::kDisableEncryptedMedia, | 105 ::switches::kDisableEncryptedMedia, |
105 ::switches::kDisableGpuSandbox, | 106 ::switches::kDisableGpuSandbox, |
106 ::switches::kEnableDistanceFieldText, | 107 ::switches::kEnableDistanceFieldText, |
107 ::switches::kEnableGpuRasterization, | 108 ::switches::kEnableGpuRasterization, |
108 ::switches::kEnableImageColorProfiles, | 109 ::switches::kEnableImageColorProfiles, |
109 ::switches::kEnableLogging, | 110 ::switches::kEnableLogging, |
110 ::switches::kEnableLowResTiling, | 111 ::switches::kEnableLowResTiling, |
111 ::switches::kEnableOneCopy, | 112 ::switches::kEnableOneCopy, |
112 ::switches::kEnablePinch, | 113 ::switches::kEnablePinch, |
113 ::switches::kEnablePreferCompositingToLCDText, | 114 ::switches::kEnablePreferCompositingToLCDText, |
114 ::switches::kEnablePluginPlaceholderShadowDom, | 115 ::switches::kEnablePluginPlaceholderShadowDom, |
| 116 ::switches::kEnableRGBA4444Textures, |
115 ::switches::kEnableSlimmingPaint, | 117 ::switches::kEnableSlimmingPaint, |
116 ::switches::kEnableSlimmingPaintV2, | 118 ::switches::kEnableSlimmingPaintV2, |
117 ::switches::kEnableTouchDragDrop, | 119 ::switches::kEnableTouchDragDrop, |
118 ::switches::kEnableTouchEditing, | 120 ::switches::kEnableTouchEditing, |
119 ::switches::kEnableViewport, | 121 ::switches::kEnableViewport, |
120 ::switches::kEnableViewportMeta, | 122 ::switches::kEnableViewportMeta, |
121 ::switches::kEnableZeroCopy, | 123 ::switches::kEnableZeroCopy, |
122 #if defined(USE_OZONE) | 124 #if defined(USE_OZONE) |
123 ::switches::kExtraTouchNoiseFiltering, | 125 ::switches::kExtraTouchNoiseFiltering, |
124 #endif | 126 #endif |
(...skipping 231 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
356 // Relaunch chrome without session manager on dev box. | 358 // Relaunch chrome without session manager on dev box. |
357 ReLaunch(command_line); | 359 ReLaunch(command_line); |
358 return; | 360 return; |
359 } | 361 } |
360 | 362 |
361 // ChromeRestartRequest deletes itself after request sent to session manager. | 363 // ChromeRestartRequest deletes itself after request sent to session manager. |
362 (new ChromeRestartRequest(command_line.argv()))->Start(); | 364 (new ChromeRestartRequest(command_line.argv()))->Start(); |
363 } | 365 } |
364 | 366 |
365 } // namespace chromeos | 367 } // namespace chromeos |
OLD | NEW |