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

Side by Side Diff: chromeos/chromeos_switches.cc

Issue 2865003003: Put OOBE UI on touch display if no keyboard detected (Closed)
Patch Set: Created 3 years, 7 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
OLDNEW
1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2012 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 "chromeos/chromeos_switches.h" 5 #include "chromeos/chromeos_switches.h"
6 6
7 #include <string> 7 #include <string>
8 8
9 #include "base/command_line.h" 9 #include "base/command_line.h"
10 #include "base/metrics/field_trial.h" 10 #include "base/metrics/field_trial.h"
(...skipping 398 matching lines...) Expand 10 before | Expand all | Expand 10 after
409 // An optional comma-separated list of IDs of apps that can be used to take 409 // An optional comma-separated list of IDs of apps that can be used to take
410 // notes. If unset, a hardcoded list is used instead. 410 // notes. If unset, a hardcoded list is used instead.
411 const char kNoteTakingAppIds[] = "note-taking-app-ids"; 411 const char kNoteTakingAppIds[] = "note-taking-app-ids";
412 412
413 // Indicates that if we should start bootstrapping Master OOBE. 413 // Indicates that if we should start bootstrapping Master OOBE.
414 const char kOobeBootstrappingMaster[] = "oobe-bootstrapping-master"; 414 const char kOobeBootstrappingMaster[] = "oobe-bootstrapping-master";
415 415
416 // Indicates that a guest session has been started before OOBE completion. 416 // Indicates that a guest session has been started before OOBE completion.
417 const char kOobeGuestSession[] = "oobe-guest-session"; 417 const char kOobeGuestSession[] = "oobe-guest-session";
418 418
419 // Have OOBE displayed on a touch display when possible.
420 const char kOobePreferTouchDisplay[] = "oobe-prefer-touch-display";
jdufault 2017/05/08 17:44:58 Why not make this the default and remove the flag?
421
419 // Skips all other OOBE pages after user login. 422 // Skips all other OOBE pages after user login.
420 const char kOobeSkipPostLogin[] = "oobe-skip-postlogin"; 423 const char kOobeSkipPostLogin[] = "oobe-skip-postlogin";
421 424
422 // Interval at which we check for total time on OOBE. 425 // Interval at which we check for total time on OOBE.
423 const char kOobeTimerInterval[] = "oobe-timer-interval"; 426 const char kOobeTimerInterval[] = "oobe-timer-interval";
424 427
425 // If true, the md login and lock screens will be shown. 428 // If true, the md login and lock screens will be shown.
426 const char kShowMdLogin[] = "show-md-login"; 429 const char kShowMdLogin[] = "show-md-login";
427 430
428 // Specifies power stub behavior: 431 // Specifies power stub behavior:
(...skipping 102 matching lines...) Expand 10 before | Expand all | Expand 10 after
531 return command_line->GetSwitchValueASCII(kTestCrosGaiaIdMigration) == 534 return command_line->GetSwitchValueASCII(kTestCrosGaiaIdMigration) ==
532 kTestCrosGaiaIdMigrationStarted; 535 kTestCrosGaiaIdMigrationStarted;
533 } 536 }
534 537
535 bool IsCellularFirstDevice() { 538 bool IsCellularFirstDevice() {
536 return base::CommandLine::ForCurrentProcess()->HasSwitch(kCellularFirst); 539 return base::CommandLine::ForCurrentProcess()->HasSwitch(kCellularFirst);
537 } 540 }
538 541
539 } // namespace switches 542 } // namespace switches
540 } // namespace chromeos 543 } // namespace chromeos
OLDNEW
« chrome/browser/ui/webui/chromeos/login/oobe_ui.cc ('K') | « chromeos/chromeos_switches.h ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698