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

Issue 606153002: [android] Password generation UI for android. (Closed)

Created:
6 years, 2 months ago by please use gerrit instead
Modified:
6 years, 1 month ago
CC:
chromium-reviews, Evan Stade, aruslan, Garrett Casto, Mike West
Base URL:
https://chromium.googlesource.com/chromium/src.git@master
Project:
chromium
Visibility:
Public.

Description

[android] Password generation UI for android. The feature is disabled through field trial infrastructure. Pass these flags to try it out on a device: --enable-password-generation --local-heuristics-only-for-password-generation BUG=412150 Committed: https://crrev.com/b2237a9c8e8c7c078157a02566bcd2f64f3eca94 Cr-Commit-Position: refs/heads/master@{#301526}

Patch Set 1 #

Patch Set 2 : Relative layout. #

Patch Set 3 : #

Patch Set 4 : #

Patch Set 5 : Work in progress. #

Patch Set 6 : Proof of concept. #

Patch Set 7 : Work in progress. #

Patch Set 8 : Work in progress. #

Patch Set 9 : Working prototype. #

Patch Set 10 : Switch from DropdownPopupWindow inheritance to PopupWindow composition to get the necessary functio… #

Patch Set 11 : Work in progress. #

Patch Set 12 : Link is clickable. #

Patch Set 13 : Add color to the span. #

Patch Set 14 : Remove underline from the link. #

Patch Set 15 : Set explanation width manually to match suggestion. #

Patch Set 16 : Matches mocks. #

Patch Set 17 : Pipe through the RTL-ness and use PasswordAccepted callback. #

Patch Set 18 : Remove most logs. #

Patch Set 19 : Remove all logs. #

Patch Set 20 : Comments. #

Patch Set 21 : Spellcheck comments. #

Total comments: 6

Patch Set 22 : Unify default text color. Use integers instead of enums. Simplify delegate. #

Total comments: 14

Patch Set 23 : Build adapter in the bridge. #

Total comments: 8

Patch Set 24 : Reformat and get rid of PasswordGenerationPopup. #

