| Index: chrome/browser/chromeos/login/helper.cc
|
| diff --git a/chrome/browser/chromeos/login/helper.cc b/chrome/browser/chromeos/login/helper.cc
|
| index 38809d6d2d5db440a2e357d86c9515d7998925ac..b127536baf82d1b5eded6dd571d1da4f12f95bb4 100644
|
| --- a/chrome/browser/chromeos/login/helper.cc
|
| +++ b/chrome/browser/chromeos/login/helper.cc
|
| @@ -51,6 +51,11 @@ std::string CanonicalizeUserID(const std::string& user_id) {
|
| return gaia::CanonicalizeEmail(user_id);
|
| }
|
|
|
| +bool LockScrollIntoViewEnabled() {
|
| + return !CommandLine::ForCurrentProcess()->HasSwitch(
|
| + chromeos::switches::kDisableLockScrollIntoView);
|
| +}
|
| +
|
| bool LoginScrollIntoViewEnabled() {
|
| return !CommandLine::ForCurrentProcess()->HasSwitch(
|
| chromeos::switches::kDisableLoginScrollIntoView);
|
|
|