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 <sys/socket.h> | 7 #include <sys/socket.h> |
8 #include <vector> | 8 #include <vector> |
9 | 9 |
10 #include "ash/ash_switches.h" | 10 #include "ash/ash_switches.h" |
(...skipping 86 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
97 ::switches::kDisablePreferCompositingToLCDText, | 97 ::switches::kDisablePreferCompositingToLCDText, |
98 ::switches::kDisablePanelFitting, | 98 ::switches::kDisablePanelFitting, |
99 ::switches::kDisableRGBA4444Textures, | 99 ::switches::kDisableRGBA4444Textures, |
100 ::switches::kDisableSeccompFilterSandbox, | 100 ::switches::kDisableSeccompFilterSandbox, |
101 ::switches::kDisableSetuidSandbox, | 101 ::switches::kDisableSetuidSandbox, |
102 ::switches::kDisableSlimmingPaintInvalidation, | 102 ::switches::kDisableSlimmingPaintInvalidation, |
103 ::switches::kDisableThreadedScrolling, | 103 ::switches::kDisableThreadedScrolling, |
104 ::switches::kDisableTouchDragDrop, | 104 ::switches::kDisableTouchDragDrop, |
105 ::switches::kDisableZeroCopy, | 105 ::switches::kDisableZeroCopy, |
106 ::switches::kEnableBlinkFeatures, | 106 ::switches::kEnableBlinkFeatures, |
| 107 ::switches::kEnableColorCorrectRendering, |
107 ::switches::kDisableDisplayList2dCanvas, | 108 ::switches::kDisableDisplayList2dCanvas, |
108 ::switches::kEnableDisplayList2dCanvas, | 109 ::switches::kEnableDisplayList2dCanvas, |
109 ::switches::kForceDisplayList2dCanvas, | 110 ::switches::kForceDisplayList2dCanvas, |
110 ::switches::kEnableCanvas2dDynamicRenderingModeSwitching, | 111 ::switches::kEnableCanvas2dDynamicRenderingModeSwitching, |
111 ::switches::kDisableGpuSandbox, | 112 ::switches::kDisableGpuSandbox, |
112 ::switches::kEnableDistanceFieldText, | 113 ::switches::kEnableDistanceFieldText, |
113 ::switches::kEnableGpuAsyncWorkerContext, | 114 ::switches::kEnableGpuAsyncWorkerContext, |
114 ::switches::kEnableGpuMemoryBufferVideoFrames, | 115 ::switches::kEnableGpuMemoryBufferVideoFrames, |
115 ::switches::kEnableGpuRasterization, | 116 ::switches::kEnableGpuRasterization, |
116 ::switches::kEnableLogging, | 117 ::switches::kEnableLogging, |
(...skipping 71 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
188 chromeos::switches::kDefaultWallpaperLarge, | 189 chromeos::switches::kDefaultWallpaperLarge, |
189 chromeos::switches::kDefaultWallpaperSmall, | 190 chromeos::switches::kDefaultWallpaperSmall, |
190 chromeos::switches::kGuestWallpaperLarge, | 191 chromeos::switches::kGuestWallpaperLarge, |
191 chromeos::switches::kGuestWallpaperSmall, | 192 chromeos::switches::kGuestWallpaperSmall, |
192 // Please keep these in alphabetical order. Non-UI Compositor switches | 193 // Please keep these in alphabetical order. Non-UI Compositor switches |
193 // here should also be added to | 194 // here should also be added to |
194 // content/browser/renderer_host/render_process_host_impl.cc. | 195 // content/browser/renderer_host/render_process_host_impl.cc. |
195 cc::switches::kDisableCompositedAntialiasing, | 196 cc::switches::kDisableCompositedAntialiasing, |
196 cc::switches::kDisableMainFrameBeforeActivation, | 197 cc::switches::kDisableMainFrameBeforeActivation, |
197 cc::switches::kDisableThreadedAnimation, | 198 cc::switches::kDisableThreadedAnimation, |
198 cc::switches::kEnableColorCorrectRendering, | |
199 cc::switches::kEnableGpuBenchmarking, | 199 cc::switches::kEnableGpuBenchmarking, |
200 cc::switches::kEnableLayerLists, | 200 cc::switches::kEnableLayerLists, |
201 cc::switches::kEnableMainFrameBeforeActivation, | 201 cc::switches::kEnableMainFrameBeforeActivation, |
202 cc::switches::kShowCompositedLayerBorders, | 202 cc::switches::kShowCompositedLayerBorders, |
203 cc::switches::kShowFPSCounter, | 203 cc::switches::kShowFPSCounter, |
204 cc::switches::kShowLayerAnimationBounds, | 204 cc::switches::kShowLayerAnimationBounds, |
205 cc::switches::kShowPropertyChangedRects, | 205 cc::switches::kShowPropertyChangedRects, |
206 cc::switches::kShowScreenSpaceRects, | 206 cc::switches::kShowScreenSpaceRects, |
207 cc::switches::kShowSurfaceDamageRects, | 207 cc::switches::kShowSurfaceDamageRects, |
208 cc::switches::kSlowDownRasterScaleFactor, | 208 cc::switches::kSlowDownRasterScaleFactor, |
(...skipping 183 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
392 // Relaunch chrome without session manager on dev box. | 392 // Relaunch chrome without session manager on dev box. |
393 ReLaunch(command_line); | 393 ReLaunch(command_line); |
394 return; | 394 return; |
395 } | 395 } |
396 | 396 |
397 // ChromeRestartRequest deletes itself after request sent to session manager. | 397 // ChromeRestartRequest deletes itself after request sent to session manager. |
398 (new ChromeRestartRequest(command_line.argv()))->Start(); | 398 (new ChromeRestartRequest(command_line.argv()))->Start(); |
399 } | 399 } |
400 | 400 |
401 } // namespace chromeos | 401 } // namespace chromeos |
OLD | NEW |