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 72 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
83 ::switches::kDisableImplSidePainting, | 83 ::switches::kDisableImplSidePainting, |
84 ::switches::kDisableLowResTiling, | 84 ::switches::kDisableLowResTiling, |
85 ::switches::kDisableMediaSource, | 85 ::switches::kDisableMediaSource, |
86 ::switches::kDisableOneCopy, | 86 ::switches::kDisableOneCopy, |
87 ::switches::kDisablePreferCompositingToLCDText, | 87 ::switches::kDisablePreferCompositingToLCDText, |
88 ::switches::kDisablePrefixedEncryptedMedia, | 88 ::switches::kDisablePrefixedEncryptedMedia, |
89 ::switches::kDisablePanelFitting, | 89 ::switches::kDisablePanelFitting, |
90 ::switches::kDisableSeccompFilterSandbox, | 90 ::switches::kDisableSeccompFilterSandbox, |
91 ::switches::kDisableSetuidSandbox, | 91 ::switches::kDisableSetuidSandbox, |
92 ::switches::kDisableTextBlobs, | 92 ::switches::kDisableTextBlobs, |
| 93 ::switches::kDisableThreadedGpuRasterization, |
93 ::switches::kDisableThreadedScrolling, | 94 ::switches::kDisableThreadedScrolling, |
94 ::switches::kDisableTouchDragDrop, | 95 ::switches::kDisableTouchDragDrop, |
95 ::switches::kDisableTouchEditing, | 96 ::switches::kDisableTouchEditing, |
96 ::switches::kEnableBeginFrameScheduling, | 97 ::switches::kEnableBeginFrameScheduling, |
97 ::switches::kEnablePreferCompositingToLCDText, | 98 ::switches::kEnablePreferCompositingToLCDText, |
98 ::switches::kEnableDelegatedRenderer, | 99 ::switches::kEnableDelegatedRenderer, |
99 ::switches::kDisableDisplayList2dCanvas, | 100 ::switches::kDisableDisplayList2dCanvas, |
100 ::switches::kEnableDisplayList2dCanvas, | 101 ::switches::kEnableDisplayList2dCanvas, |
101 ::switches::kForceDisplayList2dCanvas, | 102 ::switches::kForceDisplayList2dCanvas, |
102 ::switches::kDisableEncryptedMedia, | 103 ::switches::kDisableEncryptedMedia, |
103 ::switches::kDisableGpuSandbox, | 104 ::switches::kDisableGpuSandbox, |
104 ::switches::kEnableDistanceFieldText, | 105 ::switches::kEnableDistanceFieldText, |
105 ::switches::kEnableGpuRasterization, | 106 ::switches::kEnableGpuRasterization, |
106 ::switches::kEnableImageColorProfiles, | 107 ::switches::kEnableImageColorProfiles, |
107 ::switches::kEnableLogging, | 108 ::switches::kEnableLogging, |
108 ::switches::kEnableLowResTiling, | 109 ::switches::kEnableLowResTiling, |
109 ::switches::kEnableOneCopy, | 110 ::switches::kEnableOneCopy, |
110 ::switches::kEnablePinch, | 111 ::switches::kEnablePinch, |
111 ::switches::kEnablePluginPlaceholderShadowDom, | 112 ::switches::kEnablePluginPlaceholderShadowDom, |
112 ::switches::kEnableSlimmingPaint, | 113 ::switches::kEnableSlimmingPaint, |
| 114 ::switches::kEnableThreadedGpuRasterization, |
113 ::switches::kEnableTouchDragDrop, | 115 ::switches::kEnableTouchDragDrop, |
114 ::switches::kEnableTouchEditing, | 116 ::switches::kEnableTouchEditing, |
115 ::switches::kEnableViewport, | 117 ::switches::kEnableViewport, |
116 ::switches::kEnableViewportMeta, | 118 ::switches::kEnableViewportMeta, |
117 ::switches::kEnableZeroCopy, | 119 ::switches::kEnableZeroCopy, |
118 ::switches::kMainFrameResizesAreOrientationChanges, | 120 ::switches::kMainFrameResizesAreOrientationChanges, |
119 ::switches::kForceDeviceScaleFactor, | 121 ::switches::kForceDeviceScaleFactor, |
120 ::switches::kForceGpuRasterization, | 122 ::switches::kForceGpuRasterization, |
121 ::switches::kGpuRasterizationMSAASampleCount, | 123 ::switches::kGpuRasterizationMSAASampleCount, |
122 ::switches::kGpuStartupDialog, | 124 ::switches::kGpuStartupDialog, |
(...skipping 252 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
375 // Relaunch chrome without session manager on dev box. | 377 // Relaunch chrome without session manager on dev box. |
376 ReLaunch(command_line); | 378 ReLaunch(command_line); |
377 return; | 379 return; |
378 } | 380 } |
379 | 381 |
380 // ChromeRestartRequest deletes itself after request sent to session manager. | 382 // ChromeRestartRequest deletes itself after request sent to session manager. |
381 (new ChromeRestartRequest(command_line))->Start(); | 383 (new ChromeRestartRequest(command_line))->Start(); |
382 } | 384 } |
383 | 385 |
384 } // namespace chromeos | 386 } // namespace chromeos |
OLD | NEW |