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 2556563005: views: add harmony control label alignment (Closed)

Created:
4 years ago by Elly Fong-Jones
Modified:
4 years ago
Reviewers:
sky
CC:
chromium-reviews, tfarina
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

views: add harmony control label alignment Harmony specifies leading alignment for these; the old UI style used trailing alignment mostly, but was inconsistent. This change: 1) Adds HarmonyLayoutDelegate::GetControlLabelGridAlignment(); 2) Changes CookieInfoView (used in the collected cookies dialog) to use GetControlLabelGridAlignment; 3) Changes the bookmark bubble from leading to trailing alignment BUG=671828 Committed: https://crrev.com/4aff4df5f338661a2b9c5449ebfe0c33d4311d75 Cr-Commit-Position: refs/heads/master@{#437303}

Patch Set 1 #

Total comments: 1

Patch Set 2 : remove constant from views #

Unified diffs Side-by-side diffs Delta from patch set Stats (+14 lines, -8 lines) Patch
M chrome/browser/ui/views/bookmarks/bookmark_bubble_view.cc View 2 chunks +3 lines, -2 lines 0 comments Download
M chrome/browser/ui/views/cookie_info_view.cc View 2 chunks +4 lines, -2 lines 0 comments Download
M chrome/browser/ui/views/harmony/harmony_layout_delegate.h View 1 chunk +1 line, -0 lines 0 comments Download
M chrome/browser/ui/views/harmony/harmony_layout_delegate.cc View 1 chunk +5 lines, -0 lines 0 comments Download
M chrome/browser/ui/views/harmony/layout_delegate.cc View 1 1 chunk +1 line, -1 line 0 comments Download
M ui/views/layout/layout_constants.h View 1 1 chunk +0 lines, -3 lines 0 comments Download

Messages

Total messages: 15 (6 generated)
Elly Fong-Jones
sky: ptal? :)
4 years ago (2016-12-07 14:27:30 UTC) #3
sky
https://codereview.chromium.org/2556563005/diff/1/ui/views/layout/layout_constants.h File ui/views/layout/layout_constants.h (right): https://codereview.chromium.org/2556563005/diff/1/ui/views/layout/layout_constants.h#newcode84 ui/views/layout/layout_constants.h:84: const GridLayout::Alignment kControlLabelGridAlignment = GridLayout::TRAILING; It looks like this ...
4 years ago (2016-12-07 16:54:08 UTC) #4
Elly Fong-Jones
On 2016/12/07 16:54:08, sky wrote: > https://codereview.chromium.org/2556563005/diff/1/ui/views/layout/layout_constants.h > File ui/views/layout/layout_constants.h (right): > > https://codereview.chromium.org/2556563005/diff/1/ui/views/layout/layout_constants.h#newcode84 > ...
4 years ago (2016-12-07 17:04:02 UTC) #5
sky
Both are solely in chrome code, so how about moving there? On Wed, Dec 7, ...
4 years ago (2016-12-07 18:06:24 UTC) #6
Elly Fong-Jones
On 2016/12/07 18:06:24, sky wrote: > Both are solely in chrome code, so how about ...
4 years ago (2016-12-08 13:24:42 UTC) #7
sky
LGTM
4 years ago (2016-12-08 16:11:54 UTC) #8
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/2556563005/20001
4 years ago (2016-12-08 16:32:19 UTC) #10
commit-bot: I haz the power
Committed patchset #2 (id:20001)
4 years ago (2016-12-08 19:19:12 UTC) #13
commit-bot: I haz the power
4 years ago (2016-12-08 19:23:22 UTC) #15
Message was sent while issue was closed.
Patchset 2 (id:??) landed as
https://crrev.com/4aff4df5f338661a2b9c5449ebfe0c33d4311d75
Cr-Commit-Position: refs/heads/master@{#437303}

Powered by Google App Engine
This is Rietveld 408576698