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

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

Issue 23769011: Move a bunch of windows stuff from ui/base/win to ui/gfx/win (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Moar bustage. Created 7 years, 3 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 171 matching lines...) Expand 10 before | Expand all | Expand 10 after
182 cc::switches::kTraceOverdraw, 182 cc::switches::kTraceOverdraw,
183 cc::switches::kUIDisablePartialSwap, 183 cc::switches::kUIDisablePartialSwap,
184 cc::switches::kUIEnablePerTilePainting, 184 cc::switches::kUIEnablePerTilePainting,
185 chromeos::switches::kDbusStub, 185 chromeos::switches::kDbusStub,
186 chromeos::switches::kDisableLoginAnimations, 186 chromeos::switches::kDisableLoginAnimations,
187 chromeos::switches::kDisableOobeAnimation, 187 chromeos::switches::kDisableOobeAnimation,
188 chromeos::switches::kHasChromeOSDiamondKey, 188 chromeos::switches::kHasChromeOSDiamondKey,
189 chromeos::switches::kHasChromeOSKeyboard, 189 chromeos::switches::kHasChromeOSKeyboard,
190 chromeos::switches::kLoginProfile, 190 chromeos::switches::kLoginProfile,
191 chromeos::switches::kNaturalScrollDefault, 191 chromeos::switches::kNaturalScrollDefault,
192 gfx::switches::kEnableBrowserTextSubpixelPositioning, 192 ::switches::kEnableBrowserTextSubpixelPositioning,
193 gfx::switches::kEnableWebkitTextSubpixelPositioning, 193 ::switches::kEnableWebkitTextSubpixelPositioning,
194 views::corewm::switches::kNoDropShadows, 194 views::corewm::switches::kNoDropShadows,
195 views::corewm::switches::kWindowAnimationsDisabled, 195 views::corewm::switches::kWindowAnimationsDisabled,
196 }; 196 };
197 command_line->CopySwitchesFrom(base_command_line, 197 command_line->CopySwitchesFrom(base_command_line,
198 kForwardSwitches, 198 kForwardSwitches,
199 arraysize(kForwardSwitches)); 199 arraysize(kForwardSwitches));
200 200
201 if (start_url.is_valid()) 201 if (start_url.is_valid())
202 command_line->AppendArg(start_url.spec()); 202 command_line->AppendArg(start_url.spec());
203 203
(...skipping 152 matching lines...) Expand 10 before | Expand all | Expand 10 after
356 // Relaunch chrome without session manager on dev box. 356 // Relaunch chrome without session manager on dev box.
357 ReLaunch(command_line); 357 ReLaunch(command_line);
358 return; 358 return;
359 } 359 }
360 360
361 // ChromeRestartRequest deletes itself after request sent to session manager. 361 // ChromeRestartRequest deletes itself after request sent to session manager.
362 (new ChromeRestartRequest(command_line))->Start(); 362 (new ChromeRestartRequest(command_line))->Start();
363 } 363 }
364 364
365 } // namespace chromeos 365 } // namespace chromeos
OLDNEW
« no previous file with comments | « chrome/browser/chrome_browser_main.cc ('k') | chrome/browser/extensions/api/system_display/display_info_provider_win.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698