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

Issue 11817051: Elide text in the new Autofill UI (Closed)

Created:
7 years, 11 months ago by csharp
Modified:
7 years, 11 months ago
CC:
chromium-reviews, Raman Kakilate, benquan, dhollowa+watch_chromium.org, ahutter, dbeam+watch-autofill_chromium.org, Dane Wallinga, dyu1, Albert Bodenhamer, estade+watch_chromium.org, Ilya Sherman
Base URL:
http://git.chromium.org/chromium/src.git@master
Visibility:
Public.

Description

Elide text in the new Autofill UI If the popup would go off the edge of the screen due to the size of the data, the text parts are now elided to make the popup fit into the visible space. BUG=156163, 164603 Committed: https://src.chromium.org/viewvc/chrome?view=rev&revision=178149

Patch Set 1 #

Total comments: 26

Patch Set 2 : #

Total comments: 18

Patch Set 3 : Rebasing #

Patch Set 4 : #

Patch Set 5 : fixing compile errors #

Total comments: 14

Patch Set 6 : #

Total comments: 10

Patch Set 7 : rebasing #

Patch Set 8 : #

Total comments: 11

Patch Set 9 : #

Total comments: 2

Patch Set 10 : Rebasing #

Patch Set 11 : #

Unified diffs Side-by-side diffs Delta from patch set Stats (+390 lines, -160 lines) Patch
M chrome/browser/ui/autofill/autofill_popup_controller.h View 1 2 3 4 5 1 chunk +1 line, -9 lines 0 comments Download
M chrome/browser/ui/autofill/autofill_popup_controller_impl.h View 1 2 3 4 5 6 7 5 chunks +48 lines, -6 lines 0 comments Download
M chrome/browser/ui/autofill/autofill_popup_controller_impl.cc View 1 2 3 4 5 6 7 8 9 10 12 chunks +201 lines, -57 lines 0 comments Download
M chrome/browser/ui/autofill/autofill_popup_controller_unittest.cc View 1 2 3 4 5 6 7 8 7 chunks +140 lines, -5 lines 0 comments Download
M chrome/browser/ui/cocoa/autofill/autofill_popup_view_bridge.mm View 1 2 3 4 5 6 7 8 9 2 chunks +0 lines, -15 lines 0 comments Download
M chrome/browser/ui/gtk/autofill/autofill_popup_view_gtk.cc View 1 2 3 2 chunks +0 lines, -27 lines 0 comments Download
M chrome/browser/ui/views/autofill/autofill_popup_view_views.h View 1 2 3 1 chunk +0 lines, -7 lines 0 comments Download
M chrome/browser/ui/views/autofill/autofill_popup_view_views.cc View 1 2 3 4 5 6 3 chunks +0 lines, -34 lines 0 comments Download

Messages

