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

Issue 1154903006: Borders. (Closed)

Created:
5 years, 6 months ago by Hixie
Modified:
5 years, 6 months ago
CC:
abarth-chromium, bsalomon, gregsimon, mojo-reviews_chromium.org, qsr+mojo_chromium.org
Base URL:
https://github.com/domokit/mojo.git@master
Target Ref:
refs/heads/master
Project:
mojo
Visibility:
Public.

Description

Enable RenderDecoratedBox to draw borders. Currently supports only solid borders, but of any colour and size, independently controlling each side. R=abarth@chromium.org Committed: https://chromium.googlesource.com/external/mojo/+/5bea9f7842768b9e7cee393f855f521c70b89dfa

Patch Set 1 #

Patch Set 2 : example #

Patch Set 3 : now with no broken tests #

Total comments: 3
Unified diffs Side-by-side diffs Delta from patch set Stats (+188 lines, -6 lines) Patch
A sky/examples/raw/borders.dart View 1 1 chunk +81 lines, -0 lines 0 comments Download
M sky/sdk/lib/framework/rendering/box.dart View 1 2 3 chunks +103 lines, -5 lines 3 comments Download
M sky/tests/raw/padding_deflate.dart View 1 2 1 chunk +4 lines, -1 line 0 comments Download

Messages

Total messages: 13 (3 generated)
eseidel
You need a changelog description. :) Also, skia has fancier apis for drawing multiple lines ...
5 years, 6 months ago (2015-06-04 00:27:13 UTC) #2
reed1
Some ideas to potentially simplify memory allocs ... 1. SkPath has a reset()/rewind() call, allowing ...
5 years, 6 months ago (2015-06-04 14:24:03 UTC) #4
Hixie
On 2015/06/04 at 14:24:03, reed wrote: > Some ideas to potentially simplify memory allocs ...
5 years, 6 months ago (2015-06-04 16:30:16 UTC) #5
abarth-chromium
lgtm
5 years, 6 months ago (2015-06-04 16:50:34 UTC) #7
Matt Perry
https://codereview.chromium.org/1154903006/diff/40001/sky/sdk/lib/framework/rendering/box.dart File sky/sdk/lib/framework/rendering/box.dart (right): https://codereview.chromium.org/1154903006/diff/40001/sky/sdk/lib/framework/rendering/box.dart#newcode361 sky/sdk/lib/framework/rendering/box.dart:361: static const None = const BorderSide(width: 0.0); what's our ...
5 years, 6 months ago (2015-06-04 16:58:33 UTC) #8
Hixie
Committed patchset #3 (id:40001) manually as 5bea9f7842768b9e7cee393f855f521c70b89dfa (presubmit successful).
5 years, 6 months ago (2015-06-04 17:51:04 UTC) #9
Matt Perry
https://codereview.chromium.org/1154903006/diff/40001/sky/sdk/lib/framework/rendering/box.dart File sky/sdk/lib/framework/rendering/box.dart (right): https://codereview.chromium.org/1154903006/diff/40001/sky/sdk/lib/framework/rendering/box.dart#newcode361 sky/sdk/lib/framework/rendering/box.dart:361: static const None = const BorderSide(width: 0.0); On 2015/06/04 ...
5 years, 6 months ago (2015-06-04 17:59:43 UTC) #10
abarth-chromium
On 2015/06/04 at 17:59:43, mpcomplete wrote: > https://codereview.chromium.org/1154903006/diff/40001/sky/sdk/lib/framework/rendering/box.dart > File sky/sdk/lib/framework/rendering/box.dart (right): > > https://codereview.chromium.org/1154903006/diff/40001/sky/sdk/lib/framework/rendering/box.dart#newcode361 ...
5 years, 6 months ago (2015-06-04 18:07:30 UTC) #11
eseidel
I recommend following Dart style for all Dart code. All C++ code we use Chromium ...
5 years, 6 months ago (2015-06-04 18:08:11 UTC) #12
Hixie
5 years, 6 months ago (2015-06-04 18:10:12 UTC) #13
Message was sent while issue was closed.
Yeah, we should follow the style guide. I'll go fix this one.
I noticed it talks about enum values being lowerCamelCase too, which I think is
a recent change? I guess I'll go through and fix those too.

Powered by Google App Engine
This is Rietveld 408576698