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

Issue 2075443002: Remove IconLabelView layout constants. (Closed)

Created:
4 years, 6 months ago by Peter Kasting
Modified:
4 years, 6 months ago
Reviewers:
Evan Stade
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

Remove IconLabelView layout constants. With the new IconLabelView design, we just want to use LOCATION_BAR_HORIZONTAL_PADDING everywhere, except for the trailing padding in non-MD, which I'm making a class-scoped constant for now (we can delete it entirely when non-MD goes away). This increases the internal spacing in MD from 5 to 6, which is correct for the new style. BUG=616191 TEST=none Committed: https://crrev.com/a4123685765478a14349e959be9ca83545b4c06c Cr-Commit-Position: refs/heads/master@{#400092}

Patch Set 1 #

Total comments: 2

Patch Set 2 : Review comment, fix compile #

Unified diffs Side-by-side diffs Delta from patch set Stats (+11 lines, -19 lines) Patch
M chrome/browser/ui/layout_constants.h View 1 chunk +0 lines, -7 lines 0 comments Download
M chrome/browser/ui/layout_constants.cc View 2 chunks +0 lines, -6 lines 0 comments Download
M chrome/browser/ui/views/location_bar/icon_label_bubble_view.h View 1 1 chunk +2 lines, -0 lines 0 comments Download
M chrome/browser/ui/views/location_bar/icon_label_bubble_view.cc View 1 2 chunks +4 lines, -4 lines 0 comments Download
M chrome/browser/ui/views/location_bar/keyword_hint_view.cc View 1 chunk +3 lines, -1 line 0 comments Download
M chrome/browser/ui/views/omnibox/omnibox_result_view.cc View 1 2 chunks +2 lines, -1 line 0 comments Download

Dependent Patchsets:

Messages

Total messages: 11 (4 generated)
Peter Kasting
4 years, 6 months ago (2016-06-15 21:36:13 UTC) #2
Evan Stade
lgtm https://codereview.chromium.org/2075443002/diff/1/chrome/browser/ui/views/location_bar/icon_label_bubble_view.h File chrome/browser/ui/views/location_bar/icon_label_bubble_view.h (right): https://codereview.chromium.org/2075443002/diff/1/chrome/browser/ui/views/location_bar/icon_label_bubble_view.h#newcode34 chrome/browser/ui/views/location_bar/icon_label_bubble_view.h:34: static constexpr int kTrailingPaddingPreMD = 2; nit: Md
4 years, 6 months ago (2016-06-15 23:08:41 UTC) #3
Peter Kasting
https://codereview.chromium.org/2075443002/diff/1/chrome/browser/ui/views/location_bar/icon_label_bubble_view.h File chrome/browser/ui/views/location_bar/icon_label_bubble_view.h (right): https://codereview.chromium.org/2075443002/diff/1/chrome/browser/ui/views/location_bar/icon_label_bubble_view.h#newcode34 chrome/browser/ui/views/location_bar/icon_label_bubble_view.h:34: static constexpr int kTrailingPaddingPreMD = 2; On 2016/06/15 23:08:41, ...
4 years, 6 months ago (2016-06-16 04:39:09 UTC) #4
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/2075443002/20001
4 years, 6 months ago (2016-06-16 04:39:32 UTC) #7
commit-bot: I haz the power
Committed patchset #2 (id:20001)
4 years, 6 months ago (2016-06-16 05:52:40 UTC) #8
commit-bot: I haz the power
CQ bit was unchecked
4 years, 6 months ago (2016-06-16 05:52:45 UTC) #9
commit-bot: I haz the power
4 years, 6 months ago (2016-06-16 05:54:25 UTC) #11
Message was sent while issue was closed.
Patchset 2 (id:??) landed as
https://crrev.com/a4123685765478a14349e959be9ca83545b4c06c
Cr-Commit-Position: refs/heads/master@{#400092}

Powered by Google App Engine
This is Rietveld 408576698