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

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: Do not start commit before draw for UI compositor 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
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 149 matching lines...) Expand 10 before | Expand all | Expand 10 after
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, 167 cc::switches::kDisableGPURasterization,
168 cc::switches::kDisableImplSidePainting, 168 cc::switches::kDisableImplSidePainting,
169 cc::switches::kDisableMapImage, 169 cc::switches::kDisableMapImage,
170 cc::switches::kDisableStartCommitBeforeActivate,
171 cc::switches::kDisableStartCommitBeforeDraw,
170 cc::switches::kDisableThreadedAnimation, 172 cc::switches::kDisableThreadedAnimation,
171 cc::switches::kEnableGpuBenchmarking, 173 cc::switches::kEnableGpuBenchmarking,
172 cc::switches::kEnableGPURasterization, 174 cc::switches::kEnableGPURasterization,
173 cc::switches::kEnableImplSidePainting, 175 cc::switches::kEnableImplSidePainting,
174 cc::switches::kEnableMapImage, 176 cc::switches::kEnableMapImage,
175 cc::switches::kEnablePinchVirtualViewport, 177 cc::switches::kEnablePinchVirtualViewport,
178 cc::switches::kEnableStartCommitBeforeActivate,
179 cc::switches::kEnableStartCommitBeforeDraw,
176 cc::switches::kEnableTopControlsPositionCalculation, 180 cc::switches::kEnableTopControlsPositionCalculation,
177 cc::switches::kMaxTilesForInterestArea, 181 cc::switches::kMaxTilesForInterestArea,
178 cc::switches::kMaxUnusedResourceMemoryUsagePercentage, 182 cc::switches::kMaxUnusedResourceMemoryUsagePercentage,
179 cc::switches::kShowCompositedLayerBorders, 183 cc::switches::kShowCompositedLayerBorders,
180 cc::switches::kShowFPSCounter, 184 cc::switches::kShowFPSCounter,
181 cc::switches::kShowLayerAnimationBounds, 185 cc::switches::kShowLayerAnimationBounds,
182 cc::switches::kShowNonOccludingRects, 186 cc::switches::kShowNonOccludingRects,
183 cc::switches::kShowOccludingRects, 187 cc::switches::kShowOccludingRects,
184 cc::switches::kShowPropertyChangedRects, 188 cc::switches::kShowPropertyChangedRects,
185 cc::switches::kShowReplicaScreenSpaceRects, 189 cc::switches::kShowReplicaScreenSpaceRects,
(...skipping 169 matching lines...) Expand 10 before | Expand all | Expand 10 after
355 // Relaunch chrome without session manager on dev box. 359 // Relaunch chrome without session manager on dev box.
356 ReLaunch(command_line); 360 ReLaunch(command_line);
357 return; 361 return;
358 } 362 }
359 363
360 // ChromeRestartRequest deletes itself after request sent to session manager. 364 // ChromeRestartRequest deletes itself after request sent to session manager.
361 (new ChromeRestartRequest(command_line))->Start(); 365 (new ChromeRestartRequest(command_line))->Start();
362 } 366 }
363 367
364 } // namespace chromeos 368 } // namespace chromeos
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698