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 73 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
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, | 88 ::switches::kDisableRepaintAfterLayout, |
89 ::switches::kDisableSeccompFilterSandbox, | 89 ::switches::kDisableSeccompFilterSandbox, |
90 ::switches::kDisableSetuidSandbox, | 90 ::switches::kDisableSetuidSandbox, |
91 ::switches::kDisableThreadedCompositing, | 91 ::switches::kDisableThreadedCompositing, |
92 ::switches::kDisableTouchDragDrop, | 92 ::switches::kDisableTouchDragDrop, |
93 ::switches::kDisableTouchEditing, | 93 ::switches::kDisableTouchEditing, |
94 ::switches::kDisableUniversalAcceleratedOverflowScroll, | |
95 ::switches::kDisableAcceleratedFixedRootBackground, | 94 ::switches::kDisableAcceleratedFixedRootBackground, |
96 ::switches::kDisableZeroCopy, | 95 ::switches::kDisableZeroCopy, |
97 ::switches::kEnableAcceleratedFixedRootBackground, | 96 ::switches::kEnableAcceleratedFixedRootBackground, |
98 ::switches::kEnableAcceleratedOverflowScroll, | 97 ::switches::kEnableAcceleratedOverflowScroll, |
99 ::switches::kEnableBeginFrameScheduling, | 98 ::switches::kEnableBeginFrameScheduling, |
100 ::switches::kEnableCompositingForFixedPosition, | 99 ::switches::kEnableCompositingForFixedPosition, |
101 ::switches::kEnableDelegatedRenderer, | 100 ::switches::kEnableDelegatedRenderer, |
102 ::switches::kEnableEncryptedMedia, | 101 ::switches::kEnableEncryptedMedia, |
103 ::switches::kEnableFastTextAutosizing, | 102 ::switches::kEnableFastTextAutosizing, |
104 ::switches::kEnableGestureTapHighlight, | 103 ::switches::kEnableGestureTapHighlight, |
105 ::switches::kDisableGestureTapHighlight, | 104 ::switches::kDisableGestureTapHighlight, |
106 ::switches::kDisableGpuSandbox, | 105 ::switches::kDisableGpuSandbox, |
107 ::switches::kDisableDeferredFilters, | 106 ::switches::kDisableDeferredFilters, |
108 ::switches::kEnableContainerCulling, | 107 ::switches::kEnableContainerCulling, |
109 ::switches::kEnableDistanceFieldText, | 108 ::switches::kEnableDistanceFieldText, |
110 ::switches::kEnableGpuRasterization, | 109 ::switches::kEnableGpuRasterization, |
111 ::switches::kEnableImplSidePainting, | 110 ::switches::kEnableImplSidePainting, |
112 ::switches::kEnableLogging, | 111 ::switches::kEnableLogging, |
113 ::switches::kEnableLowResTiling, | 112 ::switches::kEnableLowResTiling, |
114 ::switches::kEnableOneCopy, | 113 ::switches::kEnableOneCopy, |
115 ::switches::kEnablePinch, | 114 ::switches::kEnablePinch, |
116 ::switches::kEnableRepaintAfterLayout, | 115 ::switches::kEnableRepaintAfterLayout, |
117 ::switches::kEnableThreadedCompositing, | 116 ::switches::kEnableThreadedCompositing, |
118 ::switches::kEnableTouchDragDrop, | 117 ::switches::kEnableTouchDragDrop, |
119 ::switches::kEnableTouchEditing, | 118 ::switches::kEnableTouchEditing, |
120 ::switches::kEnableUniversalAcceleratedOverflowScroll, | |
121 ::switches::kEnableViewport, | 119 ::switches::kEnableViewport, |
122 ::switches::kEnableViewportMeta, | 120 ::switches::kEnableViewportMeta, |
123 ::switches::kEnableZeroCopy, | 121 ::switches::kEnableZeroCopy, |
124 ::switches::kMainFrameResizesAreOrientationChanges, | 122 ::switches::kMainFrameResizesAreOrientationChanges, |
125 ::switches::kForceDeviceScaleFactor, | 123 ::switches::kForceDeviceScaleFactor, |
126 ::switches::kForceGpuRasterization, | 124 ::switches::kForceGpuRasterization, |
127 ::switches::kGpuStartupDialog, | 125 ::switches::kGpuStartupDialog, |
128 ::switches::kGpuSandboxAllowSysVShm, | 126 ::switches::kGpuSandboxAllowSysVShm, |
129 ::switches::kGpuSandboxFailuresFatal, | 127 ::switches::kGpuSandboxFailuresFatal, |
130 ::switches::kGpuSandboxStartAfterInitialization, | 128 ::switches::kGpuSandboxStartAfterInitialization, |
(...skipping 246 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
377 // Relaunch chrome without session manager on dev box. | 375 // Relaunch chrome without session manager on dev box. |
378 ReLaunch(command_line); | 376 ReLaunch(command_line); |
379 return; | 377 return; |
380 } | 378 } |
381 | 379 |
382 // ChromeRestartRequest deletes itself after request sent to session manager. | 380 // ChromeRestartRequest deletes itself after request sent to session manager. |
383 (new ChromeRestartRequest(command_line))->Start(); | 381 (new ChromeRestartRequest(command_line))->Start(); |
384 } | 382 } |
385 | 383 |
386 } // namespace chromeos | 384 } // namespace chromeos |
OLD | NEW |