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 952 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
963 switches::kScrollPixels, | 963 switches::kScrollPixels, |
964 switches::kEnableGView, | 964 switches::kEnableGView, |
965 switches::kEnableSensors, | 965 switches::kEnableSensors, |
966 switches::kNoFirstRun, | 966 switches::kNoFirstRun, |
967 switches::kLoginProfile, | 967 switches::kLoginProfile, |
968 switches::kCompressSystemFeedback, | 968 switches::kCompressSystemFeedback, |
969 switches::kDisableSeccompSandbox, | 969 switches::kDisableSeccompSandbox, |
970 switches::kPpapiFlashInProcess, | 970 switches::kPpapiFlashInProcess, |
971 switches::kPpapiFlashPath, | 971 switches::kPpapiFlashPath, |
972 switches::kPpapiFlashVersion, | 972 switches::kPpapiFlashVersion, |
973 switches::kViewsDesktop, | |
974 switches::kTouchDevices, | 973 switches::kTouchDevices, |
975 #if defined(TOUCH_UI) | 974 #if defined(TOUCH_UI) |
976 // The virtual keyboard extension for TOUCH_UI (chrome://keyboard) highly | 975 // The virtual keyboard extension for TOUCH_UI (chrome://keyboard) highly |
977 // relies on experimental APIs. | 976 // relies on experimental APIs. |
978 switches::kEnableExperimentalExtensionApis, | 977 switches::kEnableExperimentalExtensionApis, |
979 #endif | 978 #endif |
980 }; | 979 }; |
981 command_line->CopySwitchesFrom(base_command_line, | 980 command_line->CopySwitchesFrom(base_command_line, |
982 kForwardSwitches, | 981 kForwardSwitches, |
983 arraysize(kForwardSwitches)); | 982 arraysize(kForwardSwitches)); |
(...skipping 350 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1334 // Mark login host for deletion after browser starts. This | 1333 // Mark login host for deletion after browser starts. This |
1335 // guarantees that the message loop will be referenced by the | 1334 // guarantees that the message loop will be referenced by the |
1336 // browser before it is dereferenced by the login host. | 1335 // browser before it is dereferenced by the login host. |
1337 if (login_host) { | 1336 if (login_host) { |
1338 login_host->OnSessionStart(); | 1337 login_host->OnSessionStart(); |
1339 login_host = NULL; | 1338 login_host = NULL; |
1340 } | 1339 } |
1341 } | 1340 } |
1342 | 1341 |
1343 } // namespace chromeos | 1342 } // namespace chromeos |
OLD | NEW |