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