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

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

Issue 14820030: Move Chrome OS switches to chromeos/chromeos_switches.cc (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: fix nits Created 7 years, 7 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 60 matching lines...) Expand 10 before | Expand all | Expand 10 after
71 ::switches::kDeviceManagementUrl, 71 ::switches::kDeviceManagementUrl,
72 ::switches::kDisableAccelerated2dCanvas, 72 ::switches::kDisableAccelerated2dCanvas,
73 ::switches::kDisableAcceleratedOverflowScroll, 73 ::switches::kDisableAcceleratedOverflowScroll,
74 ::switches::kDisableAcceleratedPlugins, 74 ::switches::kDisableAcceleratedPlugins,
75 ::switches::kDisableAcceleratedVideoDecode, 75 ::switches::kDisableAcceleratedVideoDecode,
76 ::switches::kDisableBrowserPluginCompositing, 76 ::switches::kDisableBrowserPluginCompositing,
77 ::switches::kDisableEncryptedMedia, 77 ::switches::kDisableEncryptedMedia,
78 ::switches::kDisableForceCompositingMode, 78 ::switches::kDisableForceCompositingMode,
79 ::switches::kDisableGpuShaderDiskCache, 79 ::switches::kDisableGpuShaderDiskCache,
80 ::switches::kDisableGpuWatchdog, 80 ::switches::kDisableGpuWatchdog,
81 ::switches::kDisableLoginAnimations,
82 ::switches::kDisableOobeAnimation,
83 ::switches::kDisablePanelFitting, 81 ::switches::kDisablePanelFitting,
84 ::switches::kDisableSeccompFilterSandbox, 82 ::switches::kDisableSeccompFilterSandbox,
85 ::switches::kDisableThreadedCompositing, 83 ::switches::kDisableThreadedCompositing,
86 ::switches::kDisableTouchDragDrop, 84 ::switches::kDisableTouchDragDrop,
87 ::switches::kDisableTouchEditing, 85 ::switches::kDisableTouchEditing,
88 ::switches::kEnableAcceleratedOverflowScroll, 86 ::switches::kEnableAcceleratedOverflowScroll,
89 ::switches::kEnableCompositingForFixedPosition, 87 ::switches::kEnableCompositingForFixedPosition,
90 ::switches::kEnableGestureTapHighlight, 88 ::switches::kEnableGestureTapHighlight,
91 ::switches::kDisableGestureTapHighlight, 89 ::switches::kDisableGestureTapHighlight,
92 ::switches::kDisableGpuSandbox, 90 ::switches::kDisableGpuSandbox,
93 ::switches::kEnableGpuSandbox, 91 ::switches::kEnableGpuSandbox,
94 ::switches::kEnableLogging, 92 ::switches::kEnableLogging,
95 ::switches::kEnablePinch, 93 ::switches::kEnablePinch,
96 ::switches::kEnableThreadedCompositing, 94 ::switches::kEnableThreadedCompositing,
97 ::switches::kEnableTouchDragDrop, 95 ::switches::kEnableTouchDragDrop,
98 ::switches::kEnableTouchEditing, 96 ::switches::kEnableTouchEditing,
99 ::switches::kEnableViewport, 97 ::switches::kEnableViewport,
100 ::switches::kEnableVsyncNotification, 98 ::switches::kEnableVsyncNotification,
101 ::switches::kForceDeviceScaleFactor, 99 ::switches::kForceDeviceScaleFactor,
102 ::switches::kGpuStartupDialog, 100 ::switches::kGpuStartupDialog,
103 ::switches::kHasChromeOSDiamondKey,
104 ::switches::kHasChromeOSKeyboard,
105 ::switches::kNaturalScrollDefault,
106 ::switches::kNoSandbox, 101 ::switches::kNoSandbox,
107 ::switches::kPpapiFlashArgs, 102 ::switches::kPpapiFlashArgs,
108 ::switches::kPpapiFlashInProcess, 103 ::switches::kPpapiFlashInProcess,
109 ::switches::kPpapiFlashPath, 104 ::switches::kPpapiFlashPath,
110 ::switches::kPpapiFlashVersion, 105 ::switches::kPpapiFlashVersion,
111 ::switches::kPpapiInProcess, 106 ::switches::kPpapiInProcess,
112 ::switches::kRendererStartupDialog, 107 ::switches::kRendererStartupDialog,
113 #if defined(USE_XI2_MT) 108 #if defined(USE_XI2_MT)
114 ::switches::kTouchCalibration, 109 ::switches::kTouchCalibration,
115 #endif 110 #endif
(...skipping 44 matching lines...) Expand 10 before | Expand all | Expand 10 after
160 cc::switches::kShowPropertyChangedRects, 155 cc::switches::kShowPropertyChangedRects,
161 cc::switches::kShowReplicaScreenSpaceRects, 156 cc::switches::kShowReplicaScreenSpaceRects,
162 cc::switches::kShowScreenSpaceRects, 157 cc::switches::kShowScreenSpaceRects,
163 cc::switches::kShowSurfaceDamageRects, 158 cc::switches::kShowSurfaceDamageRects,
164 cc::switches::kSlowDownRasterScaleFactor, 159 cc::switches::kSlowDownRasterScaleFactor,
165 cc::switches::kTraceAllRenderedFrames, 160 cc::switches::kTraceAllRenderedFrames,
166 cc::switches::kTraceOverdraw, 161 cc::switches::kTraceOverdraw,
167 cc::switches::kUIDisablePartialSwap, 162 cc::switches::kUIDisablePartialSwap,
168 cc::switches::kUIEnablePerTilePainting, 163 cc::switches::kUIEnablePerTilePainting,
169 chromeos::switches::kDbusStub, 164 chromeos::switches::kDbusStub,
165 chromeos::switches::kDisableLoginAnimations,
166 chromeos::switches::kDisableOobeAnimation,
167 chromeos::switches::kHasChromeOSDiamondKey,
168 chromeos::switches::kHasChromeOSKeyboard,
170 chromeos::switches::kLoginProfile, 169 chromeos::switches::kLoginProfile,
170 chromeos::switches::kNaturalScrollDefault,
171 gfx::switches::kEnableBrowserTextSubpixelPositioning, 171 gfx::switches::kEnableBrowserTextSubpixelPositioning,
172 gfx::switches::kEnableWebkitTextSubpixelPositioning, 172 gfx::switches::kEnableWebkitTextSubpixelPositioning,
173 views::corewm::switches::kNoDropShadows, 173 views::corewm::switches::kNoDropShadows,
174 views::corewm::switches::kWindowAnimationsDisabled, 174 views::corewm::switches::kWindowAnimationsDisabled,
175 }; 175 };
176 command_line->CopySwitchesFrom(base_command_line, 176 command_line->CopySwitchesFrom(base_command_line,
177 kForwardSwitches, 177 kForwardSwitches,
178 arraysize(kForwardSwitches)); 178 arraysize(kForwardSwitches));
179 179
180 if (start_url.is_valid()) 180 if (start_url.is_valid())
(...skipping 154 matching lines...) Expand 10 before | Expand all | Expand 10 after
335 // Relaunch chrome without session manager on dev box. 335 // Relaunch chrome without session manager on dev box.
336 ReLaunch(command_line); 336 ReLaunch(command_line);
337 return; 337 return;
338 } 338 }
339 339
340 // ChromeRestartRequest deletes itself after request sent to session manager. 340 // ChromeRestartRequest deletes itself after request sent to session manager.
341 (new ChromeRestartRequest(command_line))->Start(); 341 (new ChromeRestartRequest(command_line))->Start();
342 } 342 }
343 343
344 } // namespace chromeos 344 } // namespace chromeos
OLDNEW
« no previous file with comments | « chrome/browser/chromeos/kiosk_mode/kiosk_mode_settings.cc ('k') | chrome/browser/chromeos/login/existing_user_controller.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698