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

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

Issue 5726006: chromeos and touch: pass on the touch-devices switch after login. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 10 years 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
« no previous file with comments | « no previous file | no next file » | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 // Copyright (c) 2010 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2010 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/login_utils.h" 5 #include "chrome/browser/chromeos/login/login_utils.h"
6 6
7 #include <vector> 7 #include <vector>
8 8
9 #include "base/command_line.h" 9 #include "base/command_line.h"
10 #include "base/file_path.h" 10 #include "base/file_path.h"
(...skipping 308 matching lines...) Expand 10 before | Expand all | Expand 10 after
319 switches::kUserDataDir, 319 switches::kUserDataDir,
320 switches::kScrollPixels, 320 switches::kScrollPixels,
321 switches::kEnableGView, 321 switches::kEnableGView,
322 switches::kNoFirstRun, 322 switches::kNoFirstRun,
323 switches::kLoginProfile, 323 switches::kLoginProfile,
324 switches::kEnableTabbedOptions, 324 switches::kEnableTabbedOptions,
325 switches::kCompressSystemFeedback, 325 switches::kCompressSystemFeedback,
326 #if defined(USE_SECCOMP_SANDBOX) 326 #if defined(USE_SECCOMP_SANDBOX)
327 switches::kDisableSeccompSandbox, 327 switches::kDisableSeccompSandbox,
328 #endif 328 #endif
329 #if defined(HAVE_XINPUT2)
330 switches::kTouchDevices,
331 #endif
329 }; 332 };
330 const CommandLine& browser_command_line = 333 const CommandLine& browser_command_line =
331 *CommandLine::ForCurrentProcess(); 334 *CommandLine::ForCurrentProcess();
332 CommandLine command_line(browser_command_line.GetProgram()); 335 CommandLine command_line(browser_command_line.GetProgram());
333 command_line.CopySwitchesFrom(browser_command_line, 336 command_line.CopySwitchesFrom(browser_command_line,
334 kForwardSwitches, 337 kForwardSwitches,
335 arraysize(kForwardSwitches)); 338 arraysize(kForwardSwitches));
336 command_line.AppendSwitch(switches::kGuestSession); 339 command_line.AppendSwitch(switches::kGuestSession);
337 command_line.AppendSwitch(switches::kIncognito); 340 command_line.AppendSwitch(switches::kIncognito);
338 command_line.AppendSwitchASCII(switches::kLoggingLevel, 341 command_line.AppendSwitchASCII(switches::kLoggingLevel,
(...skipping 142 matching lines...) Expand 10 before | Expand all | Expand 10 after
481 BrowserInit browser_init; 484 BrowserInit browser_init;
482 int return_code; 485 int return_code;
483 browser_init.LaunchBrowser(*CommandLine::ForCurrentProcess(), 486 browser_init.LaunchBrowser(*CommandLine::ForCurrentProcess(),
484 profile, 487 profile,
485 FilePath(), 488 FilePath(),
486 true, 489 true,
487 &return_code); 490 &return_code);
488 } 491 }
489 492
490 } // namespace chromeos 493 } // namespace chromeos
OLDNEW
« no previous file with comments | « no previous file | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698