Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(36)

Side by Side Diff: chrome/browser/chromeos/login/chrome_restart_request.cc

Issue 189883009: Define a --force-gpu-rasterization flag (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 6 years, 9 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch | Annotate | Revision Log
OLDNEW
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 58 matching lines...) Expand 10 before | Expand all | Expand 10 after
69 ::switches::kDisableAccelerated2dCanvas, 69 ::switches::kDisableAccelerated2dCanvas,
70 ::switches::kDisableAcceleratedOverflowScroll, 70 ::switches::kDisableAcceleratedOverflowScroll,
71 ::switches::kDisableAcceleratedVideoDecode, 71 ::switches::kDisableAcceleratedVideoDecode,
72 ::switches::kDisableBrowserPluginCompositing, 72 ::switches::kDisableBrowserPluginCompositing,
73 ::switches::kDisableDelegatedRenderer, 73 ::switches::kDisableDelegatedRenderer,
74 ::switches::kDisableFiltersOverIPC, 74 ::switches::kDisableFiltersOverIPC,
75 ::switches::kDisableForceCompositingMode, 75 ::switches::kDisableForceCompositingMode,
76 ::switches::kDisableGpuShaderDiskCache, 76 ::switches::kDisableGpuShaderDiskCache,
77 ::switches::kDisableGpuWatchdog, 77 ::switches::kDisableGpuWatchdog,
78 ::switches::kDisableGpuCompositing, 78 ::switches::kDisableGpuCompositing,
79 ::switches::kDisableGpuRasterization,
80 ::switches::kDisableImplSidePainting,
81 ::switches::kDisableMapImage,
79 ::switches::kDisablePrefixedEncryptedMedia, 82 ::switches::kDisablePrefixedEncryptedMedia,
80 ::switches::kDisablePanelFitting, 83 ::switches::kDisablePanelFitting,
81 ::switches::kDisableRepaintAfterLayout, 84 ::switches::kDisableRepaintAfterLayout,
82 ::switches::kDisableSeccompFilterSandbox, 85 ::switches::kDisableSeccompFilterSandbox,
83 ::switches::kDisableSetuidSandbox, 86 ::switches::kDisableSetuidSandbox,
84 ::switches::kDisableThreadedCompositing, 87 ::switches::kDisableThreadedCompositing,
85 ::switches::kDisableTouchDragDrop, 88 ::switches::kDisableTouchDragDrop,
86 ::switches::kDisableTouchEditing, 89 ::switches::kDisableTouchEditing,
87 ::switches::kDisableUniversalAcceleratedOverflowScroll, 90 ::switches::kDisableUniversalAcceleratedOverflowScroll,
88 ::switches::kDisableUnprefixedMediaSource, 91 ::switches::kDisableUnprefixedMediaSource,
89 ::switches::kDisableWebKitMediaSource, 92 ::switches::kDisableWebKitMediaSource,
90 ::switches::kDisableAcceleratedFixedRootBackground, 93 ::switches::kDisableAcceleratedFixedRootBackground,
91 ::switches::kEnableAcceleratedFixedRootBackground, 94 ::switches::kEnableAcceleratedFixedRootBackground,
92 ::switches::kEnableAcceleratedOverflowScroll, 95 ::switches::kEnableAcceleratedOverflowScroll,
93 ::switches::kEnableBeginFrameScheduling, 96 ::switches::kEnableBeginFrameScheduling,
94 ::switches::kEnableCompositingForFixedPosition, 97 ::switches::kEnableCompositingForFixedPosition,
95 ::switches::kEnableDelegatedRenderer, 98 ::switches::kEnableDelegatedRenderer,
96 ::switches::kEnableEncryptedMedia, 99 ::switches::kEnableEncryptedMedia,
97 ::switches::kEnableGestureTapHighlight, 100 ::switches::kEnableGestureTapHighlight,
98 ::switches::kDisableGestureTapHighlight, 101 ::switches::kDisableGestureTapHighlight,
99 ::switches::kDisableGpuSandbox, 102 ::switches::kDisableGpuSandbox,
100 ::switches::kEnableDeferredFilters, 103 ::switches::kEnableDeferredFilters,
104 ::switches::kEnableGpuRasterization,
105 ::switches::kEnableImplSidePainting,
101 ::switches::kEnableLogging, 106 ::switches::kEnableLogging,
107 ::switches::kEnableMapImage,
102 ::switches::kEnablePinch, 108 ::switches::kEnablePinch,
103 ::switches::kEnableRepaintAfterLayout, 109 ::switches::kEnableRepaintAfterLayout,
104 ::switches::kEnableThreadedCompositing, 110 ::switches::kEnableThreadedCompositing,
105 ::switches::kEnableTouchDragDrop, 111 ::switches::kEnableTouchDragDrop,
106 ::switches::kEnableTouchEditing, 112 ::switches::kEnableTouchEditing,
107 ::switches::kEnableUniversalAcceleratedOverflowScroll, 113 ::switches::kEnableUniversalAcceleratedOverflowScroll,
108 ::switches::kEnableViewport, 114 ::switches::kEnableViewport,
109 ::switches::kEnableViewportMeta, 115 ::switches::kEnableViewportMeta,
110 ::switches::kMainFrameResizesAreOrientationChanges, 116 ::switches::kMainFrameResizesAreOrientationChanges,
111 ::switches::kForceDeviceScaleFactor, 117 ::switches::kForceDeviceScaleFactor,
118 ::switches::kForceGpuRasterization,
112 ::switches::kGpuStartupDialog, 119 ::switches::kGpuStartupDialog,
113 ::switches::kGpuSandboxAllowSysVShm, 120 ::switches::kGpuSandboxAllowSysVShm,
114 ::switches::kMultiProfiles, 121 ::switches::kMultiProfiles,
115 ::switches::kNoSandbox, 122 ::switches::kNoSandbox,
116 ::switches::kNumRasterThreads, 123 ::switches::kNumRasterThreads,
117 ::switches::kPpapiFlashArgs, 124 ::switches::kPpapiFlashArgs,
118 ::switches::kPpapiFlashPath, 125 ::switches::kPpapiFlashPath,
119 ::switches::kPpapiFlashVersion, 126 ::switches::kPpapiFlashVersion,
120 ::switches::kPpapiInProcess, 127 ::switches::kPpapiInProcess,
121 ::switches::kRendererStartupDialog, 128 ::switches::kRendererStartupDialog,
(...skipping 30 matching lines...) Expand all
152 ash::switches::kAshHostWindowBounds, 159 ash::switches::kAshHostWindowBounds,
153 ash::switches::kAshTouchHud, 160 ash::switches::kAshTouchHud,
154 ash::switches::kAuraLegacyPowerButton, 161 ash::switches::kAuraLegacyPowerButton,
155 // Please keep these in alphabetical order. Non-UI Compositor switches 162 // Please keep these in alphabetical order. Non-UI Compositor switches
156 // here should also be added to 163 // here should also be added to
157 // content/browser/renderer_host/render_process_host_impl.cc. 164 // content/browser/renderer_host/render_process_host_impl.cc.
158 cc::switches::kBackgroundColorInsteadOfCheckerboard, 165 cc::switches::kBackgroundColorInsteadOfCheckerboard,
159 cc::switches::kCompositeToMailbox, 166 cc::switches::kCompositeToMailbox,
160 cc::switches::kDisableCompositedAntialiasing, 167 cc::switches::kDisableCompositedAntialiasing,
161 cc::switches::kDisableCompositorTouchHitTesting, 168 cc::switches::kDisableCompositorTouchHitTesting,
162 cc::switches::kDisableGPURasterization,
163 cc::switches::kDisableImplSidePainting,
164 cc::switches::kDisableMapImage,
165 cc::switches::kDisableThreadedAnimation, 169 cc::switches::kDisableThreadedAnimation,
166 cc::switches::kEnableGpuBenchmarking, 170 cc::switches::kEnableGpuBenchmarking,
167 cc::switches::kEnableGPURasterization,
168 cc::switches::kEnableImplSidePainting,
169 cc::switches::kEnableMapImage,
170 cc::switches::kEnablePinchVirtualViewport, 171 cc::switches::kEnablePinchVirtualViewport,
171 cc::switches::kEnableTopControlsPositionCalculation, 172 cc::switches::kEnableTopControlsPositionCalculation,
172 cc::switches::kMaxTilesForInterestArea, 173 cc::switches::kMaxTilesForInterestArea,
173 cc::switches::kMaxUnusedResourceMemoryUsagePercentage, 174 cc::switches::kMaxUnusedResourceMemoryUsagePercentage,
174 cc::switches::kShowCompositedLayerBorders, 175 cc::switches::kShowCompositedLayerBorders,
175 cc::switches::kShowFPSCounter, 176 cc::switches::kShowFPSCounter,
176 cc::switches::kShowLayerAnimationBounds, 177 cc::switches::kShowLayerAnimationBounds,
177 cc::switches::kShowNonOccludingRects, 178 cc::switches::kShowNonOccludingRects,
178 cc::switches::kShowOccludingRects, 179 cc::switches::kShowOccludingRects,
179 cc::switches::kShowPropertyChangedRects, 180 cc::switches::kShowPropertyChangedRects,
(...skipping 170 matching lines...) Expand 10 before | Expand all | Expand 10 after
350 // Relaunch chrome without session manager on dev box. 351 // Relaunch chrome without session manager on dev box.
351 ReLaunch(command_line); 352 ReLaunch(command_line);
352 return; 353 return;
353 } 354 }
354 355
355 // ChromeRestartRequest deletes itself after request sent to session manager. 356 // ChromeRestartRequest deletes itself after request sent to session manager.
356 (new ChromeRestartRequest(command_line))->Start(); 357 (new ChromeRestartRequest(command_line))->Start();
357 } 358 }
358 359
359 } // namespace chromeos 360 } // namespace chromeos
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698