|
Android - Introduce "keyboard accessory" for Autofill suggestions.
The new UI is exposed behind a flag, --enable-autofill-keyboard-accessory-view. The intent is that there should be no behavior change when the flag is not passed, but eventually the flag will become the default and AutofillPopup[Bridge] and related code will be removed.
This maintains the same appearance for the list items, and matching the mocks (switching to white on blue, etc.) is a TODO. See go/wzhwq for goal state.
There are also TODOs surrounding behavior:
- we likely want to hide the keyboard accessory if the keyboard hide
- add animations
- somehow deal with very small amounts of available space (comes up in landscape mode)
BUG= 428087
TBR=isherman@chromium.org
Committed: https://crrev.com/b5efbab6f71b0e2660e3d5231d99df698c0e5b38
Cr-Commit-Position: refs/heads/master@{#327324}
Total comments: 38
Total comments: 16
|
Unified diffs |
Side-by-side diffs |
Delta from patch set |
Stats (+482 lines, -34 lines) |
Patch |
 |
A |
chrome/android/java/src/org/chromium/chrome/browser/autofill/AutofillKeyboardAccessoryBridge.java
|
View
|
1
2
3
4
5
6
7
8
|
1 chunk |
+116 lines, -0 lines |
0 comments
|
Download
|
 |
M |
chrome/app/generated_resources.grd
|
View
|
|
1 chunk |
+9 lines, -0 lines |
0 comments
|
Download
|
 |
M |
chrome/browser/about_flags.cc
|
View
|
1
2
3
4
5
6
7
8
|
1 chunk |
+9 lines, -0 lines |
0 comments
|
Download
|
 |
M |
chrome/browser/android/chrome_jni_registrar.cc
|
View
|
1
2
3
4
5
6
7
8
|
2 chunks |
+4 lines, -0 lines |
0 comments
|
Download
|
 |
M |
chrome/browser/chrome_content_browser_client.cc
|
View
|
1
|
1 chunk |
+1 line, -0 lines |
0 comments
|
Download
|
 |
A + |
chrome/browser/ui/android/autofill/autofill_keyboard_accessory_view.h
|
View
|
1
2
3
4
|
4 chunks |
+13 lines, -9 lines |
0 comments
|
Download
|
 |
A |
chrome/browser/ui/android/autofill/autofill_keyboard_accessory_view.cc
|
View
|
1
2
3
4
5
6
7
8
|
1 chunk |
+105 lines, -0 lines |
0 comments
|
Download
|
 |
M |
chrome/browser/ui/android/autofill/autofill_popup_view_android.cc
|
View
|
1
2
3
4
|
2 chunks |
+8 lines, -0 lines |
0 comments
|
Download
|
 |
M |
chrome/chrome_browser.gypi
|
View
|
1
2
3
4
5
6
7
8
|
1 chunk |
+1 line, -0 lines |
0 comments
|
Download
|
 |
M |
chrome/chrome_browser_ui.gypi
|
View
|
1
2
3
4
5
6
7
8
|
1 chunk |
+2 lines, -0 lines |
0 comments
|
Download
|
 |
M |
components/autofill/content/renderer/autofill_agent.cc
|
View
|
1
2
3
4
|
1 chunk |
+4 lines, -0 lines |
0 comments
|
Download
|
 |
M |
components/autofill/content/renderer/page_click_tracker.h
|
View
|
1
|
1 chunk |
+1 line, -0 lines |
0 comments
|
Download
|
 |
M |
components/autofill/content/renderer/page_click_tracker.cc
|
View
|
1
2
3
|
2 chunks |
+17 lines, -0 lines |
0 comments
|
Download
|
 |
M |
components/autofill/core/browser/autofill_external_delegate.cc
|
View
|
1
2
3
4
5
6
7
8
9
10
11
12
13
14
|
3 chunks |
+6 lines, -0 lines |
0 comments
|
Download
|
 |
M |
components/autofill/core/browser/autofill_external_delegate_unittest.cc
|
View
|
1
2
3
4
5
6
7
8
9
|
3 chunks |
+29 lines, -25 lines |
0 comments
|
Download
|
 |
M |
components/autofill/core/common/autofill_switches.h
|
View
|
1
|
1 chunk |
+1 line, -0 lines |
0 comments
|
Download
|
 |
M |
components/autofill/core/common/autofill_switches.cc
|
View
|
1
|
1 chunk |
+3 lines, -0 lines |
0 comments
|
Download
|
 |
M |
tools/metrics/histograms/histograms.xml
|
View
|
|
1 chunk |
+1 line, -0 lines |
0 comments
|
Download
|
 |
A |
ui/android/java/res/drawable/autofill_accessory_view_border.xml
|
View
|
1
2
3
4
5
6
7
8
9
10
11
|
1 chunk |
+16 lines, -0 lines |
0 comments
|
Download
|
 |
A |
ui/android/java/src/org/chromium/ui/autofill/AutofillKeyboardAccessory.java
|
View
|
1
2
3
4
5
6
7
8
9
10
11
12
13
|
1 chunk |
+117 lines, -0 lines |
0 comments
|
Download
|
 |
M |
ui/android/java/src/org/chromium/ui/base/WindowAndroid.java
|
View
|
1
2
3
4
5
6
|
3 chunks |
+19 lines, -0 lines |
0 comments
|
Download
|
Total messages: 37 (7 generated)
|