| 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/common/ash_switches.h" | 9 #include "ash/common/ash_switches.h" |
| 10 #include "base/base_switches.h" | 10 #include "base/base_switches.h" |
| (...skipping 88 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 99 ::switches::kDisableSeccompFilterSandbox, | 99 ::switches::kDisableSeccompFilterSandbox, |
| 100 ::switches::kDisableSetuidSandbox, | 100 ::switches::kDisableSetuidSandbox, |
| 101 ::switches::kDisableThreadedScrolling, | 101 ::switches::kDisableThreadedScrolling, |
| 102 ::switches::kDisableTouchDragDrop, | 102 ::switches::kDisableTouchDragDrop, |
| 103 ::switches::kDisableZeroCopy, | 103 ::switches::kDisableZeroCopy, |
| 104 ::switches::kEnableBlinkFeatures, | 104 ::switches::kEnableBlinkFeatures, |
| 105 ::switches::kDisableDisplayList2dCanvas, | 105 ::switches::kDisableDisplayList2dCanvas, |
| 106 ::switches::kEnableDisplayList2dCanvas, | 106 ::switches::kEnableDisplayList2dCanvas, |
| 107 ::switches::kForceDisplayList2dCanvas, | 107 ::switches::kForceDisplayList2dCanvas, |
| 108 ::switches::kEnableCanvas2dDynamicRenderingModeSwitching, | 108 ::switches::kEnableCanvas2dDynamicRenderingModeSwitching, |
| 109 ::switches::kEnableColorCorrectRendering, | |
| 110 ::switches::kDisableGpuSandbox, | 109 ::switches::kDisableGpuSandbox, |
| 111 ::switches::kEnableDistanceFieldText, | 110 ::switches::kEnableDistanceFieldText, |
| 112 ::switches::kEnableGpuAsyncWorkerContext, | 111 ::switches::kEnableGpuAsyncWorkerContext, |
| 113 ::switches::kEnableGpuMemoryBufferVideoFrames, | 112 ::switches::kEnableGpuMemoryBufferVideoFrames, |
| 114 ::switches::kEnableGpuRasterization, | 113 ::switches::kEnableGpuRasterization, |
| 115 ::switches::kEnableLogging, | 114 ::switches::kEnableLogging, |
| 116 ::switches::kEnableLowResTiling, | 115 ::switches::kEnableLowResTiling, |
| 117 ::switches::kDisablePartialRaster, | 116 ::switches::kDisablePartialRaster, |
| 118 ::switches::kEnablePartialRaster, | 117 ::switches::kEnablePartialRaster, |
| 119 ::switches::kEnablePinch, | 118 ::switches::kEnablePinch, |
| (...skipping 71 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 191 chromeos::switches::kDefaultWallpaperSmall, | 190 chromeos::switches::kDefaultWallpaperSmall, |
| 192 chromeos::switches::kGuestWallpaperLarge, | 191 chromeos::switches::kGuestWallpaperLarge, |
| 193 chromeos::switches::kGuestWallpaperSmall, | 192 chromeos::switches::kGuestWallpaperSmall, |
| 194 // Please keep these in alphabetical order. Non-UI Compositor switches | 193 // Please keep these in alphabetical order. Non-UI Compositor switches |
| 195 // here should also be added to | 194 // here should also be added to |
| 196 // content/browser/renderer_host/render_process_host_impl.cc. | 195 // content/browser/renderer_host/render_process_host_impl.cc. |
| 197 cc::switches::kDisableCachedPictureRaster, | 196 cc::switches::kDisableCachedPictureRaster, |
| 198 cc::switches::kDisableCompositedAntialiasing, | 197 cc::switches::kDisableCompositedAntialiasing, |
| 199 cc::switches::kDisableMainFrameBeforeActivation, | 198 cc::switches::kDisableMainFrameBeforeActivation, |
| 200 cc::switches::kDisableThreadedAnimation, | 199 cc::switches::kDisableThreadedAnimation, |
| 200 cc::switches::kEnableColorCorrectRendering, |
| 201 cc::switches::kEnableGpuBenchmarking, | 201 cc::switches::kEnableGpuBenchmarking, |
| 202 cc::switches::kEnableLayerLists, | 202 cc::switches::kEnableLayerLists, |
| 203 cc::switches::kEnableMainFrameBeforeActivation, | 203 cc::switches::kEnableMainFrameBeforeActivation, |
| 204 cc::switches::kShowCompositedLayerBorders, | 204 cc::switches::kShowCompositedLayerBorders, |
| 205 cc::switches::kShowFPSCounter, | 205 cc::switches::kShowFPSCounter, |
| 206 cc::switches::kShowLayerAnimationBounds, | 206 cc::switches::kShowLayerAnimationBounds, |
| 207 cc::switches::kShowPropertyChangedRects, | 207 cc::switches::kShowPropertyChangedRects, |
| 208 cc::switches::kShowReplicaScreenSpaceRects, | 208 cc::switches::kShowReplicaScreenSpaceRects, |
| 209 cc::switches::kShowScreenSpaceRects, | 209 cc::switches::kShowScreenSpaceRects, |
| 210 cc::switches::kShowSurfaceDamageRects, | 210 cc::switches::kShowSurfaceDamageRects, |
| (...skipping 154 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 365 // Relaunch chrome without session manager on dev box. | 365 // Relaunch chrome without session manager on dev box. |
| 366 ReLaunch(command_line); | 366 ReLaunch(command_line); |
| 367 return; | 367 return; |
| 368 } | 368 } |
| 369 | 369 |
| 370 // ChromeRestartRequest deletes itself after request sent to session manager. | 370 // ChromeRestartRequest deletes itself after request sent to session manager. |
| 371 (new ChromeRestartRequest(command_line.argv()))->Start(); | 371 (new ChromeRestartRequest(command_line.argv()))->Start(); |
| 372 } | 372 } |
| 373 | 373 |
| 374 } // namespace chromeos | 374 } // namespace chromeos |
| OLD | NEW |