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

Issue 297143008: [Win] UI fixes for the new avatar button/bubble auth errors. (Closed)

Created:
6 years, 7 months ago by noms (inactive)
Modified:
6 years, 6 months ago
Reviewers:
msw
CC:
chromium-reviews, tfarina, Elliot Glaysher
Visibility:
Public.

Description

[Win] UI fixes for the new avatar button/bubble auth errors. Avatar bubble: Screenshots: https://drive.google.com/file/d/0B1B1Up4p2NRMT2xPMnp3dEJvUms/edit?usp=sharing - the previous code was using a temporary warning icon (while we were waiting on UI resources), so this CL updates both the avatar button and bubble to use the correct one - only the warning icon was clickable for accounts with an auth error in the avatar bubble; changed this to have the entire account name be clickable, after chatting with Travis/Alan - moved the icon to in front of the account name, after conversations with UI - fixed eliding for the account button (which wasn't missing one of the horizontal edge margins). Screenshot: https://drive.google.com/file/d/0B1B1Up4p2NRMczBVQ29IRlREcG8/edit?usp=sharing Avatar button: Screenshots: https://drive.google.com/file/d/0B1B1Up4p2NRMZnJsV3hlZTFjcGM/edit?usp=sharing - fixes a bug where the avatar button text for glass windows was displayed incorrectly when the window was maximized. BUG=311235, 381713 Committed: https://src.chromium.org/viewvc/chrome?view=rev&revision=278814

Patch Set 1 #

Total comments: 7

