| OLD | NEW |
| 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/compiler_specific.h" | 10 #include "base/compiler_specific.h" |
| (...skipping 500 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 511 switches::kUserDataDir, | 511 switches::kUserDataDir, |
| 512 switches::kScrollPixels, | 512 switches::kScrollPixels, |
| 513 switches::kEnableGView, | 513 switches::kEnableGView, |
| 514 switches::kNoFirstRun, | 514 switches::kNoFirstRun, |
| 515 switches::kLoginProfile, | 515 switches::kLoginProfile, |
| 516 switches::kCompressSystemFeedback, | 516 switches::kCompressSystemFeedback, |
| 517 switches::kDisableSeccompSandbox, | 517 switches::kDisableSeccompSandbox, |
| 518 switches::kPpapiFlashInProcess, | 518 switches::kPpapiFlashInProcess, |
| 519 switches::kPpapiFlashPath, | 519 switches::kPpapiFlashPath, |
| 520 switches::kPpapiFlashVersion, | 520 switches::kPpapiFlashVersion, |
| 521 #if defined(HAVE_XINPUT2) | 521 #if defined(TOUCH_UI) |
| 522 switches::kTouchDevices, | 522 switches::kTouchDevices, |
| 523 #endif | |
| 524 #if defined(TOUCH_UI) | |
| 525 // The virtual keyboard extension for TOUCH_UI (chrome://keyboard) highly | 523 // The virtual keyboard extension for TOUCH_UI (chrome://keyboard) highly |
| 526 // relies on experimental APIs. | 524 // relies on experimental APIs. |
| 527 switches::kEnableExperimentalExtensionApis, | 525 switches::kEnableExperimentalExtensionApis, |
| 528 #endif | 526 #endif |
| 529 }; | 527 }; |
| 530 command_line->CopySwitchesFrom(base_command_line, | 528 command_line->CopySwitchesFrom(base_command_line, |
| 531 kForwardSwitches, | 529 kForwardSwitches, |
| 532 arraysize(kForwardSwitches)); | 530 arraysize(kForwardSwitches)); |
| 533 command_line->AppendSwitch(switches::kGuestSession); | 531 command_line->AppendSwitch(switches::kGuestSession); |
| 534 command_line->AppendSwitch(switches::kIncognito); | 532 command_line->AppendSwitch(switches::kIncognito); |
| (...skipping 167 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 702 // Mark login host for deletion after browser starts. This | 700 // Mark login host for deletion after browser starts. This |
| 703 // guarantees that the message loop will be referenced by the | 701 // guarantees that the message loop will be referenced by the |
| 704 // browser before it is dereferenced by the login host. | 702 // browser before it is dereferenced by the login host. |
| 705 if (login_host) { | 703 if (login_host) { |
| 706 login_host->OnSessionStart(); | 704 login_host->OnSessionStart(); |
| 707 login_host = NULL; | 705 login_host = NULL; |
| 708 } | 706 } |
| 709 } | 707 } |
| 710 | 708 |
| 711 } // namespace chromeos | 709 } // namespace chromeos |
| OLD | NEW |