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 854 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
865 switches::kEnableGView, | 865 switches::kEnableGView, |
866 switches::kEnableSensors, | 866 switches::kEnableSensors, |
867 switches::kNoFirstRun, | 867 switches::kNoFirstRun, |
868 switches::kLoginProfile, | 868 switches::kLoginProfile, |
869 switches::kCompressSystemFeedback, | 869 switches::kCompressSystemFeedback, |
870 switches::kDisableSeccompSandbox, | 870 switches::kDisableSeccompSandbox, |
871 switches::kPpapiFlashInProcess, | 871 switches::kPpapiFlashInProcess, |
872 switches::kPpapiFlashPath, | 872 switches::kPpapiFlashPath, |
873 switches::kPpapiFlashVersion, | 873 switches::kPpapiFlashVersion, |
874 switches::kViewsDesktop, | 874 switches::kViewsDesktop, |
| 875 switches::kTouchDevices, |
875 #if defined(TOUCH_UI) | 876 #if defined(TOUCH_UI) |
876 switches::kTouchDevices, | |
877 // The virtual keyboard extension for TOUCH_UI (chrome://keyboard) highly | 877 // The virtual keyboard extension for TOUCH_UI (chrome://keyboard) highly |
878 // relies on experimental APIs. | 878 // relies on experimental APIs. |
879 switches::kEnableExperimentalExtensionApis, | 879 switches::kEnableExperimentalExtensionApis, |
880 #endif | 880 #endif |
881 }; | 881 }; |
882 command_line->CopySwitchesFrom(base_command_line, | 882 command_line->CopySwitchesFrom(base_command_line, |
883 kForwardSwitches, | 883 kForwardSwitches, |
884 arraysize(kForwardSwitches)); | 884 arraysize(kForwardSwitches)); |
885 command_line->AppendSwitch(switches::kGuestSession); | 885 command_line->AppendSwitch(switches::kGuestSession); |
886 command_line->AppendSwitch(switches::kIncognito); | 886 command_line->AppendSwitch(switches::kIncognito); |
(...skipping 333 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1220 // Mark login host for deletion after browser starts. This | 1220 // Mark login host for deletion after browser starts. This |
1221 // guarantees that the message loop will be referenced by the | 1221 // guarantees that the message loop will be referenced by the |
1222 // browser before it is dereferenced by the login host. | 1222 // browser before it is dereferenced by the login host. |
1223 if (login_host) { | 1223 if (login_host) { |
1224 login_host->OnSessionStart(); | 1224 login_host->OnSessionStart(); |
1225 login_host = NULL; | 1225 login_host = NULL; |
1226 } | 1226 } |
1227 } | 1227 } |
1228 | 1228 |
1229 } // namespace chromeos | 1229 } // namespace chromeos |
OLD | NEW |