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

Issue 140653004: Update DecoratedTextfield layout on icon changes. (Closed)

Created:
6 years, 11 months ago by msw
Modified:
6 years, 11 months ago
Reviewers:
Evan Stade
CC:
chromium-reviews, benquan, tfarina, Dane Wallinga, dyu1, estade+watch_chromium.org, Ilya Sherman, rouslan+autofillwatch_chromium.org
Visibility:
Public.

Description

Update DecoratedTextfield layout on icon changes. Call Layout to update newly visible icon bounds. Remove incorrect inset modifications for icons. BUG=334132 TEST=rAc dialogs show icons as intended. R=estade@chromium.org Committed: https://src.chromium.org/viewvc/chrome?view=rev&revision=245378

Patch Set 1 : Update Layout on DecoratedTextfield icon changes. #

Total comments: 2
Unified diffs Side-by-side diffs Delta from patch set Stats (+2 lines, -16 lines) Patch
M chrome/browser/ui/views/autofill/decorated_textfield.cc View 1 chunk +2 lines, -16 lines 2 comments Download

Messages

Total messages: 7 (0 generated)
msw
Hey Dan, please take a look; thanks!
6 years, 11 months ago (2014-01-16 20:26:33 UTC) #1
Evan Stade
https://codereview.chromium.org/140653004/diff/30001/chrome/browser/ui/views/autofill/decorated_textfield.cc File chrome/browser/ui/views/autofill/decorated_textfield.cc (left): https://codereview.chromium.org/140653004/diff/30001/chrome/browser/ui/views/autofill/decorated_textfield.cc#oldcode162 chrome/browser/ui/views/autofill/decorated_textfield.cc:162: if (icon_view_->visible() == visible) why remove this?
6 years, 11 months ago (2014-01-16 20:40:42 UTC) #2
Dan Beam
-dbeam@ (estade@ wrote this code)
6 years, 11 months ago (2014-01-16 21:09:33 UTC) #3
msw
https://codereview.chromium.org/140653004/diff/30001/chrome/browser/ui/views/autofill/decorated_textfield.cc File chrome/browser/ui/views/autofill/decorated_textfield.cc (left): https://codereview.chromium.org/140653004/diff/30001/chrome/browser/ui/views/autofill/decorated_textfield.cc#oldcode162 chrome/browser/ui/views/autofill/decorated_textfield.cc:162: if (icon_view_->visible() == visible) On 2014/01/16 20:40:43, Evan Stade ...
6 years, 11 months ago (2014-01-16 21:10:32 UTC) #4
Evan Stade
lgtm
6 years, 11 months ago (2014-01-16 21:11:24 UTC) #5
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/msw@chromium.org/140653004/30001
6 years, 11 months ago (2014-01-16 21:24:19 UTC) #6
commit-bot: I haz the power
6 years, 11 months ago (2014-01-16 23:48:04 UTC) #7
Message was sent while issue was closed.
Change committed as 245378

Powered by Google App Engine
This is Rietveld 408576698