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

Issue 662683005: [android] Use correct view type for dropdown. (Closed)

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

Description

[android] Use correct view type for dropdown. This patch changes DropdownPopupWindow to check the type of the view in each element of the popup list when measuring the width of its contents. This ensures that popup list adapters that use multiple view types do not have to check the type of the view in getView() method. One example of adapter that uses multiple types of views is PasswordGenerationAdapter. BUG=412150 Committed: https://crrev.com/4f2e5f49c05805761065b3ce7f97e9258ffbd4c9 Cr-Commit-Position: refs/heads/master@{#301298}

Patch Set 1 #

Patch Set 2 : Check adapter for null. #

Total comments: 2

Patch Set 3 : Assert adapter is not null. #

Patch Set 4 : Set adapter in tests. #

Unified diffs Side-by-side diffs Delta from patch set Stats (+13 lines, -6 lines) Patch
M chrome/android/javatests/src/org/chromium/chrome/browser/autofill/AutofillTest.java View 1 2 3 1 chunk +1 line, -1 line 0 comments Download
M ui/android/java/src/org/chromium/ui/DropdownPopupWindow.java View 1 2 3 chunks +12 lines, -5 lines 0 comments Download

Messages

Total messages: 19 (8 generated)
please use gerrit instead
Aurimas: PTAL Patch Set 2. I've split this off from https://codereview.chromium.org/606153002/. To answer your question ...
6 years, 2 months ago (2014-10-23 18:18:22 UTC) #2
aurimas (slooooooooow)
lgtm https://codereview.chromium.org/662683005/diff/20001/ui/android/java/src/org/chromium/ui/DropdownPopupWindow.java File ui/android/java/src/org/chromium/ui/DropdownPopupWindow.java (right): https://codereview.chromium.org/662683005/diff/20001/ui/android/java/src/org/chromium/ui/DropdownPopupWindow.java#newcode162 ui/android/java/src/org/chromium/ui/DropdownPopupWindow.java:162: if (mAdapter == null) return 0; Should this ...
6 years, 2 months ago (2014-10-24 20:25:10 UTC) #3
please use gerrit instead
https://codereview.chromium.org/662683005/diff/20001/ui/android/java/src/org/chromium/ui/DropdownPopupWindow.java File ui/android/java/src/org/chromium/ui/DropdownPopupWindow.java (right): https://codereview.chromium.org/662683005/diff/20001/ui/android/java/src/org/chromium/ui/DropdownPopupWindow.java#newcode162 ui/android/java/src/org/chromium/ui/DropdownPopupWindow.java:162: if (mAdapter == null) return 0; On 2014/10/24 20:25:09, ...
6 years, 2 months ago (2014-10-24 21:07:07 UTC) #4
please use gerrit instead
Newton: OWNERS PTAL Patch Set 3.
6 years, 2 months ago (2014-10-24 21:08:49 UTC) #7
newt (away)
On 2014/10/24 21:08:49, Rouslan Solomakhin wrote: > Newton: OWNERS PTAL Patch Set 3. lgtm
6 years, 2 months ago (2014-10-24 21:12:38 UTC) #8
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/662683005/40001
6 years, 2 months ago (2014-10-24 21:24:33 UTC) #10
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/662683005/60001
6 years, 2 months ago (2014-10-25 00:10:06 UTC) #13
commit-bot: I haz the power
Exceeded time limit waiting for builds to trigger.
6 years, 1 month ago (2014-10-25 06:11:43 UTC) #15
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/662683005/60001
6 years, 1 month ago (2014-10-25 21:56:52 UTC) #17
commit-bot: I haz the power
Committed patchset #4 (id:60001)
6 years, 1 month ago (2014-10-25 23:29:56 UTC) #18
commit-bot: I haz the power
6 years, 1 month ago (2014-10-25 23:30:24 UTC) #19
Message was sent while issue was closed.
Patchset 4 (id:??) landed as
https://crrev.com/4f2e5f49c05805761065b3ce7f97e9258ffbd4c9
Cr-Commit-Position: refs/heads/master@{#301298}

Powered by Google App Engine
This is Rietveld 408576698