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::kDisableLowResTiling, | 83 ::switches::kDisableLowResTiling, |
84 ::switches::kDisableMediaSource, | 84 ::switches::kDisableMediaSource, |
85 ::switches::kDisablePreferCompositingToLCDText, | 85 ::switches::kDisablePreferCompositingToLCDText, |
86 ::switches::kDisablePrefixedEncryptedMedia, | 86 ::switches::kDisablePrefixedEncryptedMedia, |
87 ::switches::kDisablePanelFitting, | 87 ::switches::kDisablePanelFitting, |
88 ::switches::kDisableSeccompFilterSandbox, | 88 ::switches::kDisableSeccompFilterSandbox, |
89 ::switches::kDisableSetuidSandbox, | 89 ::switches::kDisableSetuidSandbox, |
90 ::switches::kDisableTouchDragDrop, | 90 ::switches::kDisableTouchDragDrop, |
91 ::switches::kDisableTouchEditing, | 91 ::switches::kDisableTouchEditing, |
92 ::switches::kDisableZeroCopy, | 92 ::switches::kDisableZeroCopy, |
93 ::switches::kEnableBeginFrameScheduling, | |
94 ::switches::kEnablePreferCompositingToLCDText, | 93 ::switches::kEnablePreferCompositingToLCDText, |
95 ::switches::kEnableDelegatedRenderer, | 94 ::switches::kEnableDelegatedRenderer, |
96 ::switches::kDisableDisplayList2dCanvas, | 95 ::switches::kDisableDisplayList2dCanvas, |
97 ::switches::kEnableDisplayList2dCanvas, | 96 ::switches::kEnableDisplayList2dCanvas, |
98 ::switches::kEnableEncryptedMedia, | 97 ::switches::kEnableEncryptedMedia, |
99 ::switches::kDisableGpuSandbox, | 98 ::switches::kDisableGpuSandbox, |
100 ::switches::kDisableDeferredFilters, | 99 ::switches::kDisableDeferredFilters, |
101 ::switches::kEnableContainerCulling, | 100 ::switches::kEnableContainerCulling, |
102 ::switches::kEnableDistanceFieldText, | 101 ::switches::kEnableDistanceFieldText, |
103 ::switches::kEnableGpuRasterization, | 102 ::switches::kEnableGpuRasterization, |
(...skipping 65 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
169 ash::switches::kAuraLegacyPowerButton, | 168 ash::switches::kAuraLegacyPowerButton, |
170 // Please keep these in alphabetical order. Non-UI Compositor switches | 169 // Please keep these in alphabetical order. Non-UI Compositor switches |
171 // here should also be added to | 170 // here should also be added to |
172 // content/browser/renderer_host/render_process_host_impl.cc. | 171 // content/browser/renderer_host/render_process_host_impl.cc. |
173 cc::switches::kCompositeToMailbox, | 172 cc::switches::kCompositeToMailbox, |
174 cc::switches::kDisableCompositedAntialiasing, | 173 cc::switches::kDisableCompositedAntialiasing, |
175 cc::switches::kDisableMainFrameBeforeActivation, | 174 cc::switches::kDisableMainFrameBeforeActivation, |
176 cc::switches::kDisableMainFrameBeforeDraw, | 175 cc::switches::kDisableMainFrameBeforeDraw, |
177 cc::switches::kDisablePinchVirtualViewport, | 176 cc::switches::kDisablePinchVirtualViewport, |
178 cc::switches::kDisableThreadedAnimation, | 177 cc::switches::kDisableThreadedAnimation, |
| 178 cc::switches::kEnableBeginFrameScheduling, |
179 cc::switches::kEnableGpuBenchmarking, | 179 cc::switches::kEnableGpuBenchmarking, |
180 cc::switches::kEnablePinchVirtualViewport, | 180 cc::switches::kEnablePinchVirtualViewport, |
181 cc::switches::kEnableMainFrameBeforeActivation, | 181 cc::switches::kEnableMainFrameBeforeActivation, |
182 cc::switches::kEnableTopControlsPositionCalculation, | 182 cc::switches::kEnableTopControlsPositionCalculation, |
183 cc::switches::kMaxTilesForInterestArea, | 183 cc::switches::kMaxTilesForInterestArea, |
184 cc::switches::kMaxUnusedResourceMemoryUsagePercentage, | 184 cc::switches::kMaxUnusedResourceMemoryUsagePercentage, |
185 cc::switches::kShowCompositedLayerBorders, | 185 cc::switches::kShowCompositedLayerBorders, |
186 cc::switches::kShowFPSCounter, | 186 cc::switches::kShowFPSCounter, |
187 cc::switches::kShowLayerAnimationBounds, | 187 cc::switches::kShowLayerAnimationBounds, |
188 cc::switches::kShowNonOccludingRects, | 188 cc::switches::kShowNonOccludingRects, |
(...skipping 180 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
369 // Relaunch chrome without session manager on dev box. | 369 // Relaunch chrome without session manager on dev box. |
370 ReLaunch(command_line); | 370 ReLaunch(command_line); |
371 return; | 371 return; |
372 } | 372 } |
373 | 373 |
374 // ChromeRestartRequest deletes itself after request sent to session manager. | 374 // ChromeRestartRequest deletes itself after request sent to session manager. |
375 (new ChromeRestartRequest(command_line))->Start(); | 375 (new ChromeRestartRequest(command_line))->Start(); |
376 } | 376 } |
377 | 377 |
378 } // namespace chromeos | 378 } // namespace chromeos |
OLD | NEW |