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

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

Issue 181063022: cc: Trigger GPU rasterization based on a per-layer hint (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Use a single switch with string values 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 146 matching lines...) Expand 10 before | Expand all | Expand 10 after
157 ash::switches::kAshHostWindowBounds, 157 ash::switches::kAshHostWindowBounds,
158 ash::switches::kAshTouchHud, 158 ash::switches::kAshTouchHud,
159 ash::switches::kAuraLegacyPowerButton, 159 ash::switches::kAuraLegacyPowerButton,
160 // Please keep these in alphabetical order. Non-UI Compositor switches 160 // Please keep these in alphabetical order. Non-UI Compositor switches
161 // here should also be added to 161 // here should also be added to
162 // content/browser/renderer_host/render_process_host_impl.cc. 162 // content/browser/renderer_host/render_process_host_impl.cc.
163 cc::switches::kBackgroundColorInsteadOfCheckerboard, 163 cc::switches::kBackgroundColorInsteadOfCheckerboard,
164 cc::switches::kCompositeToMailbox, 164 cc::switches::kCompositeToMailbox,
165 cc::switches::kDisableCompositedAntialiasing, 165 cc::switches::kDisableCompositedAntialiasing,
166 cc::switches::kDisableCompositorTouchHitTesting, 166 cc::switches::kDisableCompositorTouchHitTesting,
167 cc::switches::kDisableGPURasterization,
168 cc::switches::kDisableImplSidePainting, 167 cc::switches::kDisableImplSidePainting,
169 cc::switches::kDisableMapImage, 168 cc::switches::kDisableMapImage,
170 cc::switches::kDisableThreadedAnimation, 169 cc::switches::kDisableThreadedAnimation,
171 cc::switches::kEnableGpuBenchmarking, 170 cc::switches::kEnableGpuBenchmarking,
172 cc::switches::kEnableGPURasterization,
173 cc::switches::kEnableImplSidePainting, 171 cc::switches::kEnableImplSidePainting,
174 cc::switches::kEnableMapImage, 172 cc::switches::kEnableMapImage,
175 cc::switches::kEnablePinchVirtualViewport, 173 cc::switches::kEnablePinchVirtualViewport,
176 cc::switches::kEnableTopControlsPositionCalculation, 174 cc::switches::kEnableTopControlsPositionCalculation,
177 cc::switches::kMaxTilesForInterestArea, 175 cc::switches::kMaxTilesForInterestArea,
178 cc::switches::kMaxUnusedResourceMemoryUsagePercentage, 176 cc::switches::kMaxUnusedResourceMemoryUsagePercentage,
177 cc::switches::kRasterizationSite,
179 cc::switches::kShowCompositedLayerBorders, 178 cc::switches::kShowCompositedLayerBorders,
180 cc::switches::kShowFPSCounter, 179 cc::switches::kShowFPSCounter,
181 cc::switches::kShowLayerAnimationBounds, 180 cc::switches::kShowLayerAnimationBounds,
182 cc::switches::kShowNonOccludingRects, 181 cc::switches::kShowNonOccludingRects,
183 cc::switches::kShowOccludingRects, 182 cc::switches::kShowOccludingRects,
184 cc::switches::kShowPropertyChangedRects, 183 cc::switches::kShowPropertyChangedRects,
185 cc::switches::kShowReplicaScreenSpaceRects, 184 cc::switches::kShowReplicaScreenSpaceRects,
186 cc::switches::kShowScreenSpaceRects, 185 cc::switches::kShowScreenSpaceRects,
187 cc::switches::kShowSurfaceDamageRects, 186 cc::switches::kShowSurfaceDamageRects,
188 cc::switches::kSlowDownRasterScaleFactor, 187 cc::switches::kSlowDownRasterScaleFactor,
(...skipping 166 matching lines...) Expand 10 before | Expand all | Expand 10 after
355 // Relaunch chrome without session manager on dev box. 354 // Relaunch chrome without session manager on dev box.
356 ReLaunch(command_line); 355 ReLaunch(command_line);
357 return; 356 return;
358 } 357 }
359 358
360 // ChromeRestartRequest deletes itself after request sent to session manager. 359 // ChromeRestartRequest deletes itself after request sent to session manager.
361 (new ChromeRestartRequest(command_line))->Start(); 360 (new ChromeRestartRequest(command_line))->Start();
362 } 361 }
363 362
364 } // namespace chromeos 363 } // namespace chromeos
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698