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

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

Issue 961023002: (Reland) Always create top controls manager (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Fixing bad patch (Patches since "rebase" were from wrong branch) Created 5 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 173 matching lines...) Expand 10 before | Expand all | Expand 10 after
184 // content/browser/renderer_host/render_process_host_impl.cc. 184 // content/browser/renderer_host/render_process_host_impl.cc.
185 cc::switches::kCompositeToMailbox, 185 cc::switches::kCompositeToMailbox,
186 cc::switches::kDisableCompositedAntialiasing, 186 cc::switches::kDisableCompositedAntialiasing,
187 cc::switches::kDisableMainFrameBeforeActivation, 187 cc::switches::kDisableMainFrameBeforeActivation,
188 cc::switches::kDisablePinchVirtualViewport, 188 cc::switches::kDisablePinchVirtualViewport,
189 cc::switches::kDisableThreadedAnimation, 189 cc::switches::kDisableThreadedAnimation,
190 cc::switches::kEnableGpuBenchmarking, 190 cc::switches::kEnableGpuBenchmarking,
191 cc::switches::kEnablePinchVirtualViewport, 191 cc::switches::kEnablePinchVirtualViewport,
192 cc::switches::kEnablePropertyTreeVerification, 192 cc::switches::kEnablePropertyTreeVerification,
193 cc::switches::kEnableMainFrameBeforeActivation, 193 cc::switches::kEnableMainFrameBeforeActivation,
194 cc::switches::kEnableTopControlsPositionCalculation,
195 cc::switches::kMaxTilesForInterestArea, 194 cc::switches::kMaxTilesForInterestArea,
196 cc::switches::kMaxUnusedResourceMemoryUsagePercentage, 195 cc::switches::kMaxUnusedResourceMemoryUsagePercentage,
197 cc::switches::kShowCompositedLayerBorders, 196 cc::switches::kShowCompositedLayerBorders,
198 cc::switches::kShowFPSCounter, 197 cc::switches::kShowFPSCounter,
199 cc::switches::kShowLayerAnimationBounds, 198 cc::switches::kShowLayerAnimationBounds,
200 cc::switches::kShowPropertyChangedRects, 199 cc::switches::kShowPropertyChangedRects,
201 cc::switches::kShowReplicaScreenSpaceRects, 200 cc::switches::kShowReplicaScreenSpaceRects,
202 cc::switches::kShowScreenSpaceRects, 201 cc::switches::kShowScreenSpaceRects,
203 cc::switches::kShowSurfaceDamageRects, 202 cc::switches::kShowSurfaceDamageRects,
204 cc::switches::kSlowDownRasterScaleFactor, 203 cc::switches::kSlowDownRasterScaleFactor,
(...skipping 174 matching lines...) Expand 10 before | Expand all | Expand 10 after
379 // Relaunch chrome without session manager on dev box. 378 // Relaunch chrome without session manager on dev box.
380 ReLaunch(command_line); 379 ReLaunch(command_line);
381 return; 380 return;
382 } 381 }
383 382
384 // ChromeRestartRequest deletes itself after request sent to session manager. 383 // ChromeRestartRequest deletes itself after request sent to session manager.
385 (new ChromeRestartRequest(command_line))->Start(); 384 (new ChromeRestartRequest(command_line))->Start();
386 } 385 }
387 386
388 } // namespace chromeos 387 } // namespace chromeos
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698