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

Issue 1151293002: WIP Flexbox Layout Manager for Sky framework. (Closed)

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

Description

WIP Flexbox Layout Manager for Sky framework. This only handles really basic cases and doesn't understand justification, wrapping, and so on. Submitting for code review so I can get some early feedback before I invest more time into making it correct. R=ianh@google.com, abarth Committed: https://chromium.googlesource.com/external/mojo/+/9687376ca32408d564be59f37b13b7d5917d9a73

Patch Set 1 : Initial WIP #

Total comments: 18

Patch Set 2 : Implement CR feedback from Adam and Ojan #

Total comments: 14

Patch Set 3 : CR feedback from hixie #

Total comments: 3

Patch Set 4 : more CR feedback from hixie #

Patch Set 5 : Rebasing onto master #

Total comments: 2
Unified diffs Side-by-side diffs Delta from patch set Stats (+207 lines, -40 lines) Patch
M sky/examples/raw/simple_render_tree.dart View 1 2 3 2 chunks +47 lines, -10 lines 2 comments Download
M sky/sdk/lib/framework/layout2.dart View 1 2 3 7 chunks +160 lines, -30 lines 0 comments Download

Messages

Total messages: 19 (7 generated)
jackson
5 years, 7 months ago (2015-05-22 05:31:44 UTC) #1
abarth-chromium
https://codereview.chromium.org/1151293002/diff/1/sky/sdk/lib/framework/layout2.dart File sky/sdk/lib/framework/layout2.dart (right): https://codereview.chromium.org/1151293002/diff/1/sky/sdk/lib/framework/layout2.dart#newcode738 sky/sdk/lib/framework/layout2.dart:738: _direction = value; Should early out when the newDirection ...
5 years, 7 months ago (2015-05-22 06:26:23 UTC) #2
ojan
https://codereview.chromium.org/1151293002/diff/1/sky/sdk/lib/framework/layout2.dart File sky/sdk/lib/framework/layout2.dart (right): https://codereview.chromium.org/1151293002/diff/1/sky/sdk/lib/framework/layout2.dart#newcode792 sky/sdk/lib/framework/layout2.dart:792: case FlexDirection.Row: Not directly related to this patch, but ...
5 years, 7 months ago (2015-05-22 06:48:11 UTC) #4
jackson
https://codereview.chromium.org/1151293002/diff/1/sky/sdk/lib/framework/layout2.dart File sky/sdk/lib/framework/layout2.dart (right): https://codereview.chromium.org/1151293002/diff/1/sky/sdk/lib/framework/layout2.dart#newcode738 sky/sdk/lib/framework/layout2.dart:738: _direction = value; On 2015/05/22 06:26:23, abarth wrote: > ...
5 years, 7 months ago (2015-05-22 20:06:55 UTC) #5
Hixie
https://codereview.chromium.org/1151293002/diff/20001/sky/examples/raw/simple_render_tree.dart File sky/examples/raw/simple_render_tree.dart (right): https://codereview.chromium.org/1151293002/diff/20001/sky/examples/raw/simple_render_tree.dart#newcode31 sky/examples/raw/simple_render_tree.dart:31: class RenderSolidColorBlock extends RenderSolidColor { Don't need two classes ...
5 years, 7 months ago (2015-05-22 20:32:16 UTC) #7
jackson
https://codereview.chromium.org/1151293002/diff/20001/sky/examples/raw/simple_render_tree.dart File sky/examples/raw/simple_render_tree.dart (right): https://codereview.chromium.org/1151293002/diff/20001/sky/examples/raw/simple_render_tree.dart#newcode31 sky/examples/raw/simple_render_tree.dart:31: class RenderSolidColorBlock extends RenderSolidColor { On 2015/05/22 20:32:16, Hixie ...
5 years, 7 months ago (2015-05-23 00:21:04 UTC) #8
Hixie
lgtm https://codereview.chromium.org/1151293002/diff/40001/sky/examples/raw/simple_render_tree.dart File sky/examples/raw/simple_render_tree.dart (right): https://codereview.chromium.org/1151293002/diff/40001/sky/examples/raw/simple_render_tree.dart#newcode70 sky/examples/raw/simple_render_tree.dart:70: void addFlexChild(RenderFlex renderFlex, int backgroundColor, { int flex: ...
5 years, 7 months ago (2015-05-23 00:34:21 UTC) #9
commit-bot: I haz the power
Commit queue rejected this change because it did not recognize the base URL. Please commit ...
5 years, 7 months ago (2015-05-23 01:24:02 UTC) #13
jackson
Committed patchset #5 (id:100001) manually as 9687376ca32408d564be59f37b13b7d5917d9a73 (presubmit successful).
5 years, 7 months ago (2015-05-23 01:47:46 UTC) #15
sethladd
https://codereview.chromium.org/1151293002/diff/100001/sky/examples/raw/simple_render_tree.dart File sky/examples/raw/simple_render_tree.dart (right): https://codereview.chromium.org/1151293002/diff/100001/sky/examples/raw/simple_render_tree.dart#newcode16 sky/examples/raw/simple_render_tree.dart:16: : desiredHeight = desiredHeight, Did you consider using this. ...
5 years, 7 months ago (2015-05-23 03:14:10 UTC) #17
jackson
https://codereview.chromium.org/1151293002/diff/100001/sky/examples/raw/simple_render_tree.dart File sky/examples/raw/simple_render_tree.dart (right): https://codereview.chromium.org/1151293002/diff/100001/sky/examples/raw/simple_render_tree.dart#newcode16 sky/examples/raw/simple_render_tree.dart:16: : desiredHeight = desiredHeight, On 2015/05/23 03:14:10, sethladd wrote: ...
5 years, 7 months ago (2015-05-23 03:47:44 UTC) #18
sethladd
5 years, 7 months ago (2015-05-23 17:01:53 UTC) #19
Message was sent while issue was closed.
No worries! Stop by any time, happy to do code reviews (both for micro reviews
and macro reviews). And welcome!

Powered by Google App Engine
This is Rietveld 408576698