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

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: overscroll 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..cc720bba8989cd8f9ff9db4772afeb536a5c7c41 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(dpolukhin): temporary always enable overscroll mode for Athena,
Nikita (slow) 2014/09/08 09:53:17 Please file a work item and assign it to me - to f
Dmitry Polukhin 2014/09/08 13:28:19 Done.
+ // later we will need special API in Blink to specify which element need to
+ // be centered when virtual keyboard shown.
+ return false;
+#else
return !CommandLine::ForCurrentProcess()->HasSwitch(
chromeos::switches::kDisableLoginScrollIntoView);
+#endif
}
NetworkStateHelper::NetworkStateHelper() {}

Powered by Google App Engine
This is Rietveld 408576698