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 67 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
78 ::switches::kDisableFastTextAutosizing, | 78 ::switches::kDisableFastTextAutosizing, |
79 ::switches::kDisableGpuShaderDiskCache, | 79 ::switches::kDisableGpuShaderDiskCache, |
80 ::switches::kDisableGpuWatchdog, | 80 ::switches::kDisableGpuWatchdog, |
81 ::switches::kDisableGpuCompositing, | 81 ::switches::kDisableGpuCompositing, |
82 ::switches::kDisableGpuRasterization, | 82 ::switches::kDisableGpuRasterization, |
83 ::switches::kDisableImplSidePainting, | 83 ::switches::kDisableImplSidePainting, |
84 ::switches::kDisableLowResTiling, | 84 ::switches::kDisableLowResTiling, |
85 ::switches::kDisableMediaSource, | 85 ::switches::kDisableMediaSource, |
86 ::switches::kDisablePrefixedEncryptedMedia, | 86 ::switches::kDisablePrefixedEncryptedMedia, |
87 ::switches::kDisablePanelFitting, | 87 ::switches::kDisablePanelFitting, |
88 ::switches::kDisableRepaintAfterLayout, | |
89 ::switches::kDisableSeccompFilterSandbox, | 88 ::switches::kDisableSeccompFilterSandbox, |
90 ::switches::kDisableSetuidSandbox, | 89 ::switches::kDisableSetuidSandbox, |
91 ::switches::kDisableThreadedCompositing, | 90 ::switches::kDisableThreadedCompositing, |
92 ::switches::kDisableTouchDragDrop, | 91 ::switches::kDisableTouchDragDrop, |
93 ::switches::kDisableTouchEditing, | 92 ::switches::kDisableTouchEditing, |
94 ::switches::kDisableAcceleratedFixedRootBackground, | 93 ::switches::kDisableAcceleratedFixedRootBackground, |
95 ::switches::kDisableZeroCopy, | 94 ::switches::kDisableZeroCopy, |
96 ::switches::kEnableAcceleratedFixedRootBackground, | 95 ::switches::kEnableAcceleratedFixedRootBackground, |
97 ::switches::kEnableAcceleratedOverflowScroll, | 96 ::switches::kEnableAcceleratedOverflowScroll, |
98 ::switches::kEnableBeginFrameScheduling, | 97 ::switches::kEnableBeginFrameScheduling, |
99 ::switches::kEnableCompositingForFixedPosition, | 98 ::switches::kEnableCompositingForFixedPosition, |
100 ::switches::kEnableDelegatedRenderer, | 99 ::switches::kEnableDelegatedRenderer, |
101 ::switches::kEnableEncryptedMedia, | 100 ::switches::kEnableEncryptedMedia, |
102 ::switches::kEnableFastTextAutosizing, | 101 ::switches::kEnableFastTextAutosizing, |
103 ::switches::kEnableGestureTapHighlight, | 102 ::switches::kEnableGestureTapHighlight, |
104 ::switches::kDisableGestureTapHighlight, | 103 ::switches::kDisableGestureTapHighlight, |
105 ::switches::kDisableGpuSandbox, | 104 ::switches::kDisableGpuSandbox, |
106 ::switches::kDisableDeferredFilters, | 105 ::switches::kDisableDeferredFilters, |
107 ::switches::kEnableContainerCulling, | 106 ::switches::kEnableContainerCulling, |
108 ::switches::kEnableDistanceFieldText, | 107 ::switches::kEnableDistanceFieldText, |
109 ::switches::kEnableGpuRasterization, | 108 ::switches::kEnableGpuRasterization, |
110 ::switches::kEnableImplSidePainting, | 109 ::switches::kEnableImplSidePainting, |
111 ::switches::kEnableLogging, | 110 ::switches::kEnableLogging, |
112 ::switches::kEnableLowResTiling, | 111 ::switches::kEnableLowResTiling, |
113 ::switches::kEnableOneCopy, | 112 ::switches::kEnableOneCopy, |
114 ::switches::kEnablePinch, | 113 ::switches::kEnablePinch, |
115 ::switches::kEnableRepaintAfterLayout, | |
116 ::switches::kEnableThreadedCompositing, | 114 ::switches::kEnableThreadedCompositing, |
117 ::switches::kEnableTouchDragDrop, | 115 ::switches::kEnableTouchDragDrop, |
118 ::switches::kEnableTouchEditing, | 116 ::switches::kEnableTouchEditing, |
119 ::switches::kEnableViewport, | 117 ::switches::kEnableViewport, |
120 ::switches::kEnableViewportMeta, | 118 ::switches::kEnableViewportMeta, |
121 ::switches::kEnableZeroCopy, | 119 ::switches::kEnableZeroCopy, |
122 ::switches::kMainFrameResizesAreOrientationChanges, | 120 ::switches::kMainFrameResizesAreOrientationChanges, |
123 ::switches::kForceDeviceScaleFactor, | 121 ::switches::kForceDeviceScaleFactor, |
124 ::switches::kForceGpuRasterization, | 122 ::switches::kForceGpuRasterization, |
125 ::switches::kGpuStartupDialog, | 123 ::switches::kGpuStartupDialog, |
(...skipping 249 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
375 // Relaunch chrome without session manager on dev box. | 373 // Relaunch chrome without session manager on dev box. |
376 ReLaunch(command_line); | 374 ReLaunch(command_line); |
377 return; | 375 return; |
378 } | 376 } |
379 | 377 |
380 // ChromeRestartRequest deletes itself after request sent to session manager. | 378 // ChromeRestartRequest deletes itself after request sent to session manager. |
381 (new ChromeRestartRequest(command_line))->Start(); | 379 (new ChromeRestartRequest(command_line))->Start(); |
382 } | 380 } |
383 | 381 |
384 } // namespace chromeos | 382 } // namespace chromeos |
OLD | NEW |