OLD | NEW |
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 111 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
122 ::switches::kEnableShareGroupAsyncTextureUpload, | 122 ::switches::kEnableShareGroupAsyncTextureUpload, |
123 ::switches::kTabCaptureUpscaleQuality, | 123 ::switches::kTabCaptureUpscaleQuality, |
124 ::switches::kTabCaptureDownscaleQuality, | 124 ::switches::kTabCaptureDownscaleQuality, |
125 #if defined(USE_XI2_MT) | 125 #if defined(USE_XI2_MT) |
126 ::switches::kTouchCalibration, | 126 ::switches::kTouchCalibration, |
127 #endif | 127 #endif |
128 ::switches::kTouchDevices, | 128 ::switches::kTouchDevices, |
129 ::switches::kTouchEvents, | 129 ::switches::kTouchEvents, |
130 ::switches::kTouchOptimizedUI, | 130 ::switches::kTouchOptimizedUI, |
131 ::switches::kUIDisableThreadedCompositing, | 131 ::switches::kUIDisableThreadedCompositing, |
| 132 ::switches::kUIPrioritizeInGpuProcess, |
132 #if defined(USE_CRAS) | 133 #if defined(USE_CRAS) |
133 ::switches::kUseCras, | 134 ::switches::kUseCras, |
134 #endif | 135 #endif |
135 ::switches::kUseDiscardableMemory, | 136 ::switches::kUseDiscardableMemory, |
136 ::switches::kUseGL, | 137 ::switches::kUseGL, |
137 ::switches::kUserDataDir, | 138 ::switches::kUserDataDir, |
138 ::switches::kV, | 139 ::switches::kV, |
139 ::switches::kVModule, | 140 ::switches::kVModule, |
140 ::switches::kWebGLCommandBufferSizeKb, | 141 ::switches::kWebGLCommandBufferSizeKb, |
141 ::switches::kEnableWebGLDraftExtensions, | 142 ::switches::kEnableWebGLDraftExtensions, |
(...skipping 208 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
350 // Relaunch chrome without session manager on dev box. | 351 // Relaunch chrome without session manager on dev box. |
351 ReLaunch(command_line); | 352 ReLaunch(command_line); |
352 return; | 353 return; |
353 } | 354 } |
354 | 355 |
355 // ChromeRestartRequest deletes itself after request sent to session manager. | 356 // ChromeRestartRequest deletes itself after request sent to session manager. |
356 (new ChromeRestartRequest(command_line))->Start(); | 357 (new ChromeRestartRequest(command_line))->Start(); |
357 } | 358 } |
358 | 359 |
359 } // namespace chromeos | 360 } // namespace chromeos |
OLD | NEW |