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/file_path.h" | 10 #include "base/file_path.h" |
(...skipping 414 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
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(HAVE_XINPUT2) |
433 switches::kTouchDevices, | 433 switches::kTouchDevices, |
434 #endif | 434 #endif |
| 435 #if defined(TOUCH_UI) |
| 436 // The virtual keyboard extension for TOUCH_UI (chrome://keyboard) highly |
| 437 // relies on experimental APIs. |
| 438 switches::kEnableExperimentalExtensionApis, |
| 439 #endif |
435 }; | 440 }; |
436 command_line->CopySwitchesFrom(base_command_line, | 441 command_line->CopySwitchesFrom(base_command_line, |
437 kForwardSwitches, | 442 kForwardSwitches, |
438 arraysize(kForwardSwitches)); | 443 arraysize(kForwardSwitches)); |
439 command_line->AppendSwitch(switches::kGuestSession); | 444 command_line->AppendSwitch(switches::kGuestSession); |
440 command_line->AppendSwitch(switches::kIncognito); | 445 command_line->AppendSwitch(switches::kIncognito); |
441 command_line->AppendSwitchASCII(switches::kLoggingLevel, | 446 command_line->AppendSwitchASCII(switches::kLoggingLevel, |
442 kGuestModeLoggingLevel); | 447 kGuestModeLoggingLevel); |
443 | 448 |
444 command_line->AppendSwitchASCII(switches::kLoginUser, kGuestUserName); | 449 command_line->AppendSwitchASCII(switches::kLoginUser, kGuestUserName); |
(...skipping 150 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
595 // Mark login host for deletion after browser starts. This | 600 // Mark login host for deletion after browser starts. This |
596 // guarantees that the message loop will be referenced by the | 601 // guarantees that the message loop will be referenced by the |
597 // browser before it is dereferenced by the login host. | 602 // browser before it is dereferenced by the login host. |
598 if (login_host) { | 603 if (login_host) { |
599 login_host->OnSessionStart(); | 604 login_host->OnSessionStart(); |
600 login_host = NULL; | 605 login_host = NULL; |
601 } | 606 } |
602 } | 607 } |
603 | 608 |
604 } // namespace chromeos | 609 } // namespace chromeos |
OLD | NEW |