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

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

Issue 12540003: CrOS: Set max frames pending for UI from command line. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Address reviewer comments. Created 7 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 | Annotate | Revision Log
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/chromeos/chromeos_version.h" 10 #include "base/chromeos/chromeos_version.h"
(...skipping 93 matching lines...) Expand 10 before | Expand all | Expand 10 after
104 ::switches::kPpapiInProcess, 104 ::switches::kPpapiInProcess,
105 ::switches::kRendererStartupDialog, 105 ::switches::kRendererStartupDialog,
106 #if defined(USE_XI2_MT) 106 #if defined(USE_XI2_MT)
107 ::switches::kTouchCalibration, 107 ::switches::kTouchCalibration,
108 #endif 108 #endif
109 ::switches::kTouchDevices, 109 ::switches::kTouchDevices,
110 ::switches::kTouchEvents, 110 ::switches::kTouchEvents,
111 ::switches::kTouchOptimizedUI, 111 ::switches::kTouchOptimizedUI,
112 ::switches::kUIEnablePartialSwap, 112 ::switches::kUIEnablePartialSwap,
113 ::switches::kUIEnableThreadedCompositing, 113 ::switches::kUIEnableThreadedCompositing,
114 ::switches::kUIMaxFramesPending,
114 ::switches::kUIPrioritizeInGpuProcess, 115 ::switches::kUIPrioritizeInGpuProcess,
115 #if defined(USE_CRAS) 116 #if defined(USE_CRAS)
116 ::switches::kUseCras, 117 ::switches::kUseCras,
117 #endif 118 #endif
118 ::switches::kUseGL, 119 ::switches::kUseGL,
119 ::switches::kUserDataDir, 120 ::switches::kUserDataDir,
120 ::switches::kUseExynosVda, 121 ::switches::kUseExynosVda,
121 ash::switches::kAshTouchHud, 122 ash::switches::kAshTouchHud,
122 ash::switches::kAuraLegacyPowerButton, 123 ash::switches::kAuraLegacyPowerButton,
123 ash::switches::kAshDisableNewNetworkStatusArea, 124 ash::switches::kAshDisableNewNetworkStatusArea,
(...skipping 181 matching lines...) Expand 10 before | Expand all | Expand 10 after
305 // Relaunch chrome without session manager on dev box. 306 // Relaunch chrome without session manager on dev box.
306 ReLaunch(command_line); 307 ReLaunch(command_line);
307 return; 308 return;
308 } 309 }
309 310
310 // ChromeRestartRequest deletes itself after request sent to session manager. 311 // ChromeRestartRequest deletes itself after request sent to session manager.
311 (new ChromeRestartRequest(command_line))->Start(); 312 (new ChromeRestartRequest(command_line))->Start();
312 } 313 }
313 314
314 } // namespace chromeos 315 } // namespace chromeos
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698