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

Issue 2856253002: [Android Omnibox] Remove doubling of height for answers (Closed)

Created:
3 years, 7 months ago by Kevin Bailey
Modified:
3 years, 7 months ago
Reviewers:
Ted C, Justin Donnelly
CC:
chromium-reviews, jdonnelly+watch_chromium.org, agrieve+watch_chromium.org
Target Ref:
refs/heads/master
Project:
chromium
Visibility:
Public.

Description

[Android Omnibox] Remove doubling of height for answers We were adding twice the height necessary when an answer in suggest was present, which created a large empty space at the end of the suggestions. This changes it to adding custom "definition" line height. BUG=714042 Review-Url: https://codereview.chromium.org/2856253002 Cr-Commit-Position: refs/heads/master@{#469427} Committed: https://chromium.googlesource.com/chromium/src/+/2c16490e12bda68c5b784908105de4ec8edb3777

Patch Set 1 #

Total comments: 3

Patch Set 2 : Increase padding with new constant #

Unified diffs Side-by-side diffs Delta from patch set Stats (+5 lines, -1 line) Patch
M chrome/android/java/res/values/dimens.xml View 1 1 chunk +1 line, -0 lines 0 comments Download
M chrome/android/java/src/org/chromium/chrome/browser/omnibox/LocationBarLayout.java View 1 3 chunks +4 lines, -1 line 0 comments Download

Messages

Total messages: 22 (11 generated)
Kevin Bailey
Hi Ted, If you think the image in the bug looks better, here's the change.
3 years, 7 months ago (2017-05-03 19:11:52 UTC) #3
Ted C
I don't know if it looks better to me. Now we are potentially cutting off ...
3 years, 7 months ago (2017-05-03 23:50:16 UTC) #4
Justin Donnelly
https://codereview.chromium.org/2856253002/diff/1/chrome/android/java/src/org/chromium/chrome/browser/omnibox/LocationBarLayout.java File chrome/android/java/src/org/chromium/chrome/browser/omnibox/LocationBarLayout.java (left): https://codereview.chromium.org/2856253002/diff/1/chrome/android/java/src/org/chromium/chrome/browser/omnibox/LocationBarLayout.java#oldcode609 chrome/android/java/src/org/chromium/chrome/browser/omnibox/LocationBarLayout.java:609: idealListSize += mSuggestionAnswerHeight * 2; On 2017/05/03 23:50:16, Ted ...
3 years, 7 months ago (2017-05-04 13:55:25 UTC) #6
Kevin Bailey
https://codereview.chromium.org/2856253002/diff/1/chrome/android/java/src/org/chromium/chrome/browser/omnibox/LocationBarLayout.java File chrome/android/java/src/org/chromium/chrome/browser/omnibox/LocationBarLayout.java (left): https://codereview.chromium.org/2856253002/diff/1/chrome/android/java/src/org/chromium/chrome/browser/omnibox/LocationBarLayout.java#oldcode609 chrome/android/java/src/org/chromium/chrome/browser/omnibox/LocationBarLayout.java:609: idealListSize += mSuggestionAnswerHeight * 2; On 2017/05/04 13:55:25, Justin ...
3 years, 7 months ago (2017-05-04 15:49:50 UTC) #7
Ted C
On 2017/05/04 15:49:50, Kevin Bailey wrote: > https://codereview.chromium.org/2856253002/diff/1/chrome/android/java/src/org/chromium/chrome/browser/omnibox/LocationBarLayout.java > File > chrome/android/java/src/org/chromium/chrome/browser/omnibox/LocationBarLayout.java > (left): > ...
3 years, 7 months ago (2017-05-04 16:34:07 UTC) #8
Kevin Bailey
On 2017/05/04 16:34:07, Ted C wrote: > On 2017/05/04 15:49:50, Kevin Bailey wrote: > > ...
3 years, 7 months ago (2017-05-04 16:46:38 UTC) #9
Ted C
On 2017/05/04 16:46:38, Kevin Bailey wrote: > On 2017/05/04 16:34:07, Ted C wrote: > > ...
3 years, 7 months ago (2017-05-04 16:52:58 UTC) #10
Kevin Bailey
On 2017/05/04 16:52:58, Ted C wrote: > On 2017/05/04 16:46:38, Kevin Bailey wrote: > > ...
3 years, 7 months ago (2017-05-04 17:50:18 UTC) #11
Ted C
lgtm
3 years, 7 months ago (2017-05-04 18:00:56 UTC) #12
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/2856253002/20001
3 years, 7 months ago (2017-05-04 19:33:15 UTC) #19
commit-bot: I haz the power
3 years, 7 months ago (2017-05-04 19:40:29 UTC) #22
Message was sent while issue was closed.
Committed patchset #2 (id:20001) as
https://chromium.googlesource.com/chromium/src/+/2c16490e12bda68c5b784908105d...

Powered by Google App Engine
This is Rietveld 408576698