| 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 "base/command_line.h" | 9 #include "base/command_line.h" |
| 10 #include "base/memory/weak_ptr.h" | 10 #include "base/memory/weak_ptr.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::kDisableTextBlobs, | 94 ::switches::kDisableTextBlobs, |
| 95 ::switches::kDisableThreadedScrolling, | 95 ::switches::kDisableThreadedScrolling, |
| 96 ::switches::kDisableTouchDragDrop, | 96 ::switches::kDisableTouchDragDrop, |
| 97 ::switches::kDisableTouchEditing, | 97 ::switches::kDisableTouchEditing, |
| 98 ::switches::kEnableAcceleratedJpegDecoding, | 98 ::switches::kEnableAcceleratedJpegDecoding, |
| 99 ::switches::kEnableBeginFrameScheduling, | |
| 100 ::switches::kEnablePreferCompositingToLCDText, | 99 ::switches::kEnablePreferCompositingToLCDText, |
| 101 ::switches::kEnableDelegatedRenderer, | 100 ::switches::kEnableDelegatedRenderer, |
| 102 ::switches::kDisableDisplayList2dCanvas, | 101 ::switches::kDisableDisplayList2dCanvas, |
| 103 ::switches::kEnableDisplayList2dCanvas, | 102 ::switches::kEnableDisplayList2dCanvas, |
| 104 ::switches::kForceDisplayList2dCanvas, | 103 ::switches::kForceDisplayList2dCanvas, |
| 105 ::switches::kEnableEncryptedMedia, | 104 ::switches::kEnableEncryptedMedia, |
| 106 ::switches::kDisableGpuSandbox, | 105 ::switches::kDisableGpuSandbox, |
| 107 ::switches::kEnableDistanceFieldText, | 106 ::switches::kEnableDistanceFieldText, |
| 108 ::switches::kEnableGpuRasterization, | 107 ::switches::kEnableGpuRasterization, |
| 109 ::switches::kEnableImageColorProfiles, | 108 ::switches::kEnableImageColorProfiles, |
| (...skipping 70 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 180 ash::switches::kAuraLegacyPowerButton, | 179 ash::switches::kAuraLegacyPowerButton, |
| 181 #endif | 180 #endif |
| 182 // Please keep these in alphabetical order. Non-UI Compositor switches | 181 // Please keep these in alphabetical order. Non-UI Compositor switches |
| 183 // here should also be added to | 182 // here should also be added to |
| 184 // content/browser/renderer_host/render_process_host_impl.cc. | 183 // content/browser/renderer_host/render_process_host_impl.cc. |
| 185 cc::switches::kCompositeToMailbox, | 184 cc::switches::kCompositeToMailbox, |
| 186 cc::switches::kDisableCompositedAntialiasing, | 185 cc::switches::kDisableCompositedAntialiasing, |
| 187 cc::switches::kDisableMainFrameBeforeActivation, | 186 cc::switches::kDisableMainFrameBeforeActivation, |
| 188 cc::switches::kDisablePinchVirtualViewport, | 187 cc::switches::kDisablePinchVirtualViewport, |
| 189 cc::switches::kDisableThreadedAnimation, | 188 cc::switches::kDisableThreadedAnimation, |
| 189 cc::switches::kEnableBeginFrameScheduling, |
| 190 cc::switches::kEnableGpuBenchmarking, | 190 cc::switches::kEnableGpuBenchmarking, |
| 191 cc::switches::kEnablePinchVirtualViewport, | 191 cc::switches::kEnablePinchVirtualViewport, |
| 192 cc::switches::kEnableMainFrameBeforeActivation, | 192 cc::switches::kEnableMainFrameBeforeActivation, |
| 193 cc::switches::kEnableTopControlsPositionCalculation, | 193 cc::switches::kEnableTopControlsPositionCalculation, |
| 194 cc::switches::kMaxTilesForInterestArea, | 194 cc::switches::kMaxTilesForInterestArea, |
| 195 cc::switches::kMaxUnusedResourceMemoryUsagePercentage, | 195 cc::switches::kMaxUnusedResourceMemoryUsagePercentage, |
| 196 cc::switches::kShowCompositedLayerBorders, | 196 cc::switches::kShowCompositedLayerBorders, |
| 197 cc::switches::kShowFPSCounter, | 197 cc::switches::kShowFPSCounter, |
| 198 cc::switches::kShowLayerAnimationBounds, | 198 cc::switches::kShowLayerAnimationBounds, |
| 199 cc::switches::kShowNonOccludingRects, | 199 cc::switches::kShowNonOccludingRects, |
| (...skipping 180 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 380 // Relaunch chrome without session manager on dev box. | 380 // Relaunch chrome without session manager on dev box. |
| 381 ReLaunch(command_line); | 381 ReLaunch(command_line); |
| 382 return; | 382 return; |
| 383 } | 383 } |
| 384 | 384 |
| 385 // ChromeRestartRequest deletes itself after request sent to session manager. | 385 // ChromeRestartRequest deletes itself after request sent to session manager. |
| 386 (new ChromeRestartRequest(command_line))->Start(); | 386 (new ChromeRestartRequest(command_line))->Start(); |
| 387 } | 387 } |
| 388 | 388 |
| 389 } // namespace chromeos | 389 } // namespace chromeos |
| OLD | NEW |