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

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: Make commit waiting states explicit 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::kEnableGPURasterization, 180 cc::switches::kEnableGPURasterization,
179 cc::switches::kEnableImplSidePainting, 181 cc::switches::kEnableImplSidePainting,
180 cc::switches::kEnableMapImage, 182 cc::switches::kEnableMapImage,
181 cc::switches::kEnablePartialSwap, 183 cc::switches::kEnablePartialSwap,
182 cc::switches::kEnablePerTilePainting, 184 cc::switches::kEnablePerTilePainting,
183 cc::switches::kEnablePinchVirtualViewport, 185 cc::switches::kEnablePinchVirtualViewport,
186 cc::switches::kEnableStartCommitBeforeActivate,
187 cc::switches::kEnableStartCommitBeforeDraw,
184 cc::switches::kEnableTopControlsPositionCalculation, 188 cc::switches::kEnableTopControlsPositionCalculation,
185 cc::switches::kMaxTilesForInterestArea, 189 cc::switches::kMaxTilesForInterestArea,
186 cc::switches::kMaxUnusedResourceMemoryUsagePercentage, 190 cc::switches::kMaxUnusedResourceMemoryUsagePercentage,
187 cc::switches::kShowCompositedLayerBorders, 191 cc::switches::kShowCompositedLayerBorders,
188 cc::switches::kShowFPSCounter, 192 cc::switches::kShowFPSCounter,
189 cc::switches::kShowLayerAnimationBounds, 193 cc::switches::kShowLayerAnimationBounds,
190 cc::switches::kShowNonOccludingRects, 194 cc::switches::kShowNonOccludingRects,
191 cc::switches::kShowOccludingRects, 195 cc::switches::kShowOccludingRects,
192 cc::switches::kShowPropertyChangedRects, 196 cc::switches::kShowPropertyChangedRects,
193 cc::switches::kShowReplicaScreenSpaceRects, 197 cc::switches::kShowReplicaScreenSpaceRects,
(...skipping 179 matching lines...) Expand 10 before | Expand all | Expand 10 after
373 // Relaunch chrome without session manager on dev box. 377 // Relaunch chrome without session manager on dev box.
374 ReLaunch(command_line); 378 ReLaunch(command_line);
375 return; 379 return;
376 } 380 }
377 381
378 // ChromeRestartRequest deletes itself after request sent to session manager. 382 // ChromeRestartRequest deletes itself after request sent to session manager.
379 (new ChromeRestartRequest(command_line))->Start(); 383 (new ChromeRestartRequest(command_line))->Start();
380 } 384 }
381 385
382 } // namespace chromeos 386 } // namespace chromeos
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698