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

Issue 1082183002: Android - Introduce "keyboard accessory" for Autofill suggestions. (Closed)

Created:
5 years, 8 months ago by Evan Stade
Modified:
5 years, 7 months ago
CC:
chromium-reviews, estade+watch_chromium.org, rouslan+autofillwatch_chromium.org
Base URL:
https://chromium.googlesource.com/chromium/src.git@master
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

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}

Patch Set 1 #

Patch Set 2 : . #

Patch Set 3 : . #

Patch Set 4 : revert chrome_autofill_client.cc #

Patch Set 5 : cleanup #

Total comments: 38

Patch Set 6 : dtrainor review #

Patch Set 7 : dtrainor review 2 #

Patch Set 8 : more dtrainor review #

Total comments: 16

Patch Set 9 : rebase and newt review #

Patch Set 10 : attempt to fix msvc compile and findbugs error #

Patch Set 11 : fix findbugs?? #

Patch Set 12 : fix bg #

Patch Set 13 : suppress #

Patch Set 14 : import #

Patch Set 15 : fix test #

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

Messages

Total messages: 37 (7 generated)
Evan Stade
+dtrainor, newt for android review +rouslan as review/FYI for src/components/autofill changes
5 years, 8 months ago (2015-04-17 19:08:59 UTC) #2
please use gerrit instead
components/autofill lgtm
5 years, 8 months ago (2015-04-17 19:17:51 UTC) #3
Evan Stade
On 2015/04/17 19:17:51, Rouslan Solomakhin wrote: > components/autofill lgtm ping newt and/or dtrainor
5 years, 8 months ago (2015-04-20 22:47:23 UTC) #4
David Trainor- moved to gerrit
https://codereview.chromium.org/1082183002/diff/80001/chrome/android/java/src/org/chromium/chrome/browser/autofill/AutofillKeyboardAccessoryBridge.java File chrome/android/java/src/org/chromium/chrome/browser/autofill/AutofillKeyboardAccessoryBridge.java (right): https://codereview.chromium.org/1082183002/diff/80001/chrome/android/java/src/org/chromium/chrome/browser/autofill/AutofillKeyboardAccessoryBridge.java#newcode32 chrome/android/java/src/org/chromium/chrome/browser/autofill/AutofillKeyboardAccessoryBridge.java:32: mAccessoryView = null; Do you need this line? https://codereview.chromium.org/1082183002/diff/80001/chrome/browser/ui/android/autofill/autofill_keyboard_accessory_view.cc ...
5 years, 8 months ago (2015-04-20 23:29:44 UTC) #5
Evan Stade
+aruslan for OWNERS coverage of chrome/browser/ui/android/autofill/ https://codereview.chromium.org/1082183002/diff/80001/chrome/android/java/src/org/chromium/chrome/browser/autofill/AutofillKeyboardAccessoryBridge.java File chrome/android/java/src/org/chromium/chrome/browser/autofill/AutofillKeyboardAccessoryBridge.java (right): https://codereview.chromium.org/1082183002/diff/80001/chrome/android/java/src/org/chromium/chrome/browser/autofill/AutofillKeyboardAccessoryBridge.java#newcode32 chrome/android/java/src/org/chromium/chrome/browser/autofill/AutofillKeyboardAccessoryBridge.java:32: mAccessoryView = null; ...
5 years, 8 months ago (2015-04-21 00:48:52 UTC) #7
David Trainor- moved to gerrit
moar commentz. https://codereview.chromium.org/1082183002/diff/80001/chrome/browser/ui/android/autofill/autofill_keyboard_accessory_view.cc File chrome/browser/ui/android/autofill/autofill_keyboard_accessory_view.cc (right): https://codereview.chromium.org/1082183002/diff/80001/chrome/browser/ui/android/autofill/autofill_keyboard_accessory_view.cc#newcode26 chrome/browser/ui/android/autofill/autofill_keyboard_accessory_view.cc:26: AutofillKeyboardAccessoryView::~AutofillKeyboardAccessoryView() { On 2015/04/21 00:48:51, Evan Stade ...
5 years, 8 months ago (2015-04-21 06:55:47 UTC) #8
Evan Stade
https://codereview.chromium.org/1082183002/diff/80001/chrome/browser/ui/android/autofill/autofill_keyboard_accessory_view.cc File chrome/browser/ui/android/autofill/autofill_keyboard_accessory_view.cc (right): https://codereview.chromium.org/1082183002/diff/80001/chrome/browser/ui/android/autofill/autofill_keyboard_accessory_view.cc#newcode26 chrome/browser/ui/android/autofill/autofill_keyboard_accessory_view.cc:26: AutofillKeyboardAccessoryView::~AutofillKeyboardAccessoryView() { On 2015/04/21 06:55:47, David Trainor wrote: > ...
5 years, 8 months ago (2015-04-21 18:10:30 UTC) #9
David Trainor- moved to gerrit
https://codereview.chromium.org/1082183002/diff/80001/chrome/browser/ui/android/autofill/autofill_keyboard_accessory_view.cc File chrome/browser/ui/android/autofill/autofill_keyboard_accessory_view.cc (right): https://codereview.chromium.org/1082183002/diff/80001/chrome/browser/ui/android/autofill/autofill_keyboard_accessory_view.cc#newcode26 chrome/browser/ui/android/autofill/autofill_keyboard_accessory_view.cc:26: AutofillKeyboardAccessoryView::~AutofillKeyboardAccessoryView() { On 2015/04/21 18:10:30, Evan Stade wrote: > ...
5 years, 8 months ago (2015-04-21 21:02:31 UTC) #10
Evan Stade
https://codereview.chromium.org/1082183002/diff/80001/chrome/browser/ui/android/autofill/autofill_keyboard_accessory_view.cc File chrome/browser/ui/android/autofill/autofill_keyboard_accessory_view.cc (right): https://codereview.chromium.org/1082183002/diff/80001/chrome/browser/ui/android/autofill/autofill_keyboard_accessory_view.cc#newcode26 chrome/browser/ui/android/autofill/autofill_keyboard_accessory_view.cc:26: AutofillKeyboardAccessoryView::~AutofillKeyboardAccessoryView() { On 2015/04/21 21:02:31, David Trainor wrote: > ...
5 years, 8 months ago (2015-04-23 01:21:09 UTC) #11
David Trainor- moved to gerrit
lgtm
5 years, 8 months ago (2015-04-23 17:47:14 UTC) #12
Evan Stade
ping newt
5 years, 8 months ago (2015-04-24 02:20:32 UTC) #13
newt (away)
A few small comments. Two bigger picture comments: - Can filtering out separator items be ...
5 years, 8 months ago (2015-04-24 17:45:12 UTC) #14
David Trainor- moved to gerrit
On 2015/04/24 17:45:12, newt wrote: > A few small comments. > > Two bigger picture ...
5 years, 8 months ago (2015-04-24 20:05:15 UTC) #15
Evan Stade
https://codereview.chromium.org/1082183002/diff/140001/chrome/android/java/src/org/chromium/chrome/browser/autofill/AutofillKeyboardAccessoryBridge.java File chrome/android/java/src/org/chromium/chrome/browser/autofill/AutofillKeyboardAccessoryBridge.java (right): https://codereview.chromium.org/1082183002/diff/140001/chrome/android/java/src/org/chromium/chrome/browser/autofill/AutofillKeyboardAccessoryBridge.java#newcode26 chrome/android/java/src/org/chromium/chrome/browser/autofill/AutofillKeyboardAccessoryBridge.java:26: public AutofillKeyboardAccessoryBridge() { On 2015/04/24 17:45:11, newt wrote: > ...
5 years, 8 months ago (2015-04-24 21:19:18 UTC) #16
newt (away)
lgtm
5 years, 8 months ago (2015-04-24 21:48:11 UTC) #17
Evan Stade
On 2015/04/24 21:48:11, newt wrote: > lgtm ping aruslan for chrome/browser/ui/android/autofill/
5 years, 8 months ago (2015-04-27 18:35:07 UTC) #18
Evan Stade
On 2015/04/27 18:35:07, Evan Stade wrote: > On 2015/04/24 21:48:11, newt wrote: > > lgtm ...
5 years, 8 months ago (2015-04-27 19:46:47 UTC) #19
newt (away)
findbugs doesn't seem to care about the asserts, but it is concerned that WindowAndroid.getActivity().get() is ...
5 years, 8 months ago (2015-04-27 20:06:00 UTC) #20
David Trainor- moved to gerrit
Huh weird! Maybe try grabbing a strong reference to the Activity (Activity activity = windowAndroid.getActivity().get()) ...
5 years, 8 months ago (2015-04-27 20:07:56 UTC) #21
aruslan
lgtm
5 years, 8 months ago (2015-04-27 22:55:30 UTC) #22
Evan Stade
On 2015/04/27 22:55:30, aruslan wrote: > lgtm thanks. I went with dtrainor's suggestion re: findbugs ...
5 years, 8 months ago (2015-04-28 00:10:44 UTC) #23
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1082183002/280001
5 years, 8 months ago (2015-04-28 00:11:33 UTC) #26
newt (away)
On 2015/04/28 00:10:44, Evan Stade wrote: > On 2015/04/27 22:55:30, aruslan wrote: > > lgtm ...
5 years, 8 months ago (2015-04-28 00:18:47 UTC) #27
commit-bot: I haz the power
Try jobs failed on following builders: chromium_presubmit on tryserver.chromium.linux (JOB_FAILED, http://build.chromium.org/p/tryserver.chromium.linux/builders/chromium_presubmit/builds/59425)
5 years, 8 months ago (2015-04-28 00:20:45 UTC) #29
please use gerrit instead
Missing LGTM from an OWNER for these files: tools/metrics/histograms/histograms.xml
5 years, 7 months ago (2015-04-28 16:58:05 UTC) #30
Evan Stade
TBR isherman for histograms.xml
5 years, 7 months ago (2015-04-28 17:39:13 UTC) #32
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1082183002/280001
5 years, 7 months ago (2015-04-28 17:39:25 UTC) #34
commit-bot: I haz the power
Committed patchset #15 (id:280001)
5 years, 7 months ago (2015-04-28 18:08:05 UTC) #35
commit-bot: I haz the power
Patchset 15 (id:??) landed as https://crrev.com/b5efbab6f71b0e2660e3d5231d99df698c0e5b38 Cr-Commit-Position: refs/heads/master@{#327324}
5 years, 7 months ago (2015-04-28 18:09:06 UTC) #36
Ilya Sherman
5 years, 7 months ago (2015-04-28 19:54:11 UTC) #37
Message was sent while issue was closed.
histograms.xml lgtm

Powered by Google App Engine
This is Rietveld 408576698