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/common/ash_switches.h" | 9 #include "ash/common/ash_switches.h" |
10 #include "base/base_switches.h" | 10 #include "base/base_switches.h" |
(...skipping 103 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
114 ::switches::kEnableGpuRasterization, | 114 ::switches::kEnableGpuRasterization, |
115 ::switches::kEnableLogging, | 115 ::switches::kEnableLogging, |
116 ::switches::kEnableLowResTiling, | 116 ::switches::kEnableLowResTiling, |
117 ::switches::kDisablePartialRaster, | 117 ::switches::kDisablePartialRaster, |
118 ::switches::kEnablePartialRaster, | 118 ::switches::kEnablePartialRaster, |
119 ::switches::kEnablePinch, | 119 ::switches::kEnablePinch, |
120 ::switches::kEnablePreferCompositingToLCDText, | 120 ::switches::kEnablePreferCompositingToLCDText, |
121 ::switches::kEnableRGBA4444Textures, | 121 ::switches::kEnableRGBA4444Textures, |
122 ::switches::kEnableSlimmingPaintV2, | 122 ::switches::kEnableSlimmingPaintV2, |
123 ::switches::kEnableTouchDragDrop, | 123 ::switches::kEnableTouchDragDrop, |
| 124 ::switches::kEnableUnifiedDesktop, |
124 ::switches::kEnableUseZoomForDSF, | 125 ::switches::kEnableUseZoomForDSF, |
125 ::switches::kEnableViewport, | 126 ::switches::kEnableViewport, |
126 ::switches::kEnableZeroCopy, | 127 ::switches::kEnableZeroCopy, |
127 #if defined(USE_OZONE) | 128 #if defined(USE_OZONE) |
128 ::switches::kExtraTouchNoiseFiltering, | 129 ::switches::kExtraTouchNoiseFiltering, |
129 #endif | 130 #endif |
| 131 ::switches::kHostWindowBounds, |
130 ::switches::kMainFrameResizesAreOrientationChanges, | 132 ::switches::kMainFrameResizesAreOrientationChanges, |
131 ::switches::kForceDeviceScaleFactor, | 133 ::switches::kForceDeviceScaleFactor, |
132 ::switches::kForceGpuRasterization, | 134 ::switches::kForceGpuRasterization, |
133 ::switches::kGpuRasterizationMSAASampleCount, | 135 ::switches::kGpuRasterizationMSAASampleCount, |
134 ::switches::kGpuStartupDialog, | 136 ::switches::kGpuStartupDialog, |
135 ::switches::kGpuSandboxAllowSysVShm, | 137 ::switches::kGpuSandboxAllowSysVShm, |
136 ::switches::kGpuSandboxFailuresFatal, | 138 ::switches::kGpuSandboxFailuresFatal, |
137 ::switches::kGpuSandboxStartEarly, | 139 ::switches::kGpuSandboxStartEarly, |
138 ::switches::kNoSandbox, | 140 ::switches::kNoSandbox, |
139 ::switches::kNumRasterThreads, | 141 ::switches::kNumRasterThreads, |
(...skipping 36 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
176 ::switches::kOzoneInitialDisplayPhysicalSizeMm, | 178 ::switches::kOzoneInitialDisplayPhysicalSizeMm, |
177 ::switches::kOzonePlatform, | 179 ::switches::kOzonePlatform, |
178 #endif | 180 #endif |
179 app_list::switches::kDisableSyncAppList, | 181 app_list::switches::kDisableSyncAppList, |
180 app_list::switches::kEnableCenteredAppList, | 182 app_list::switches::kEnableCenteredAppList, |
181 app_list::switches::kEnableSyncAppList, | 183 app_list::switches::kEnableSyncAppList, |
182 ash::switches::kAshEnableTouchView, | 184 ash::switches::kAshEnableTouchView, |
183 ash::switches::kAshEnablePalette, | 185 ash::switches::kAshEnablePalette, |
184 ash::switches::kAshEnablePaletteExperimentalFeatures, | 186 ash::switches::kAshEnablePaletteExperimentalFeatures, |
185 ash::switches::kAshEnablePaletteOnAllDisplays, | 187 ash::switches::kAshEnablePaletteOnAllDisplays, |
186 ash::switches::kAshEnableUnifiedDesktop, | |
187 ash::switches::kAshHostWindowBounds, | |
188 ash::switches::kAshTouchHud, | 188 ash::switches::kAshTouchHud, |
189 ash::switches::kAuraLegacyPowerButton, | 189 ash::switches::kAuraLegacyPowerButton, |
190 chromeos::switches::kDefaultWallpaperLarge, | 190 chromeos::switches::kDefaultWallpaperLarge, |
191 chromeos::switches::kDefaultWallpaperSmall, | 191 chromeos::switches::kDefaultWallpaperSmall, |
192 chromeos::switches::kGuestWallpaperLarge, | 192 chromeos::switches::kGuestWallpaperLarge, |
193 chromeos::switches::kGuestWallpaperSmall, | 193 chromeos::switches::kGuestWallpaperSmall, |
194 // Please keep these in alphabetical order. Non-UI Compositor switches | 194 // Please keep these in alphabetical order. Non-UI Compositor switches |
195 // here should also be added to | 195 // here should also be added to |
196 // content/browser/renderer_host/render_process_host_impl.cc. | 196 // content/browser/renderer_host/render_process_host_impl.cc. |
197 cc::switches::kDisableCachedPictureRaster, | 197 cc::switches::kDisableCachedPictureRaster, |
(...skipping 167 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
365 // Relaunch chrome without session manager on dev box. | 365 // Relaunch chrome without session manager on dev box. |
366 ReLaunch(command_line); | 366 ReLaunch(command_line); |
367 return; | 367 return; |
368 } | 368 } |
369 | 369 |
370 // ChromeRestartRequest deletes itself after request sent to session manager. | 370 // ChromeRestartRequest deletes itself after request sent to session manager. |
371 (new ChromeRestartRequest(command_line.argv()))->Start(); | 371 (new ChromeRestartRequest(command_line.argv()))->Start(); |
372 } | 372 } |
373 | 373 |
374 } // namespace chromeos | 374 } // namespace chromeos |
OLD | NEW |