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

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

Issue 6975045: touch: Always expect XInput2 availability. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: '' Created 9 years, 6 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 (c) 2011 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2011 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 411 matching lines...) Expand 10 before | Expand all | Expand 10 after
422 switches::kUserDataDir, 422 switches::kUserDataDir,
423 switches::kScrollPixels, 423 switches::kScrollPixels,
424 switches::kEnableGView, 424 switches::kEnableGView,
425 switches::kNoFirstRun, 425 switches::kNoFirstRun,
426 switches::kLoginProfile, 426 switches::kLoginProfile,
427 switches::kCompressSystemFeedback, 427 switches::kCompressSystemFeedback,
428 switches::kDisableSeccompSandbox, 428 switches::kDisableSeccompSandbox,
429 switches::kPpapiFlashInProcess, 429 switches::kPpapiFlashInProcess,
430 switches::kPpapiFlashPath, 430 switches::kPpapiFlashPath,
431 switches::kPpapiFlashVersion, 431 switches::kPpapiFlashVersion,
432 #if defined(HAVE_XINPUT2) 432 #if defined(TOUCH_UI)
433 switches::kTouchDevices, 433 switches::kTouchDevices,
434 #endif 434 #endif
435 }; 435 };
436 command_line->CopySwitchesFrom(base_command_line, 436 command_line->CopySwitchesFrom(base_command_line,
437 kForwardSwitches, 437 kForwardSwitches,
438 arraysize(kForwardSwitches)); 438 arraysize(kForwardSwitches));
439 command_line->AppendSwitch(switches::kGuestSession); 439 command_line->AppendSwitch(switches::kGuestSession);
440 command_line->AppendSwitch(switches::kIncognito); 440 command_line->AppendSwitch(switches::kIncognito);
441 command_line->AppendSwitchASCII(switches::kLoggingLevel, 441 command_line->AppendSwitchASCII(switches::kLoggingLevel,
442 kGuestModeLoggingLevel); 442 kGuestModeLoggingLevel);
(...skipping 150 matching lines...) Expand 10 before | Expand all | Expand 10 after
593 // Mark login host for deletion after browser starts. This 593 // Mark login host for deletion after browser starts. This
594 // guarantees that the message loop will be referenced by the 594 // guarantees that the message loop will be referenced by the
595 // browser before it is dereferenced by the login host. 595 // browser before it is dereferenced by the login host.
596 if (login_host) { 596 if (login_host) {
597 login_host->OnSessionStart(); 597 login_host->OnSessionStart();
598 login_host = NULL; 598 login_host = NULL;
599 } 599 }
600 } 600 }
601 601
602 } // namespace chromeos 602 } // namespace chromeos
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698