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

Issue 2475033003: Add ability to specify extra insets for a view via its border. (Closed)

Created:
4 years, 1 month ago by Evan Stade
Modified:
4 years, 1 month ago
Reviewers:
sky
CC:
chromium-reviews, kalyank, sadrul, tfarina
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

Add ability to specify extra insets for a view via its border. Also apply this new superpower in two places. BUG=none Committed: https://crrev.com/90ff5242b9641a6c0263f65b6c830ba754d96f39 Cr-Commit-Position: refs/heads/master@{#430178}

Patch Set 1 #

Total comments: 2

Patch Set 2 : better comment #

Total comments: 2

Patch Set 3 : rebase, adopt sky's comment #

Patch Set 4 : restore lost changes #

Unified diffs Side-by-side diffs Delta from patch set Stats (+67 lines, -26 lines) Patch
M ash/common/system/user/user_view.h View 1 3 1 chunk +0 lines, -1 line 0 comments Download
M ash/common/system/user/user_view.cc View 1 2 3 3 chunks +12 lines, -25 lines 0 comments Download
M ui/views/border.h View 1 2 1 chunk +14 lines, -0 lines 0 comments Download
M ui/views/border.cc View 1 2 2 chunks +41 lines, -0 lines 0 comments Download

Messages

Total messages: 24 (13 generated)
Evan Stade
+sky, wdyt? At first I created a function that composed two borders (and painted them ...
4 years, 1 month ago (2016-11-03 17:58:45 UTC) #2
sky
https://codereview.chromium.org/2475033003/diff/1/ui/views/border.h File ui/views/border.h (right): https://codereview.chromium.org/2475033003/diff/1/ui/views/border.h#newcode76 ui/views/border.h:76: // Adds extra, unpainted insets to |border|. This seems ...
4 years, 1 month ago (2016-11-03 19:24:49 UTC) #3
Evan Stade
https://codereview.chromium.org/2475033003/diff/1/ui/views/border.h File ui/views/border.h (right): https://codereview.chromium.org/2475033003/diff/1/ui/views/border.h#newcode76 ui/views/border.h:76: // Adds extra, unpainted insets to |border|. On 2016/11/03 ...
4 years, 1 month ago (2016-11-04 03:16:39 UTC) #5
sky
LGTM https://codereview.chromium.org/2475033003/diff/20001/ui/views/border.h File ui/views/border.h (right): https://codereview.chromium.org/2475033003/diff/20001/ui/views/border.h#newcode77 ui/views/border.h:77: // adding an EmptyBorder and then |border|. Example: ...
4 years, 1 month ago (2016-11-04 15:32:53 UTC) #10
Evan Stade
https://codereview.chromium.org/2475033003/diff/20001/ui/views/border.h File ui/views/border.h (right): https://codereview.chromium.org/2475033003/diff/20001/ui/views/border.h#newcode77 ui/views/border.h:77: // adding an EmptyBorder and then |border|. Example: On ...
4 years, 1 month ago (2016-11-04 15:50:16 UTC) #11
sky
On Fri, Nov 4, 2016 at 8:50 AM, <estade@chromium.org> wrote: > > https://codereview.chromium.org/2475033003/diff/20001/ui/views/border.h > File ...
4 years, 1 month ago (2016-11-04 16:04:38 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/2475033003/40001
4 years, 1 month ago (2016-11-05 01:27:01 UTC) #15
commit-bot: I haz the power
Try jobs failed on following builders: linux_chromium_chromeos_ozone_rel_ng on master.tryserver.chromium.linux (JOB_FAILED, http://build.chromium.org/p/tryserver.chromium.linux/builders/linux_chromium_chromeos_ozone_rel_ng/builds/267117)
4 years, 1 month ago (2016-11-05 02:10:30 UTC) #17
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/2475033003/60001
4 years, 1 month ago (2016-11-05 21:38:40 UTC) #20
commit-bot: I haz the power
Committed patchset #4 (id:60001)
4 years, 1 month ago (2016-11-06 03:49:54 UTC) #22
commit-bot: I haz the power
4 years, 1 month ago (2016-11-06 03:53:29 UTC) #24
Message was sent while issue was closed.
Patchset 4 (id:??) landed as
https://crrev.com/90ff5242b9641a6c0263f65b6c830ba754d96f39
Cr-Commit-Position: refs/heads/master@{#430178}

Powered by Google App Engine
This is Rietveld 408576698