Patch Set 2 : resize icon instead of duplicating. a rebase sneaked in here :( #

Total comments: 6

Patch Set 3 : rebase #

Patch Set 4 : fix avatar buttons + redo the bubble warning icon #

Total comments: 6

Patch Set 5 : rebase #

Patch Set 6 : undid auth image resizing + fixed glass button positioning #

Total comments: 12

Patch Set 7 : rebase #

Patch Set 8 : msw nits #

Total comments: 2

Patch Set 9 : final nit weeeeee #

Patch Set 10 : rebase #

Unified diffs Side-by-side diffs Delta from patch set Stats (+21 lines, -35 lines) Patch
M chrome/browser/ui/views/frame/glass_browser_frame_view.cc View 1 2 3 4 5 6 7 8 9 1 chunk +6 lines, -7 lines 0 comments Download
M chrome/browser/ui/views/profiles/new_avatar_button.cc View 1 2 3 4 5 6 7 8 9 2 chunks +2 lines, -3 lines 0 comments Download
M chrome/browser/ui/views/profiles/profile_chooser_view.cc View 1 2 3 4 5 6 7 8 9 2 chunks +13 lines, -25 lines 0 comments Download

Messages

Total messages: 38 (0 generated)
noms (inactive)
Hi Mike, I've fixed the UI for the auth warnings in the new avatar menu/bubble. ...
6 years, 7 months ago (2014-05-27 18:33:16 UTC) #1
msw
https://codereview.chromium.org/297143008/diff/1/chrome/browser/ui/views/profiles/new_avatar_button.cc File chrome/browser/ui/views/profiles/new_avatar_button.cc (right): https://codereview.chromium.org/297143008/diff/1/chrome/browser/ui/views/profiles/new_avatar_button.cc#newcode29 chrome/browser/ui/views/profiles/new_avatar_button.cc:29: const int kBottomInset = 3; I'm not sure this ...
6 years, 6 months ago (2014-05-28 19:34:58 UTC) #2
noms (inactive)
https://codereview.chromium.org/297143008/diff/1/chrome/browser/ui/views/profiles/new_avatar_button.cc File chrome/browser/ui/views/profiles/new_avatar_button.cc (right): https://codereview.chromium.org/297143008/diff/1/chrome/browser/ui/views/profiles/new_avatar_button.cc#newcode29 chrome/browser/ui/views/profiles/new_avatar_button.cc:29: const int kBottomInset = 3; The misalignment of the ...
6 years, 6 months ago (2014-05-28 19:59:26 UTC) #3
msw
https://codereview.chromium.org/297143008/diff/1/chrome/browser/ui/views/profiles/new_avatar_button.cc File chrome/browser/ui/views/profiles/new_avatar_button.cc (right): https://codereview.chromium.org/297143008/diff/1/chrome/browser/ui/views/profiles/new_avatar_button.cc#newcode173 chrome/browser/ui/views/profiles/new_avatar_button.cc:173: IDR_ICON_PROFILES_AVATAR_BUTTON_ERROR).ToImageSkia(); On 2014/05/28 19:59:27, Monica Dinculescu wrote: > Oh ...
6 years, 6 months ago (2014-05-28 20:56:27 UTC) #4
noms (inactive)
I've changed the button to resize the normal-sized auth error. If that's ok, I'll remove ...
6 years, 6 months ago (2014-05-30 17:43:34 UTC) #5
msw
https://codereview.chromium.org/297143008/diff/20001/chrome/browser/ui/views/profiles/new_avatar_button.cc File chrome/browser/ui/views/profiles/new_avatar_button.cc (right): https://codereview.chromium.org/297143008/diff/20001/chrome/browser/ui/views/profiles/new_avatar_button.cc#newcode30 chrome/browser/ui/views/profiles/new_avatar_button.cc:30: const int kBottomInset = 3; My biggest concern for ...
6 years, 6 months ago (2014-05-30 18:24:13 UTC) #6
noms (inactive)
Done! I think, most memorably, I fixed the avatar button for ALL the things :) ...
6 years, 6 months ago (2014-06-09 20:34:20 UTC) #7
msw
Sorry for all the trouble here :-/ https://codereview.chromium.org/297143008/diff/60001/chrome/app/theme/theme_resources.grd File chrome/app/theme/theme_resources.grd (left): https://codereview.chromium.org/297143008/diff/60001/chrome/app/theme/theme_resources.grd#oldcode355 chrome/app/theme/theme_resources.grd:355: <structure type="chrome_scaled_image" ...
6 years, 6 months ago (2014-06-09 21:42:40 UTC) #8
noms (inactive)
Sorry for taking so long -- I wanted on Elliot's CL to land so I ...
6 years, 6 months ago (2014-06-18 18:07:24 UTC) #9
msw
https://codereview.chromium.org/297143008/diff/100001/chrome/browser/ui/views/frame/glass_browser_frame_view.cc File chrome/browser/ui/views/frame/glass_browser_frame_view.cc (right): https://codereview.chromium.org/297143008/diff/100001/chrome/browser/ui/views/frame/glass_browser_frame_view.cc#newcode461 chrome/browser/ui/views/frame/glass_browser_frame_view.cc:461: NonClientTopBorderHeight() + kTabstripTopShadowThickness - 1; optional nit: inline this ...
6 years, 6 months ago (2014-06-19 04:10:18 UTC) #10
noms (inactive)
https://codereview.chromium.org/297143008/diff/100001/chrome/browser/ui/views/frame/glass_browser_frame_view.cc File chrome/browser/ui/views/frame/glass_browser_frame_view.cc (right): https://codereview.chromium.org/297143008/diff/100001/chrome/browser/ui/views/frame/glass_browser_frame_view.cc#newcode461 chrome/browser/ui/views/frame/glass_browser_frame_view.cc:461: NonClientTopBorderHeight() + kTabstripTopShadowThickness - 1; On 2014/06/19 04:10:17, msw ...
6 years, 6 months ago (2014-06-19 15:10:55 UTC) #11
msw
Lgtm with a nit. https://codereview.chromium.org/297143008/diff/140001/chrome/browser/ui/views/profiles/new_avatar_button.cc File chrome/browser/ui/views/profiles/new_avatar_button.cc (right): https://codereview.chromium.org/297143008/diff/140001/chrome/browser/ui/views/profiles/new_avatar_button.cc#newcode97 chrome/browser/ui/views/profiles/new_avatar_button.cc:97: CreateBorder(kNormalImageSet, kHotImageSet, kPushedImageSet)); Nit: revert ...
6 years, 6 months ago (2014-06-19 16:04:19 UTC) #12
noms (inactive)
https://codereview.chromium.org/297143008/diff/140001/chrome/browser/ui/views/profiles/new_avatar_button.cc File chrome/browser/ui/views/profiles/new_avatar_button.cc (right): https://codereview.chromium.org/297143008/diff/140001/chrome/browser/ui/views/profiles/new_avatar_button.cc#newcode97 chrome/browser/ui/views/profiles/new_avatar_button.cc:97: CreateBorder(kNormalImageSet, kHotImageSet, kPushedImageSet)); On 2014/06/19 16:04:19, msw wrote: > ...
6 years, 6 months ago (2014-06-19 17:04:01 UTC) #13
noms (inactive)
The CQ bit was checked by noms@chromium.org
6 years, 6 months ago (2014-06-19 17:04:06 UTC) #14
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/noms@chromium.org/297143008/160001
6 years, 6 months ago (2014-06-19 17:04:46 UTC) #15
commit-bot: I haz the power
The CQ bit was unchecked by commit-bot@chromium.org
6 years, 6 months ago (2014-06-19 20:13:26 UTC) #16
commit-bot: I haz the power
Try jobs failed on following builders: android_dbg on tryserver.chromium (http://build.chromium.org/p/tryserver.chromium/builders/android_dbg/builds/197883)
6 years, 6 months ago (2014-06-19 20:13:27 UTC) #17
noms (inactive)
The CQ bit was checked by noms@chromium.org
6 years, 6 months ago (2014-06-19 20:16:25 UTC) #18
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/noms@chromium.org/297143008/160001
6 years, 6 months ago (2014-06-19 20:17:33 UTC) #19
commit-bot: I haz the power
The CQ bit was unchecked by commit-bot@chromium.org
6 years, 6 months ago (2014-06-19 20:28:50 UTC) #20
commit-bot: I haz the power
Try jobs failed on following builders: android_dbg on tryserver.chromium (http://build.chromium.org/p/tryserver.chromium/builders/android_dbg/builds/197892)
6 years, 6 months ago (2014-06-19 20:28:51 UTC) #21
noms (inactive)
The CQ bit was checked by noms@chromium.org
6 years, 6 months ago (2014-06-19 21:01:40 UTC) #22
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/noms@chromium.org/297143008/160001
6 years, 6 months ago (2014-06-19 21:02:15 UTC) #23
commit-bot: I haz the power
The CQ bit was unchecked by commit-bot@chromium.org
6 years, 6 months ago (2014-06-19 21:20:58 UTC) #24
commit-bot: I haz the power
Try jobs failed on following builders: android_dbg on tryserver.chromium (http://build.chromium.org/p/tryserver.chromium/builders/android_dbg/builds/197926)
6 years, 6 months ago (2014-06-19 21:21:00 UTC) #25
noms (inactive)
The CQ bit was checked by noms@chromium.org
6 years, 6 months ago (2014-06-20 03:59:27 UTC) #26
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/noms@chromium.org/297143008/160001
6 years, 6 months ago (2014-06-20 04:00:53 UTC) #27
commit-bot: I haz the power
FYI, CQ is re-trying this CL (attempt #1). The failing builders are: android_dbg on tryserver.chromium ...
6 years, 6 months ago (2014-06-20 04:05:47 UTC) #28
commit-bot: I haz the power
The CQ bit was unchecked by commit-bot@chromium.org
6 years, 6 months ago (2014-06-20 04:09:03 UTC) #29
commit-bot: I haz the power
Try jobs failed on following builders: android_dbg on tryserver.chromium (http://build.chromium.org/p/tryserver.chromium/builders/android_dbg/builds/198137)
6 years, 6 months ago (2014-06-20 04:09:04 UTC) #30
noms (inactive)
The CQ bit was checked by noms@chromium.org
6 years, 6 months ago (2014-06-20 13:50:06 UTC) #31
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/noms@chromium.org/297143008/160001
6 years, 6 months ago (2014-06-20 13:50:57 UTC) #32
commit-bot: I haz the power
FYI, CQ is re-trying this CL (attempt #1). The failing builders are: android_dbg on tryserver.chromium ...
6 years, 6 months ago (2014-06-20 13:54:48 UTC) #33
noms (inactive)
The CQ bit was unchecked by noms@chromium.org
6 years, 6 months ago (2014-06-20 13:57:35 UTC) #34
noms (inactive)
The CQ bit was checked by noms@chromium.org
6 years, 6 months ago (2014-06-20 14:12:00 UTC) #35
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/noms@chromium.org/297143008/180001
6 years, 6 months ago (2014-06-20 14:14:17 UTC) #36
commit-bot: I haz the power
FYI, CQ is re-trying this CL (attempt #1). The failing builders are: win_chromium_rel on tryserver.chromium ...
6 years, 6 months ago (2014-06-20 18:25:36 UTC) #37
commit-bot: I haz the power
6 years, 6 months ago (2014-06-20 20:34:14 UTC) #38
Message was sent while issue was closed.
Change committed as 278814

Powered by Google App Engine
This is Rietveld 408576698