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