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

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

Issue 23907006: cc: Allow sending BeginMainFrame before draw or activation (Closed) Base URL: http://git.chromium.org/chromium/src.git@schedDeadline3
Patch Set: fix typo Created 6 years, 10 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
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 156 matching lines...) Expand 10 before | Expand all | Expand 10 after
167 // Please keep these in alphabetical order. Non-UI Compositor switches 167 // Please keep these in alphabetical order. Non-UI Compositor switches
168 // here should also be added to 168 // here should also be added to
169 // content/browser/renderer_host/render_process_host_impl.cc. 169 // content/browser/renderer_host/render_process_host_impl.cc.
170 cc::switches::kBackgroundColorInsteadOfCheckerboard, 170 cc::switches::kBackgroundColorInsteadOfCheckerboard,
171 cc::switches::kCompositeToMailbox, 171 cc::switches::kCompositeToMailbox,
172 cc::switches::kDisableCompositedAntialiasing, 172 cc::switches::kDisableCompositedAntialiasing,
173 cc::switches::kDisableCompositorTouchHitTesting, 173 cc::switches::kDisableCompositorTouchHitTesting,
174 cc::switches::kDisableGPURasterization, 174 cc::switches::kDisableGPURasterization,
175 cc::switches::kDisableImplSidePainting, 175 cc::switches::kDisableImplSidePainting,
176 cc::switches::kDisableMapImage, 176 cc::switches::kDisableMapImage,
177 cc::switches::kDisableStartCommitBeforeActivate,
178 cc::switches::kDisableStartCommitBeforeDraw,
177 cc::switches::kDisableThreadedAnimation, 179 cc::switches::kDisableThreadedAnimation,
178 cc::switches::kEnableGpuBenchmarking, 180 cc::switches::kEnableGpuBenchmarking,
179 cc::switches::kEnableGPURasterization, 181 cc::switches::kEnableGPURasterization,
180 cc::switches::kEnableImplSidePainting, 182 cc::switches::kEnableImplSidePainting,
181 cc::switches::kEnableMapImage, 183 cc::switches::kEnableMapImage,
182 cc::switches::kEnablePartialSwap, 184 cc::switches::kEnablePartialSwap,
183 cc::switches::kEnablePerTilePainting, 185 cc::switches::kEnablePerTilePainting,
184 cc::switches::kEnablePinchVirtualViewport, 186 cc::switches::kEnablePinchVirtualViewport,
187 cc::switches::kEnableStartCommitBeforeActivate,
188 cc::switches::kEnableStartCommitBeforeDraw,
185 cc::switches::kEnableTopControlsPositionCalculation, 189 cc::switches::kEnableTopControlsPositionCalculation,
186 cc::switches::kMaxTilesForInterestArea, 190 cc::switches::kMaxTilesForInterestArea,
187 cc::switches::kMaxUnusedResourceMemoryUsagePercentage, 191 cc::switches::kMaxUnusedResourceMemoryUsagePercentage,
188 cc::switches::kShowCompositedLayerBorders, 192 cc::switches::kShowCompositedLayerBorders,
189 cc::switches::kShowFPSCounter, 193 cc::switches::kShowFPSCounter,
190 cc::switches::kShowLayerAnimationBounds, 194 cc::switches::kShowLayerAnimationBounds,
191 cc::switches::kShowNonOccludingRects, 195 cc::switches::kShowNonOccludingRects,
192 cc::switches::kShowOccludingRects, 196 cc::switches::kShowOccludingRects,
193 cc::switches::kShowPropertyChangedRects, 197 cc::switches::kShowPropertyChangedRects,
194 cc::switches::kShowReplicaScreenSpaceRects, 198 cc::switches::kShowReplicaScreenSpaceRects,
(...skipping 179 matching lines...) Expand 10 before | Expand all | Expand 10 after
374 // Relaunch chrome without session manager on dev box. 378 // Relaunch chrome without session manager on dev box.
375 ReLaunch(command_line); 379 ReLaunch(command_line);
376 return; 380 return;
377 } 381 }
378 382
379 // ChromeRestartRequest deletes itself after request sent to session manager. 383 // ChromeRestartRequest deletes itself after request sent to session manager.
380 (new ChromeRestartRequest(command_line))->Start(); 384 (new ChromeRestartRequest(command_line))->Start();
381 } 385 }
382 386
383 } // namespace chromeos 387 } // namespace chromeos
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698