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

Issue 1300843003: Change width of rows in material design omnibox dropdown (Closed)

Created:
5 years, 4 months ago by tdanderson
Modified:
5 years, 4 months ago
Reviewers:
Peter Kasting
CC:
chromium-reviews, tfarina, James Su
Base URL:
https://chromium.googlesource.com/chromium/src.git@master
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

Change width of rows in material design omnibox dropdown For material design in browser top chrome, the width of each row in the omnibox dropdown should be the same as the width of the dropdown itself, though contents (icons and text) should remain bounded by the width of the location bar. The net effect of this change to the user is that the selected/hovered row colour is visible along the entire width of the dropdown, and this entire region is clickable/touchable. BUG=519514 TEST=manual Committed: https://crrev.com/fd8e2a64e6c07272209dbc1f2a57e9ef894f8b27 Cr-Commit-Position: refs/heads/master@{#345221}

Patch Set 1 #

Total comments: 12

Patch Set 2 : nits, change in PaintMatch() #

Total comments: 5

Patch Set 3 : change order of terms #

Patch Set 4 : no changes to PaintMatch() #

Total comments: 4

Patch Set 5 : change left/right to start/end #

Unified diffs Side-by-side diffs Delta from patch set Stats (+47 lines, -26 lines) Patch
M chrome/browser/ui/views/omnibox/omnibox_popup_contents_view.h View 1 2 3 4 2 chunks +5 lines, -5 lines 0 comments Download
M chrome/browser/ui/views/omnibox/omnibox_popup_contents_view.cc View 1 2 3 4 3 chunks +13 lines, -8 lines 0 comments Download
M chrome/browser/ui/views/omnibox/omnibox_result_view.h View 1 2 3 4 1 chunk +7 lines, -0 lines 0 comments Download
M chrome/browser/ui/views/omnibox/omnibox_result_view.cc View 1 2 3 4 3 chunks +22 lines, -13 lines 0 comments Download

Messages

Total messages: 15 (3 generated)
tdanderson
Hi Peter, can you PTAL? Note this does not address RTL in the material design ...
5 years, 4 months ago (2015-08-18 18:42:43 UTC) #2
Peter Kasting
https://codereview.chromium.org/1300843003/diff/1/chrome/browser/ui/views/omnibox/omnibox_popup_contents_view.cc File chrome/browser/ui/views/omnibox/omnibox_popup_contents_view.cc (right): https://codereview.chromium.org/1300843003/diff/1/chrome/browser/ui/views/omnibox/omnibox_popup_contents_view.cc#newcode129 chrome/browser/ui/views/omnibox/omnibox_popup_contents_view.cc:129: min_vertical_padding); Nit: This code is the same length, but ...
5 years, 4 months ago (2015-08-18 19:55:37 UTC) #3
tdanderson
Thanks for the comments. Please take a look at patch set 2. https://codereview.chromium.org/1300843003/diff/1/chrome/browser/ui/views/omnibox/omnibox_popup_contents_view.cc File chrome/browser/ui/views/omnibox/omnibox_popup_contents_view.cc ...
5 years, 4 months ago (2015-08-19 17:22:35 UTC) #4
Peter Kasting
https://codereview.chromium.org/1300843003/diff/20001/chrome/browser/ui/views/omnibox/omnibox_result_view.cc File chrome/browser/ui/views/omnibox/omnibox_result_view.cc (right): https://codereview.chromium.org/1300843003/diff/20001/chrome/browser/ui/views/omnibox/omnibox_result_view.cc#newcode336 chrome/browser/ui/views/omnibox/omnibox_result_view.cc:336: if (ui::MaterialDesignController::IsModeMaterial()) { On more reflection: why is this ...
5 years, 4 months ago (2015-08-19 20:37:34 UTC) #5
tdanderson
https://codereview.chromium.org/1300843003/diff/20001/chrome/browser/ui/views/omnibox/omnibox_result_view.cc File chrome/browser/ui/views/omnibox/omnibox_result_view.cc (right): https://codereview.chromium.org/1300843003/diff/20001/chrome/browser/ui/views/omnibox/omnibox_result_view.cc#newcode336 chrome/browser/ui/views/omnibox/omnibox_result_view.cc:336: if (ui::MaterialDesignController::IsModeMaterial()) { On 2015/08/19 20:37:34, Peter Kasting wrote: ...
5 years, 4 months ago (2015-08-19 22:32:57 UTC) #6
Peter Kasting
Sorry it took me a while to look at this. https://codereview.chromium.org/1300843003/diff/20001/chrome/browser/ui/views/omnibox/omnibox_result_view.cc File chrome/browser/ui/views/omnibox/omnibox_result_view.cc (right): https://codereview.chromium.org/1300843003/diff/20001/chrome/browser/ui/views/omnibox/omnibox_result_view.cc#newcode336 ...
5 years, 4 months ago (2015-08-21 22:13:06 UTC) #7
tdanderson
On 2015/08/21 22:13:06, Peter Kasting wrote: > Sorry it took me a while to look ...
5 years, 4 months ago (2015-08-24 14:43:29 UTC) #8
Peter Kasting
LGTM https://codereview.chromium.org/1300843003/diff/60001/chrome/browser/ui/views/omnibox/omnibox_popup_contents_view.h File chrome/browser/ui/views/omnibox/omnibox_popup_contents_view.h (right): https://codereview.chromium.org/1300843003/diff/60001/chrome/browser/ui/views/omnibox/omnibox_popup_contents_view.h#newcode73 chrome/browser/ui/views/omnibox/omnibox_popup_contents_view.h:73: } Nit: I'd probably just do all these ...
5 years, 4 months ago (2015-08-24 18:20:00 UTC) #9
tdanderson
https://codereview.chromium.org/1300843003/diff/60001/chrome/browser/ui/views/omnibox/omnibox_popup_contents_view.h File chrome/browser/ui/views/omnibox/omnibox_popup_contents_view.h (right): https://codereview.chromium.org/1300843003/diff/60001/chrome/browser/ui/views/omnibox/omnibox_popup_contents_view.h#newcode73 chrome/browser/ui/views/omnibox/omnibox_popup_contents_view.h:73: } On 2015/08/24 18:20:00, Peter Kasting wrote: > Nit: ...
5 years, 4 months ago (2015-08-24 22:39:16 UTC) #10
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1300843003/80001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1300843003/80001
5 years, 4 months ago (2015-08-24 22:39:28 UTC) #13
commit-bot: I haz the power
Committed patchset #5 (id:80001)
5 years, 4 months ago (2015-08-25 00:32:41 UTC) #14
commit-bot: I haz the power
5 years, 4 months ago (2015-08-25 00:33:24 UTC) #15
Message was sent while issue was closed.
Patchset 5 (id:??) landed as
https://crrev.com/fd8e2a64e6c07272209dbc1f2a57e9ef894f8b27
Cr-Commit-Position: refs/heads/master@{#345221}

Powered by Google App Engine
This is Rietveld 408576698