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

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: Rebased 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 143 matching lines...) Expand 10 before | Expand all | Expand 10 after
154 ash::switches::kAshHostWindowBounds, 154 ash::switches::kAshHostWindowBounds,
155 ash::switches::kAshTouchHud, 155 ash::switches::kAshTouchHud,
156 ash::switches::kAuraLegacyPowerButton, 156 ash::switches::kAuraLegacyPowerButton,
157 // Please keep these in alphabetical order. Non-UI Compositor switches 157 // Please keep these in alphabetical order. Non-UI Compositor switches
158 // here should also be added to 158 // here should also be added to
159 // content/browser/renderer_host/render_process_host_impl.cc. 159 // content/browser/renderer_host/render_process_host_impl.cc.
160 cc::switches::kBackgroundColorInsteadOfCheckerboard, 160 cc::switches::kBackgroundColorInsteadOfCheckerboard,
161 cc::switches::kCompositeToMailbox, 161 cc::switches::kCompositeToMailbox,
162 cc::switches::kDisableCompositedAntialiasing, 162 cc::switches::kDisableCompositedAntialiasing,
163 cc::switches::kDisableCompositorTouchHitTesting, 163 cc::switches::kDisableCompositorTouchHitTesting,
164 cc::switches::kDisableGPURasterization,
165 cc::switches::kDisableImplSidePainting, 164 cc::switches::kDisableImplSidePainting,
166 cc::switches::kDisableMapImage, 165 cc::switches::kDisableMapImage,
167 cc::switches::kDisableThreadedAnimation, 166 cc::switches::kDisableThreadedAnimation,
168 cc::switches::kEnableGpuBenchmarking, 167 cc::switches::kEnableGpuBenchmarking,
169 cc::switches::kEnableGPURasterization,
170 cc::switches::kEnableImplSidePainting, 168 cc::switches::kEnableImplSidePainting,
171 cc::switches::kEnableMapImage, 169 cc::switches::kEnableMapImage,
172 cc::switches::kEnablePinchVirtualViewport, 170 cc::switches::kEnablePinchVirtualViewport,
173 cc::switches::kEnableTopControlsPositionCalculation, 171 cc::switches::kEnableTopControlsPositionCalculation,
174 cc::switches::kMaxTilesForInterestArea, 172 cc::switches::kMaxTilesForInterestArea,
175 cc::switches::kMaxUnusedResourceMemoryUsagePercentage, 173 cc::switches::kMaxUnusedResourceMemoryUsagePercentage,
174 cc::switches::kRasterizationSite,
176 cc::switches::kShowCompositedLayerBorders, 175 cc::switches::kShowCompositedLayerBorders,
177 cc::switches::kShowFPSCounter, 176 cc::switches::kShowFPSCounter,
178 cc::switches::kShowLayerAnimationBounds, 177 cc::switches::kShowLayerAnimationBounds,
179 cc::switches::kShowNonOccludingRects, 178 cc::switches::kShowNonOccludingRects,
180 cc::switches::kShowOccludingRects, 179 cc::switches::kShowOccludingRects,
181 cc::switches::kShowPropertyChangedRects, 180 cc::switches::kShowPropertyChangedRects,
182 cc::switches::kShowReplicaScreenSpaceRects, 181 cc::switches::kShowReplicaScreenSpaceRects,
183 cc::switches::kShowScreenSpaceRects, 182 cc::switches::kShowScreenSpaceRects,
184 cc::switches::kShowSurfaceDamageRects, 183 cc::switches::kShowSurfaceDamageRects,
185 cc::switches::kSlowDownRasterScaleFactor, 184 cc::switches::kSlowDownRasterScaleFactor,
(...skipping 166 matching lines...) Expand 10 before | Expand all | Expand 10 after
352 // Relaunch chrome without session manager on dev box. 351 // Relaunch chrome without session manager on dev box.
353 ReLaunch(command_line); 352 ReLaunch(command_line);
354 return; 353 return;
355 } 354 }
356 355
357 // ChromeRestartRequest deletes itself after request sent to session manager. 356 // ChromeRestartRequest deletes itself after request sent to session manager.
358 (new ChromeRestartRequest(command_line))->Start(); 357 (new ChromeRestartRequest(command_line))->Start();
359 } 358 }
360 359
361 } // namespace chromeos 360 } // namespace chromeos
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698