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

Issue 854173003: Credential Management API: the account chooser dialog supports custom avatars. (Closed)

Created:
5 years, 11 months ago by vasilii
Modified:
5 years, 11 months ago
Reviewers:
Mike West
CC:
chromium-reviews, tfarina, gcasto+watchlist_chromium.org, mkwst+watchlist-passwords_chromium.org
Base URL:
https://chromium.googlesource.com/chromium/src.git@master
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

Credential Management API: the account chooser dialog supports custom avatars. BUG=400674 Committed: https://crrev.com/cbb747e50de6b4a16e37dab2cae8f87a2da026bd Cr-Commit-Position: refs/heads/master@{#312597}

Patch Set 1 #

Total comments: 12

Patch Set 2 : comments #

Patch Set 3 : resize avatar manually so it looks cool! #

Total comments: 2

Patch Set 4 : added a test #

Unified diffs Side-by-side diffs Delta from patch set Stats (+189 lines, -17 lines) Patch
M chrome/browser/ui/passwords/manage_passwords_bubble_model.h View 2 chunks +3 lines, -0 lines 0 comments Download
M chrome/browser/ui/passwords/manage_passwords_bubble_model.cc View 1 chunk +4 lines, -0 lines 0 comments Download
M chrome/browser/ui/passwords/manage_passwords_test.h View 1 2 3 3 chunks +10 lines, -0 lines 0 comments Download
M chrome/browser/ui/passwords/manage_passwords_test.cc View 1 2 3 2 chunks +14 lines, -0 lines 0 comments Download
M chrome/browser/ui/views/passwords/credentials_item_view.h View 1 2 3 2 chunks +17 lines, -1 line 0 comments Download
M chrome/browser/ui/views/passwords/credentials_item_view.cc View 1 2 3 4 chunks +86 lines, -15 lines 0 comments Download
M chrome/browser/ui/views/passwords/manage_passwords_bubble_view.cc View 1 2 chunks +5 lines, -1 line 0 comments Download
M chrome/browser/ui/views/passwords/manage_passwords_bubble_view_browsertest.cc View 1 2 3 2 chunks +50 lines, -0 lines 0 comments Download

Messages

Total messages: 15 (2 generated)
vasilii
Hi Mike, please review.
5 years, 11 months ago (2015-01-20 17:13:13 UTC) #2
Mike West
https://codereview.chromium.org/854173003/diff/1/chrome/browser/ui/views/passwords/credentials_item_view.cc File chrome/browser/ui/views/passwords/credentials_item_view.cc (right): https://codereview.chromium.org/854173003/diff/1/chrome/browser/ui/views/passwords/credentials_item_view.cc#newcode66 chrome/browser/ui/views/passwords/credentials_item_view.cc:66: void Start(net::URLRequestContextGetter* request_context); Nit: Newline after. https://codereview.chromium.org/854173003/diff/1/chrome/browser/ui/views/passwords/credentials_item_view.cc#newcode100 chrome/browser/ui/views/passwords/credentials_item_view.cc:100: delegate_->UpdateAvatar(gfx::Image::CreateFrom1xBitmap(*bitmap)); ...
5 years, 11 months ago (2015-01-20 17:48:55 UTC) #3
Mike West
(Also no tests; but I figured this was just a first pass sort of thing ...
5 years, 11 months ago (2015-01-20 17:55:10 UTC) #4
vasilii
What tests do you want to see? https://codereview.chromium.org/854173003/diff/1/chrome/browser/ui/views/passwords/credentials_item_view.cc File chrome/browser/ui/views/passwords/credentials_item_view.cc (right): https://codereview.chromium.org/854173003/diff/1/chrome/browser/ui/views/passwords/credentials_item_view.cc#newcode66 chrome/browser/ui/views/passwords/credentials_item_view.cc:66: void Start(net::URLRequestContextGetter* ...
5 years, 11 months ago (2015-01-20 19:43:03 UTC) #5
vasilii
I'm resizing the avatars now.
5 years, 11 months ago (2015-01-21 16:36:43 UTC) #6
Mike West
5 years, 11 months ago (2015-01-21 16:42:39 UTC) #7
Mike West
As we discussed, this seems like a fine first-pass. I think it would be _better_ ...
5 years, 11 months ago (2015-01-21 16:51:41 UTC) #8
Mike West
https://codereview.chromium.org/854173003/diff/40001/chrome/browser/ui/views/passwords/credentials_item_view.cc File chrome/browser/ui/views/passwords/credentials_item_view.cc (right): https://codereview.chromium.org/854173003/diff/40001/chrome/browser/ui/views/passwords/credentials_item_view.cc#newcode35 chrome/browser/ui/views/passwords/credentials_item_view.cc:35: gfx::ImageSkia skia_image = image.AsImageSkia(); Can we shortcut this by ...
5 years, 11 months ago (2015-01-21 16:51:52 UTC) #9
vasilii
Added a test. https://codereview.chromium.org/854173003/diff/40001/chrome/browser/ui/views/passwords/credentials_item_view.cc File chrome/browser/ui/views/passwords/credentials_item_view.cc (right): https://codereview.chromium.org/854173003/diff/40001/chrome/browser/ui/views/passwords/credentials_item_view.cc#newcode35 chrome/browser/ui/views/passwords/credentials_item_view.cc:35: gfx::ImageSkia skia_image = image.AsImageSkia(); On 2015/01/21 ...
5 years, 11 months ago (2015-01-21 19:41:23 UTC) #10
Mike West
LGTM, thanks!
5 years, 11 months ago (2015-01-22 06:59:13 UTC) #11
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/854173003/60001
5 years, 11 months ago (2015-01-22 09:12:57 UTC) #13
commit-bot: I haz the power
Committed patchset #4 (id:60001)
5 years, 11 months ago (2015-01-22 09:56:24 UTC) #14
commit-bot: I haz the power
5 years, 11 months ago (2015-01-22 09:58:15 UTC) #15
Message was sent while issue was closed.
Patchset 4 (id:??) landed as
https://crrev.com/cbb747e50de6b4a16e37dab2cae8f87a2da026bd
Cr-Commit-Position: refs/heads/master@{#312597}

Powered by Google App Engine
This is Rietveld 408576698