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

Issue 2616503002: Support all drawable types in DropdownItem. (Closed)

Created:
3 years, 11 months ago by Ted C
Modified:
3 years, 11 months ago
CC:
chromium-reviews, rouslan+autofill_chromium.org, sebsg+autofillwatch_chromium.org, browser-components-watch_chromium.org, mathp+autofillwatch_chromium.org, agrieve+watch_chromium.org, vabr+watchlistautofill_chromium.org, estade+watch_chromium.org
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

Support all drawable types in DropdownItem. No need to hardcode to vector as that exposes more implementation details that needed. It can easily support all types. BUG= Committed: https://crrev.com/b923094a750a2f76448d4a7ccf0779725e5be74a Cr-Commit-Position: refs/heads/master@{#441278}

Patch Set 1 #

Total comments: 1

Patch Set 2 : Fix AutofillKeyboardAccessory #

Unified diffs Side-by-side diffs Delta from patch set Stats (+18 lines, -18 lines) Patch
M components/autofill/android/java/src/org/chromium/components/autofill/AutofillKeyboardAccessory.java View 1 3 chunks +8 lines, -8 lines 0 comments Download
M components/autofill/android/java/src/org/chromium/components/autofill/AutofillSuggestion.java View 2 chunks +4 lines, -3 lines 0 comments Download
M ui/android/java/src/org/chromium/ui/DropdownAdapter.java View 2 chunks +3 lines, -4 lines 0 comments Download
M ui/android/java/src/org/chromium/ui/DropdownItem.java View 1 chunk +2 lines, -2 lines 0 comments Download
M ui/android/java/src/org/chromium/ui/DropdownItemBase.java View 1 chunk +1 line, -1 line 0 comments Download

Messages

Total messages: 19 (9 generated)
Ted C
PTAL
3 years, 11 months ago (2017-01-03 21:43:38 UTC) #2
csashi
lgtm LG. Thanks for fixing this. May I suggest checking with ianwen? Ian recommended the ...
3 years, 11 months ago (2017-01-03 22:20:35 UTC) #3
Ted C
+ianwen - for switching to AppCompatResources
3 years, 11 months ago (2017-01-03 22:23:46 UTC) #5
Ian Wen
lgtm! https://codereview.chromium.org/2616503002/diff/1/ui/android/java/src/org/chromium/ui/DropdownAdapter.java File ui/android/java/src/org/chromium/ui/DropdownAdapter.java (right): https://codereview.chromium.org/2616503002/diff/1/ui/android/java/src/org/chromium/ui/DropdownAdapter.java#newcode179 ui/android/java/src/org/chromium/ui/DropdownAdapter.java:179: iconView.setImageDrawable(AppCompatResources.getDrawable(mContext, item.getIconId())); Aha! This was the function that ...
3 years, 11 months ago (2017-01-03 22:33:02 UTC) #6
David Trainor- moved to gerrit
lgtm
3 years, 11 months ago (2017-01-03 23:10:09 UTC) #7
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/v2/patch-status/codereview.chromium.org/2616503002/1
3 years, 11 months ago (2017-01-03 23:11:28 UTC) #9
commit-bot: I haz the power
Try jobs failed on following builders: android_n5x_swarming_rel on master.tryserver.chromium.android (JOB_FAILED, https://build.chromium.org/p/tryserver.chromium.android/builders/android_n5x_swarming_rel/builds/93310)
3 years, 11 months ago (2017-01-03 23:47:35 UTC) #11
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/v2/patch-status/codereview.chromium.org/2616503002/20001
3 years, 11 months ago (2017-01-04 00:47:01 UTC) #14
commit-bot: I haz the power
Committed patchset #2 (id:20001)
3 years, 11 months ago (2017-01-04 01:22:41 UTC) #17
commit-bot: I haz the power
3 years, 11 months ago (2017-01-04 01:26:34 UTC) #19
Message was sent while issue was closed.
Patchset 2 (id:??) landed as
https://crrev.com/b923094a750a2f76448d4a7ccf0779725e5be74a
Cr-Commit-Position: refs/heads/master@{#441278}

Powered by Google App Engine
This is Rietveld 408576698