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

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

Issue 429393003: Send idle notifications to V8 after commit (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Call idle notification from RenderWidgetCompositor. Created 6 years, 4 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 166 matching lines...) Expand 10 before | Expand all | Expand 10 after
177 cc::switches::kDisableMainFrameBeforeActivation, 177 cc::switches::kDisableMainFrameBeforeActivation,
178 cc::switches::kDisableMainFrameBeforeDraw, 178 cc::switches::kDisableMainFrameBeforeDraw,
179 cc::switches::kDisablePinchVirtualViewport, 179 cc::switches::kDisablePinchVirtualViewport,
180 cc::switches::kDisableThreadedAnimation, 180 cc::switches::kDisableThreadedAnimation,
181 cc::switches::kEnableGpuBenchmarking, 181 cc::switches::kEnableGpuBenchmarking,
182 cc::switches::kEnablePinchVirtualViewport, 182 cc::switches::kEnablePinchVirtualViewport,
183 cc::switches::kEnableMainFrameBeforeActivation, 183 cc::switches::kEnableMainFrameBeforeActivation,
184 cc::switches::kEnableTopControlsPositionCalculation, 184 cc::switches::kEnableTopControlsPositionCalculation,
185 cc::switches::kMaxTilesForInterestArea, 185 cc::switches::kMaxTilesForInterestArea,
186 cc::switches::kMaxUnusedResourceMemoryUsagePercentage, 186 cc::switches::kMaxUnusedResourceMemoryUsagePercentage,
187 cc::switches::kSendV8IdleNotificationAfterCommit,
187 cc::switches::kShowCompositedLayerBorders, 188 cc::switches::kShowCompositedLayerBorders,
188 cc::switches::kShowFPSCounter, 189 cc::switches::kShowFPSCounter,
189 cc::switches::kShowLayerAnimationBounds, 190 cc::switches::kShowLayerAnimationBounds,
190 cc::switches::kShowNonOccludingRects, 191 cc::switches::kShowNonOccludingRects,
191 cc::switches::kShowOccludingRects, 192 cc::switches::kShowOccludingRects,
192 cc::switches::kShowPropertyChangedRects, 193 cc::switches::kShowPropertyChangedRects,
193 cc::switches::kShowReplicaScreenSpaceRects, 194 cc::switches::kShowReplicaScreenSpaceRects,
194 cc::switches::kShowScreenSpaceRects, 195 cc::switches::kShowScreenSpaceRects,
195 cc::switches::kShowSurfaceDamageRects, 196 cc::switches::kShowSurfaceDamageRects,
196 cc::switches::kSlowDownRasterScaleFactor, 197 cc::switches::kSlowDownRasterScaleFactor,
(...skipping 175 matching lines...) Expand 10 before | Expand all | Expand 10 after
372 // Relaunch chrome without session manager on dev box. 373 // Relaunch chrome without session manager on dev box.
373 ReLaunch(command_line); 374 ReLaunch(command_line);
374 return; 375 return;
375 } 376 }
376 377
377 // ChromeRestartRequest deletes itself after request sent to session manager. 378 // ChromeRestartRequest deletes itself after request sent to session manager.
378 (new ChromeRestartRequest(command_line))->Start(); 379 (new ChromeRestartRequest(command_line))->Start();
379 } 380 }
380 381
381 } // namespace chromeos 382 } // namespace chromeos
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698