| 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 78 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 89 ::switches::kDisablePreferCompositingToLCDText, | 89 ::switches::kDisablePreferCompositingToLCDText, |
| 90 ::switches::kDisablePrefixedEncryptedMedia, | 90 ::switches::kDisablePrefixedEncryptedMedia, |
| 91 ::switches::kDisablePanelFitting, | 91 ::switches::kDisablePanelFitting, |
| 92 ::switches::kDisableSeccompFilterSandbox, | 92 ::switches::kDisableSeccompFilterSandbox, |
| 93 ::switches::kDisableSetuidSandbox, | 93 ::switches::kDisableSetuidSandbox, |
| 94 ::switches::kDisableSurfaces, | 94 ::switches::kDisableSurfaces, |
| 95 ::switches::kDisableTextBlobs, | 95 ::switches::kDisableTextBlobs, |
| 96 ::switches::kDisableThreadedScrolling, | 96 ::switches::kDisableThreadedScrolling, |
| 97 ::switches::kDisableTouchDragDrop, | 97 ::switches::kDisableTouchDragDrop, |
| 98 ::switches::kDisableTouchEditing, | 98 ::switches::kDisableTouchEditing, |
| 99 ::switches::kEnableBeginFrameScheduling, | |
| 100 ::switches::kEnableBlinkFeatures, | 99 ::switches::kEnableBlinkFeatures, |
| 101 ::switches::kEnableCompositorAnimationTimelines, | 100 ::switches::kEnableCompositorAnimationTimelines, |
| 102 ::switches::kEnableDelegatedRenderer, | 101 ::switches::kEnableDelegatedRenderer, |
| 103 ::switches::kDisableDisplayList2dCanvas, | 102 ::switches::kDisableDisplayList2dCanvas, |
| 104 ::switches::kEnableDisplayList2dCanvas, | 103 ::switches::kEnableDisplayList2dCanvas, |
| 105 ::switches::kForceDisplayList2dCanvas, | 104 ::switches::kForceDisplayList2dCanvas, |
| 106 ::switches::kDisableEncryptedMedia, | 105 ::switches::kDisableEncryptedMedia, |
| 107 ::switches::kDisableGpuSandbox, | 106 ::switches::kDisableGpuSandbox, |
| 108 ::switches::kEnableDistanceFieldText, | 107 ::switches::kEnableDistanceFieldText, |
| 109 ::switches::kEnableGpuRasterization, | 108 ::switches::kEnableGpuRasterization, |
| (...skipping 69 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 179 chromeos::switches::kGuestWallpaperLarge, | 178 chromeos::switches::kGuestWallpaperLarge, |
| 180 chromeos::switches::kGuestWallpaperSmall, | 179 chromeos::switches::kGuestWallpaperSmall, |
| 181 // Please keep these in alphabetical order. Non-UI Compositor switches | 180 // Please keep these in alphabetical order. Non-UI Compositor switches |
| 182 // here should also be added to | 181 // here should also be added to |
| 183 // content/browser/renderer_host/render_process_host_impl.cc. | 182 // content/browser/renderer_host/render_process_host_impl.cc. |
| 184 cc::switches::kCompositeToMailbox, | 183 cc::switches::kCompositeToMailbox, |
| 185 cc::switches::kDisableCompositedAntialiasing, | 184 cc::switches::kDisableCompositedAntialiasing, |
| 186 cc::switches::kDisableMainFrameBeforeActivation, | 185 cc::switches::kDisableMainFrameBeforeActivation, |
| 187 cc::switches::kDisablePinchVirtualViewport, | 186 cc::switches::kDisablePinchVirtualViewport, |
| 188 cc::switches::kDisableThreadedAnimation, | 187 cc::switches::kDisableThreadedAnimation, |
| 188 cc::switches::kEnableBeginFrameScheduling, |
| 189 cc::switches::kEnableGpuBenchmarking, | 189 cc::switches::kEnableGpuBenchmarking, |
| 190 cc::switches::kEnablePinchVirtualViewport, | 190 cc::switches::kEnablePinchVirtualViewport, |
| 191 cc::switches::kEnablePropertyTreeVerification, | 191 cc::switches::kEnablePropertyTreeVerification, |
| 192 cc::switches::kEnableMainFrameBeforeActivation, | 192 cc::switches::kEnableMainFrameBeforeActivation, |
| 193 cc::switches::kMaxUnusedResourceMemoryUsagePercentage, | 193 cc::switches::kMaxUnusedResourceMemoryUsagePercentage, |
| 194 cc::switches::kShowCompositedLayerBorders, | 194 cc::switches::kShowCompositedLayerBorders, |
| 195 cc::switches::kShowFPSCounter, | 195 cc::switches::kShowFPSCounter, |
| 196 cc::switches::kShowLayerAnimationBounds, | 196 cc::switches::kShowLayerAnimationBounds, |
| 197 cc::switches::kShowPropertyChangedRects, | 197 cc::switches::kShowPropertyChangedRects, |
| 198 cc::switches::kShowReplicaScreenSpaceRects, | 198 cc::switches::kShowReplicaScreenSpaceRects, |
| (...skipping 176 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 375 // Relaunch chrome without session manager on dev box. | 375 // Relaunch chrome without session manager on dev box. |
| 376 ReLaunch(command_line); | 376 ReLaunch(command_line); |
| 377 return; | 377 return; |
| 378 } | 378 } |
| 379 | 379 |
| 380 // ChromeRestartRequest deletes itself after request sent to session manager. | 380 // ChromeRestartRequest deletes itself after request sent to session manager. |
| 381 (new ChromeRestartRequest(command_line))->Start(); | 381 (new ChromeRestartRequest(command_line))->Start(); |
| 382 } | 382 } |
| 383 | 383 |
| 384 } // namespace chromeos | 384 } // namespace chromeos |
| OLD | NEW |