Patch Set 25 : Ignore convertView -> :-( #

Patch Set 26 : BaseAdapter. #

Patch Set 27 : Remove debug log. #

Total comments: 3

Patch Set 28 : Use tags to identify views. #

Patch Set 29 : Use correct convertView to measure content width. #

Patch Set 30 : Set the width of the popup correctly. #

Total comments: 14

Patch Set 31 : Show password settings when you click on 'saved passwords' link in the popup. #

Patch Set 32 : Rebase. #

Patch Set 33 : Work in progress. #

Patch Set 34 : Fix typo. #

Patch Set 35 : Work in progress. #

Patch Set 36 : Ready to reivew. #

Total comments: 4

Patch Set 37 : Colon on next line. #

Total comments: 2

Patch Set 38 : Remove platform guards. #

Unified diffs Side-by-side diffs Delta from patch set Stats (+681 lines, -8 lines) Patch
A chrome/android/java/res/layout/password_generation_popup_explanation.xml View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 1 chunk +23 lines, -0 lines 0 comments Download
A chrome/android/java/res/layout/password_generation_popup_suggestion.xml View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 1 chunk +57 lines, -0 lines 0 comments Download
M chrome/android/java/res/values/colors.xml View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 1 chunk +5 lines, -0 lines 0 comments Download
M chrome/android/java/res/values/dimens.xml View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 1 chunk +6 lines, -0 lines 0 comments Download
A chrome/android/java/src/org/chromium/chrome/browser/autofill/PasswordGenerationAdapter.java View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 1 chunk +241 lines, -0 lines 0 comments Download
A chrome/android/java/src/org/chromium/chrome/browser/autofill/PasswordGenerationPopupBridge.java View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 1 chunk +157 lines, -0 lines 0 comments Download
M chrome/browser/about_flags.cc View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 1 chunk +1 line, -1 line 0 comments Download
M chrome/browser/android/chrome_jni_registrar.cc View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 2 chunks +3 lines, -0 lines 0 comments Download
M chrome/browser/password_manager/chrome_password_manager_client.cc View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 3 chunks +0 lines, -6 lines 0 comments Download
A chrome/browser/ui/android/autofill/password_generation_popup_view_android.h View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 1 chunk +60 lines, -0 lines 0 comments Download
A chrome/browser/ui/android/autofill/password_generation_popup_view_android.cc View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 1 chunk +124 lines, -0 lines 0 comments Download
M chrome/chrome_browser.gypi View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 1 chunk +1 line, -0 lines 0 comments Download
M chrome/chrome_browser_ui.gypi View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 1 chunk +2 lines, -0 lines 0 comments Download
M ui/android/java/src/org/chromium/ui/DropdownPopupWindow.java View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 1 chunk +1 line, -1 line 0 comments Download

Messages

Total messages: 48 (13 generated)
please use gerrit instead
Aurimas: PTAL Patch Set 21. I would like to check this in now to let ...
6 years, 2 months ago (2014-10-16 00:57:35 UTC) #4
aurimas (slooooooooow)
comments from my 1 minute glance at this CL. Will take a proper look at ...
6 years, 2 months ago (2014-10-16 01:40:18 UTC) #5
please use gerrit instead
Aurimas: PTAL Patch Set 22. https://codereview.chromium.org/606153002/diff/490001/chrome/android/java/res/values/colors.xml File chrome/android/java/res/values/colors.xml (right): https://codereview.chromium.org/606153002/diff/490001/chrome/android/java/res/values/colors.xml#newcode54 chrome/android/java/res/values/colors.xml:54: <color name="password_generation_suggestion_text_color">#333333</color> On 2014/10/16 ...
6 years, 2 months ago (2014-10-16 03:31:34 UTC) #6
aurimas (slooooooooow)
Another quick set of comments. https://chromiumcodereview.appspot.com/606153002/diff/510001/chrome/android/java/res/values/colors.xml File chrome/android/java/res/values/colors.xml (right): https://chromiumcodereview.appspot.com/606153002/diff/510001/chrome/android/java/res/values/colors.xml#newcode40 chrome/android/java/res/values/colors.xml:40: <color name="website_settings_popup_text">#333333</color> Make this ...
6 years, 2 months ago (2014-10-16 23:30:01 UTC) #7
please use gerrit instead
Aurimas: PTAL Patch Set 23. https://chromiumcodereview.appspot.com/606153002/diff/510001/chrome/android/java/res/values/colors.xml File chrome/android/java/res/values/colors.xml (right): https://chromiumcodereview.appspot.com/606153002/diff/510001/chrome/android/java/res/values/colors.xml#newcode40 chrome/android/java/res/values/colors.xml:40: <color name="website_settings_popup_text">#333333</color> On 2014/10/16 ...
6 years, 2 months ago (2014-10-17 05:19:00 UTC) #8
aurimas (slooooooooow)
https://codereview.chromium.org/606153002/diff/530001/chrome/android/java/src/org/chromium/chrome/browser/autofill/PasswordGenerationAdapter.java File chrome/android/java/src/org/chromium/chrome/browser/autofill/PasswordGenerationAdapter.java (right): https://codereview.chromium.org/606153002/diff/530001/chrome/android/java/src/org/chromium/chrome/browser/autofill/PasswordGenerationAdapter.java#newcode121 chrome/android/java/src/org/chromium/chrome/browser/autofill/PasswordGenerationAdapter.java:121: new LayoutParams(suggestion.getMeasuredWidth(), LayoutParams.WRAP_CONTENT)); Line breaks in Java are +8 ...
6 years, 2 months ago (2014-10-17 05:42:13 UTC) #9
please use gerrit instead
Aurimas: PTAL Patch Set 25 & my question inline. https://codereview.chromium.org/606153002/diff/530001/chrome/android/java/src/org/chromium/chrome/browser/autofill/PasswordGenerationAdapter.java File chrome/android/java/src/org/chromium/chrome/browser/autofill/PasswordGenerationAdapter.java (right): https://codereview.chromium.org/606153002/diff/530001/chrome/android/java/src/org/chromium/chrome/browser/autofill/PasswordGenerationAdapter.java#newcode121 chrome/android/java/src/org/chromium/chrome/browser/autofill/PasswordGenerationAdapter.java:121: ...
6 years, 2 months ago (2014-10-18 01:15:12 UTC) #10
please use gerrit instead
Aurimas: PTAL Patch Set 27. I was able to get BaseAdapter to work, but I'm ...
6 years, 2 months ago (2014-10-22 18:40:51 UTC) #11
please use gerrit instead
https://codereview.chromium.org/606153002/diff/600001/chrome/android/java/src/org/chromium/chrome/browser/autofill/PasswordGenerationAdapter.java File chrome/android/java/src/org/chromium/chrome/browser/autofill/PasswordGenerationAdapter.java (right): https://codereview.chromium.org/606153002/diff/600001/chrome/android/java/src/org/chromium/chrome/browser/autofill/PasswordGenerationAdapter.java#newcode143 chrome/android/java/src/org/chromium/chrome/browser/autofill/PasswordGenerationAdapter.java:143: .findViewById(R.id.password_generation_explanation); On 2014/10/22 18:40:51, Rouslan Solomakhin wrote: > Sometimes ...
6 years, 2 months ago (2014-10-22 21:04:36 UTC) #12
please use gerrit instead
Aurimas: PTAL Patch Set 30. I was able to get set the width of the ...
6 years, 2 months ago (2014-10-22 23:50:41 UTC) #13
please use gerrit instead
Aurimas: Patch Set 31 has the ability to open the "saved passwords" settings page when ...
6 years, 2 months ago (2014-10-23 00:54:09 UTC) #14
please use gerrit instead
On 2014/10/23 00:54:09, Rouslan Solomakhin wrote: > Aurimas: Patch Set 31 has the ability to ...
6 years, 2 months ago (2014-10-23 00:55:00 UTC) #15
aurimas (slooooooooow)
It is starting to look really good. https://codereview.chromium.org/606153002/diff/660001/chrome/android/java/res/layout/password_generation_popup_suggestion.xml File chrome/android/java/res/layout/password_generation_popup_suggestion.xml (right): https://codereview.chromium.org/606153002/diff/660001/chrome/android/java/res/layout/password_generation_popup_suggestion.xml#newcode19 chrome/android/java/res/layout/password_generation_popup_suggestion.xml:19: android:layout_marginTop="@dimen/password_generation_icon_vertical_margin" This ...
6 years, 2 months ago (2014-10-23 00:57:01 UTC) #16
please use gerrit instead
Aurimas: PTAL Patch Set 36. https://codereview.chromium.org/606153002/diff/660001/chrome/android/java/res/layout/password_generation_popup_suggestion.xml File chrome/android/java/res/layout/password_generation_popup_suggestion.xml (right): https://codereview.chromium.org/606153002/diff/660001/chrome/android/java/res/layout/password_generation_popup_suggestion.xml#newcode19 chrome/android/java/res/layout/password_generation_popup_suggestion.xml:19: android:layout_marginTop="@dimen/password_generation_icon_vertical_margin" On 2014/10/23 00:57:01, ...
6 years, 2 months ago (2014-10-24 18:13:02 UTC) #17
aurimas (slooooooooow)
https://codereview.chromium.org/606153002/diff/660001/chrome/android/java/res/layout/password_generation_popup_suggestion.xml File chrome/android/java/res/layout/password_generation_popup_suggestion.xml (right): https://codereview.chromium.org/606153002/diff/660001/chrome/android/java/res/layout/password_generation_popup_suggestion.xml#newcode51 chrome/android/java/res/layout/password_generation_popup_suggestion.xml:51: <View android:id="@+id/password_generation_divider" On 2014/10/24 18:13:01, Rouslan Solomakhin wrote: > ...
6 years, 2 months ago (2014-10-24 20:35:52 UTC) #18
please use gerrit instead
https://codereview.chromium.org/606153002/diff/660001/chrome/android/java/res/layout/password_generation_popup_suggestion.xml File chrome/android/java/res/layout/password_generation_popup_suggestion.xml (right): https://codereview.chromium.org/606153002/diff/660001/chrome/android/java/res/layout/password_generation_popup_suggestion.xml#newcode51 chrome/android/java/res/layout/password_generation_popup_suggestion.xml:51: <View android:id="@+id/password_generation_divider" On 2014/10/24 20:35:52, aurimas wrote: > On ...
6 years, 2 months ago (2014-10-24 22:10:15 UTC) #19
aurimas (slooooooooow)
On 2014/10/24 22:10:15, Rouslan Solomakhin wrote: > https://codereview.chromium.org/606153002/diff/660001/chrome/android/java/res/layout/password_generation_popup_suggestion.xml > File chrome/android/java/res/layout/password_generation_popup_suggestion.xml > (right): > > ...
6 years, 2 months ago (2014-10-24 22:14:05 UTC) #20
please use gerrit instead
On 2014/10/24 22:14:05, aurimas wrote: > Did you try calling setDividerHeight(10) or some other number ...
6 years, 2 months ago (2014-10-24 22:32:27 UTC) #21
please use gerrit instead
On 2014/10/24 22:32:27, Rouslan Solomakhin wrote: > On 2014/10/24 22:14:05, aurimas wrote: > > Did ...
6 years, 2 months ago (2014-10-24 22:33:48 UTC) #22
aurimas (slooooooooow)
Java + XML LGTM https://codereview.chromium.org/606153002/diff/780001/chrome/android/java/res/layout/password_generation_popup_explanation.xml File chrome/android/java/res/layout/password_generation_popup_explanation.xml (right): https://codereview.chromium.org/606153002/diff/780001/chrome/android/java/res/layout/password_generation_popup_explanation.xml#newcode19 chrome/android/java/res/layout/password_generation_popup_explanation.xml:19: android:includeFontPadding="false" Why do we need ...
6 years, 2 months ago (2014-10-24 23:35:02 UTC) #23
please use gerrit instead
https://codereview.chromium.org/606153002/diff/780001/chrome/android/java/res/layout/password_generation_popup_explanation.xml File chrome/android/java/res/layout/password_generation_popup_explanation.xml (right): https://codereview.chromium.org/606153002/diff/780001/chrome/android/java/res/layout/password_generation_popup_explanation.xml#newcode19 chrome/android/java/res/layout/password_generation_popup_explanation.xml:19: android:includeFontPadding="false" On 2014/10/24 23:35:01, aurimas wrote: > Why do ...
6 years, 2 months ago (2014-10-25 00:18:12 UTC) #24
please use gerrit instead
Aurimas, did you also mean to el-gee chrome/browser/ui/android/autofill/password_generation_popup_view_android.{h,cc}? You were the original author of autofill_popup_view_android.{h,cc}, ...
6 years, 2 months ago (2014-10-25 00:20:45 UTC) #25
please use gerrit instead
Garrett: OWNERS PTAL chrome/browser/password_manager/chrome_password_manager_client.cc.
6 years, 2 months ago (2014-10-25 00:21:49 UTC) #27
please use gerrit instead
On 2014/10/25 00:21:49, Rouslan Solomakhin wrote: > Garrett: OWNERS PTAL > chrome/browser/password_manager/chrome_password_manager_client.cc. ... in Patch ...
6 years, 2 months ago (2014-10-25 00:22:55 UTC) #32
please use gerrit instead
Jared: OWNERS PTAL ui/android/java/src/org/chromium/ui/DropdownPopupWindow.java in Patch Set 37.
6 years, 2 months ago (2014-10-25 00:23:57 UTC) #35
please use gerrit instead
Bernhard, OWNERS PTAL chrome/browser/android/chrome_jni_registrar.cc in Patch Set 37.
6 years, 2 months ago (2014-10-25 00:25:28 UTC) #38
aurimas (slooooooooow)
6 years, 2 months ago (2014-10-25 00:27:59 UTC) #39
aurimas (slooooooooow)
I'll take a look at the JNI code on Monday.
6 years, 2 months ago (2014-10-25 00:28:21 UTC) #40
jdduke (slow)
On 2014/10/25 00:23:57, Rouslan Solomakhin wrote: > Jared: OWNERS PTAL ui/android/java/src/org/chromium/ui/DropdownPopupWindow.java > in Patch Set ...
6 years, 2 months ago (2014-10-25 00:29:19 UTC) #41
Bernhard Bauer
chrome/browser/android LGTM.
6 years, 1 month ago (2014-10-27 10:13:02 UTC) #42
Garrett Casto
LGTM with nits https://codereview.chromium.org/606153002/diff/800001/chrome/browser/password_manager/chrome_password_manager_client.cc File chrome/browser/password_manager/chrome_password_manager_client.cc (right): https://codereview.chromium.org/606153002/diff/800001/chrome/browser/password_manager/chrome_password_manager_client.cc#newcode339 chrome/browser/password_manager/chrome_password_manager_client.cc:339: #if defined(USE_AURA) || defined(OS_MACOSX) || defined(OS_ANDROID) ...
6 years, 1 month ago (2014-10-27 22:48:59 UTC) #43
please use gerrit instead
https://codereview.chromium.org/606153002/diff/800001/chrome/browser/password_manager/chrome_password_manager_client.cc File chrome/browser/password_manager/chrome_password_manager_client.cc (right): https://codereview.chromium.org/606153002/diff/800001/chrome/browser/password_manager/chrome_password_manager_client.cc#newcode339 chrome/browser/password_manager/chrome_password_manager_client.cc:339: #if defined(USE_AURA) || defined(OS_MACOSX) || defined(OS_ANDROID) On 2014/10/27 22:48:58, ...
6 years, 1 month ago (2014-10-27 22:57:05 UTC) #44
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/606153002/820001
6 years, 1 month ago (2014-10-27 23:49:40 UTC) #46
commit-bot: I haz the power
Committed patchset #38 (id:820001)
6 years, 1 month ago (2014-10-28 00:59:09 UTC) #47
commit-bot: I haz the power
6 years, 1 month ago (2014-10-28 00:59:38 UTC) #48
Message was sent while issue was closed.
Patchset 38 (id:??) landed as
https://crrev.com/b2237a9c8e8c7c078157a02566bcd2f64f3eca94
Cr-Commit-Position: refs/heads/master@{#301526}

Powered by Google App Engine
This is Rietveld 408576698