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

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: rebase 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
« no previous file with comments | « cc/trees/thread_proxy.cc ('k') | content/browser/renderer_host/render_process_host_impl.cc » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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 ash::switches::kAshGuestWallpaperSmall, 160 ash::switches::kAshGuestWallpaperSmall,
161 ash::switches::kAshHostWindowBounds, 161 ash::switches::kAshHostWindowBounds,
162 ash::switches::kAshTouchHud, 162 ash::switches::kAshTouchHud,
163 ash::switches::kAuraLegacyPowerButton, 163 ash::switches::kAuraLegacyPowerButton,
164 // Please keep these in alphabetical order. Non-UI Compositor switches 164 // Please keep these in alphabetical order. Non-UI Compositor switches
165 // here should also be added to 165 // here should also be added to
166 // content/browser/renderer_host/render_process_host_impl.cc. 166 // content/browser/renderer_host/render_process_host_impl.cc.
167 cc::switches::kCompositeToMailbox, 167 cc::switches::kCompositeToMailbox,
168 cc::switches::kDisableCompositedAntialiasing, 168 cc::switches::kDisableCompositedAntialiasing,
169 cc::switches::kDisableCompositorTouchHitTesting, 169 cc::switches::kDisableCompositorTouchHitTesting,
170 cc::switches::kDisableMainFrameBeforeActivation,
171 cc::switches::kDisableMainFrameBeforeDraw,
170 cc::switches::kDisableThreadedAnimation, 172 cc::switches::kDisableThreadedAnimation,
171 cc::switches::kEnableGpuBenchmarking, 173 cc::switches::kEnableGpuBenchmarking,
172 cc::switches::kEnablePinchVirtualViewport, 174 cc::switches::kEnablePinchVirtualViewport,
175 cc::switches::kEnableMainFrameBeforeActivation,
173 cc::switches::kEnableTopControlsPositionCalculation, 176 cc::switches::kEnableTopControlsPositionCalculation,
174 cc::switches::kMaxTilesForInterestArea, 177 cc::switches::kMaxTilesForInterestArea,
175 cc::switches::kMaxUnusedResourceMemoryUsagePercentage, 178 cc::switches::kMaxUnusedResourceMemoryUsagePercentage,
176 cc::switches::kShowCompositedLayerBorders, 179 cc::switches::kShowCompositedLayerBorders,
177 cc::switches::kShowFPSCounter, 180 cc::switches::kShowFPSCounter,
178 cc::switches::kShowLayerAnimationBounds, 181 cc::switches::kShowLayerAnimationBounds,
179 cc::switches::kShowNonOccludingRects, 182 cc::switches::kShowNonOccludingRects,
180 cc::switches::kShowOccludingRects, 183 cc::switches::kShowOccludingRects,
181 cc::switches::kShowPropertyChangedRects, 184 cc::switches::kShowPropertyChangedRects,
182 cc::switches::kShowReplicaScreenSpaceRects, 185 cc::switches::kShowReplicaScreenSpaceRects,
(...skipping 167 matching lines...) Expand 10 before | Expand all | Expand 10 after
350 // Relaunch chrome without session manager on dev box. 353 // Relaunch chrome without session manager on dev box.
351 ReLaunch(command_line); 354 ReLaunch(command_line);
352 return; 355 return;
353 } 356 }
354 357
355 // ChromeRestartRequest deletes itself after request sent to session manager. 358 // ChromeRestartRequest deletes itself after request sent to session manager.
356 (new ChromeRestartRequest(command_line))->Start(); 359 (new ChromeRestartRequest(command_line))->Start();
357 } 360 }
358 361
359 } // namespace chromeos 362 } // namespace chromeos
OLDNEW
« no previous file with comments | « cc/trees/thread_proxy.cc ('k') | content/browser/renderer_host/render_process_host_impl.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698