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

Unified Diff: chrome/browser/chromeos/login/helper.cc

Issue 542623002: Minimal support for OOBE/login for chrome-athena (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: comments resolved Created 6 years, 3 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 side-by-side diff with in-line comments
Download patch
Index: chrome/browser/chromeos/login/helper.cc
diff --git a/chrome/browser/chromeos/login/helper.cc b/chrome/browser/chromeos/login/helper.cc
index b882b6cd32a3996ab7d75b22f0e455f83b6783cb..3735153b9b34ec5628b3fe1583518647c7005e82 100644
--- a/chrome/browser/chromeos/login/helper.cc
+++ b/chrome/browser/chromeos/login/helper.cc
@@ -42,8 +42,15 @@ int GetCurrentUserImageSize() {
namespace login {
bool LoginScrollIntoViewEnabled() {
+#if defined(USE_ATHENA)
+ // TODO(nkostylev): temporary always enable overscroll mode for Athena,
+ // later we will need special API in Blink to specify which element need to
+ // be centered when virtual keyboard shown, crbug.com/411879
+ return false;
+#else
return !CommandLine::ForCurrentProcess()->HasSwitch(
chromeos::switches::kDisableLoginScrollIntoView);
+#endif
}
NetworkStateHelper::NetworkStateHelper() {}

Powered by Google App Engine
This is Rietveld 408576698