|
Disabling virtual keyboard overscroll (at least for now) for login/out-of-box since scroll
into view seems to be not working. Implement user pod scroll into view depending
on the number of user pod rows available.
Login pods scroll into view is triggered only on window resize and when keyboard is shown.
This means that if keyboard is already shown (i.e. no resize is happening) and user selects
another user pod in different row no scrolling happens i.e. relying on user to scroll pods manually.
Also updating outer-container min-height based on primary display resolution.
Note: Lock screen has overscroll enabled since default scroll into view implementation is working fine there.
Main changes are in
login_display_host_impl.cc
display_manager.js
user_pod_row.js
keyboard_util.cc
The rest is just adding 2 new common methods into the interfaces.
To disable this feature: --disable-login-scroll-into-view
Screenshots: https://folio.googleplex.com/loginvk
BUG= 363635
TEST=Manual: 1..6 rows of user pods, bring up VK. Both landscape and portrait mode, incl. screen rotation.
Committed: https://src.chromium.org/viewvc/chrome?view=rev&revision=272843
Total comments: 12
|
Unified diffs |
Side-by-side diffs |
Delta from patch set |
Stats (+269 lines, -5 lines) |
Patch |
 |
M |
chrome/browser/chromeos/login/helper.h
|
View
|
1
2
3
4
5
6
7
|
1 chunk |
+4 lines, -0 lines |
0 comments
|
Download
|
 |
M |
chrome/browser/chromeos/login/helper.cc
|
View
|
1
2
3
4
5
6
7
|
2 chunks |
+7 lines, -0 lines |
0 comments
|
Download
|
 |
M |
chrome/browser/chromeos/login/screens/core_oobe_actor.h
|
View
|
1
2
3
4
5
6
7
|
1 chunk |
+2 lines, -0 lines |
0 comments
|
Download
|
 |
M |
chrome/browser/chromeos/login/ui/login_display.h
|
View
|
1
2
3
4
5
6
7
|
1 chunk |
+6 lines, -0 lines |
0 comments
|
Download
|
 |
M |
chrome/browser/chromeos/login/ui/login_display_host_impl.h
|
View
|
1
2
3
4
5
6
7
8
9
10
|
3 chunks |
+9 lines, -1 line |
0 comments
|
Download
|
 |
M |
chrome/browser/chromeos/login/ui/login_display_host_impl.cc
|
View
|
1
2
3
4
5
6
7
8
9
10
|
8 chunks |
+60 lines, -2 lines |
0 comments
|
Download
|
 |
M |
chrome/browser/chromeos/login/ui/mock_login_display.h
|
View
|
1
2
3
4
5
6
7
|
1 chunk |
+2 lines, -0 lines |
0 comments
|
Download
|
 |
M |
chrome/browser/chromeos/login/ui/webui_login_display.h
|
View
|
1
2
3
4
5
6
7
|
1 chunk |
+2 lines, -0 lines |
0 comments
|
Download
|
 |
M |
chrome/browser/chromeos/login/ui/webui_login_display.cc
|
View
|
1
2
3
4
5
6
7
|
1 chunk |
+10 lines, -0 lines |
0 comments
|
Download
|
 |
M |
chrome/browser/resources/chromeos/login/login_common.js
|
View
|
1
2
3
4
5
6
7
|
1 chunk |
+16 lines, -0 lines |
0 comments
|
Download
|
 |
M |
chrome/browser/resources/login/display_manager.js
|
View
|
1
2
3
4
5
6
7
|
2 chunks |
+29 lines, -0 lines |
0 comments
|
Download
|
 |
M |
chrome/browser/resources/login/user_pod_row.js
|
View
|
1
2
3
4
5
6
7
8
9
10
11
12
13
|
6 chunks |
+38 lines, -2 lines |
0 comments
|
Download
|
 |
M |
chrome/browser/ui/webui/chromeos/login/core_oobe_handler.h
|
View
|
1
2
3
4
5
6
7
8
|
2 chunks |
+8 lines, -0 lines |
0 comments
|
Download
|
 |
M |
chrome/browser/ui/webui/chromeos/login/core_oobe_handler.cc
|
View
|
1
2
3
4
5
6
7
|
5 chunks |
+32 lines, -0 lines |
0 comments
|
Download
|
 |
M |
chrome/browser/ui/webui/chromeos/login/signin_screen_handler.h
|
View
|
1
2
3
4
5
6
7
8
9
10
|
2 chunks |
+4 lines, -0 lines |
0 comments
|
Download
|
 |
M |
chrome/browser/ui/webui/chromeos/login/signin_screen_handler.cc
|
View
|
1
2
3
4
5
6
7
8
9
10
|
1 chunk |
+8 lines, -0 lines |
0 comments
|
Download
|
 |
M |
chromeos/chromeos_switches.h
|
View
|
1
2
3
4
5
6
7
8
9
10
|
1 chunk |
+1 line, -0 lines |
0 comments
|
Download
|
 |
M |
chromeos/chromeos_switches.cc
|
View
|
1
2
3
4
5
6
7
8
9
10
|
1 chunk |
+4 lines, -0 lines |
0 comments
|
Download
|
 |
M |
ui/keyboard/keyboard_util.h
|
View
|
1
2
3
4
5
6
|
2 chunks |
+11 lines, -0 lines |
0 comments
|
Download
|
 |
M |
ui/keyboard/keyboard_util.cc
|
View
|
1
2
3
4
5
6
7
8
9
10
11
12
13
14
|
3 chunks |
+16 lines, -0 lines |
0 comments
|
Download
|
Total messages: 22 (0 generated)
|