Total messages: 17 (0 generated)
csharp
7 years, 11 months ago (2013-01-10 20:17:08 UTC) #1
Ilya Sherman
https://codereview.chromium.org/11817051/diff/1/chrome/browser/ui/autofill/autofill_popup_controller_impl.cc File chrome/browser/ui/autofill/autofill_popup_controller_impl.cc (right): https://codereview.chromium.org/11817051/diff/1/chrome/browser/ui/autofill/autofill_popup_controller_impl.cc#newcode125 chrome/browser/ui/autofill/autofill_popup_controller_impl.cc:125: // Don't let the popup have a smaller width ...
7 years, 11 months ago (2013-01-10 23:34:35 UTC) #2
csharp
https://codereview.chromium.org/11817051/diff/1/chrome/browser/ui/autofill/autofill_popup_controller_impl.cc File chrome/browser/ui/autofill/autofill_popup_controller_impl.cc (right): https://codereview.chromium.org/11817051/diff/1/chrome/browser/ui/autofill/autofill_popup_controller_impl.cc#newcode125 chrome/browser/ui/autofill/autofill_popup_controller_impl.cc:125: // Don't let the popup have a smaller width ...
7 years, 11 months ago (2013-01-11 17:51:12 UTC) #3
Ilya Sherman
Thanks, looks much better from a security perspective :) I have some suggestions inline for ...
7 years, 11 months ago (2013-01-11 23:05:34 UTC) #4
csharp
Is it possible for the popup to get too tall to fit on the screen? ...
7 years, 11 months ago (2013-01-14 20:32:33 UTC) #5
Ilya Sherman
Thanks, looks pretty good! Can you add tests verifying that the popup gets positioned correctly? ...
7 years, 11 months ago (2013-01-15 01:34:45 UTC) #6
csharp
I looked a bit and it seemed a lot easy to just mock out the ...
7 years, 11 months ago (2013-01-15 22:06:39 UTC) #7
Ilya Sherman
Thanks. Just a few final comments, then should be good to go :) https://codereview.chromium.org/11817051/diff/25001/chrome/browser/ui/autofill/autofill_popup_controller_impl.cc File ...
7 years, 11 months ago (2013-01-15 22:29:55 UTC) #8
csharp
https://codereview.chromium.org/11817051/diff/25001/chrome/browser/ui/autofill/autofill_popup_controller_impl.cc File chrome/browser/ui/autofill/autofill_popup_controller_impl.cc (right): https://codereview.chromium.org/11817051/diff/25001/chrome/browser/ui/autofill/autofill_popup_controller_impl.cc#newcode180 chrome/browser/ui/autofill/autofill_popup_controller_impl.cc:180: popup_bounds_.set_height(GetDesiredPopupHeight()); On 2013/01/15 22:29:55, Ilya Sherman wrote: > This ...
7 years, 11 months ago (2013-01-16 20:56:58 UTC) #9
Ilya Sherman
https://codereview.chromium.org/11817051/diff/46002/chrome/browser/ui/autofill/autofill_popup_controller_impl.cc File chrome/browser/ui/autofill/autofill_popup_controller_impl.cc (right): https://codereview.chromium.org/11817051/diff/46002/chrome/browser/ui/autofill/autofill_popup_controller_impl.cc#newcode208 chrome/browser/ui/autofill/autofill_popup_controller_impl.cc:208: UpdatePopupBounds(); Mightn't this cause the popup to jump w.r.t. ...
7 years, 11 months ago (2013-01-17 01:36:19 UTC) #10
csharp
https://codereview.chromium.org/11817051/diff/46002/chrome/browser/ui/autofill/autofill_popup_controller_impl.cc File chrome/browser/ui/autofill/autofill_popup_controller_impl.cc (right): https://codereview.chromium.org/11817051/diff/46002/chrome/browser/ui/autofill/autofill_popup_controller_impl.cc#newcode208 chrome/browser/ui/autofill/autofill_popup_controller_impl.cc:208: UpdatePopupBounds(); On 2013/01/17 01:36:19, Ilya Sherman wrote: > Mightn't ...
7 years, 11 months ago (2013-01-17 16:31:20 UTC) #11
Ilya Sherman
LGTM, thanks! https://codereview.chromium.org/11817051/diff/46002/chrome/browser/ui/autofill/autofill_popup_controller_impl.cc File chrome/browser/ui/autofill/autofill_popup_controller_impl.cc (right): https://codereview.chromium.org/11817051/diff/46002/chrome/browser/ui/autofill/autofill_popup_controller_impl.cc#newcode597 chrome/browser/ui/autofill/autofill_popup_controller_impl.cc:597: element_bounds().x())); On 2013/01/17 16:31:20, csharp wrote: > ...
7 years, 11 months ago (2013-01-18 01:52:48 UTC) #12
csharp
sky@ for views owner approval estade@ for gtk owner approval https://codereview.chromium.org/11817051/diff/44005/chrome/browser/ui/autofill/autofill_popup_controller_impl.cc File chrome/browser/ui/autofill/autofill_popup_controller_impl.cc (right): https://codereview.chromium.org/11817051/diff/44005/chrome/browser/ui/autofill/autofill_popup_controller_impl.cc#newcode208 ...
7 years, 11 months ago (2013-01-21 15:48:23 UTC) #13
sky
views LGTM
7 years, 11 months ago (2013-01-22 16:24:46 UTC) #14
Evan Stade
deleting code always LGTM
7 years, 11 months ago (2013-01-22 19:49:57 UTC) #15
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/csharp@chromium.org/11817051/66001
7 years, 11 months ago (2013-01-22 19:57:32 UTC) #16
commit-bot: I haz the power
7 years, 11 months ago (2013-01-22 23:23:03 UTC) #17
Message was sent while issue was closed.
Change committed as 178149

Powered by Google App Engine
This is Rietveld 408576698