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

Issue 1160013004: Implement RenderImage and Image for Sky (Closed)

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

Description

Implement RenderImage and Image for Sky This also fixes a bug that was preventing markNeedsLayout from working R=abarth@chromium.org, eseidel@chromium.org, abarth, eseidel Committed: https://chromium.googlesource.com/external/mojo/+/6902d78ca11b0400427a391d0774be368a546085

Patch Set 1 #

Patch Set 2 : Clean up the example #

Total comments: 12

Patch Set 3 : CR feedback from Eric #

Total comments: 21

Patch Set 4 : Implement code review feedback from Adam and improve demo #

Total comments: 14

Patch Set 5 : Remove unneeded method #

Patch Set 6 : rebase and merge conflicts #

Total comments: 1

Patch Set 7 : more CR feedback from Adam #

Patch Set 8 : rebase again #

Unified diffs Side-by-side diffs Delta from patch set Stats (+233 lines, -34 lines) Patch
M sky/examples/fn2/container.dart View 1 2 3 4 5 2 chunks +16 lines, -1 line 0 comments Download
A sky/examples/lib/solid_color_box.dart View 1 2 3 4 5 1 chunk +30 lines, -0 lines 0 comments Download
A sky/examples/raw/interactive_flex.dart View 1 2 3 4 5 1 chunk +95 lines, -0 lines 0 comments Download
M sky/examples/raw/render_paragraph.dart View 1 2 3 4 5 2 chunks +2 lines, -25 lines 0 comments Download
M sky/sdk/lib/framework/fn2.dart View 1 2 3 4 5 1 chunk +7 lines, -8 lines 0 comments Download
M sky/sdk/lib/framework/rendering/box.dart View 1 2 3 4 5 6 2 chunks +75 lines, -0 lines 0 comments Download
M sky/sdk/lib/framework/rendering/node.dart View 1 2 1 chunk +8 lines, -0 lines 0 comments Download

Messages

Total messages: 11 (2 generated)
jackson
5 years, 6 months ago (2015-06-02 23:27:05 UTC) #1
eseidel
lgtm https://codereview.chromium.org/1160013004/diff/20001/sky/sdk/lib/framework/rendering/render_image.dart File sky/sdk/lib/framework/rendering/render_image.dart (right): https://codereview.chromium.org/1160013004/diff/20001/sky/sdk/lib/framework/rendering/render_image.dart#newcode20 sky/sdk/lib/framework/rendering/render_image.dart:20: void configure(String src, num width, num height) { ...
5 years, 6 months ago (2015-06-02 23:46:01 UTC) #2
abarth-chromium
not lgtm There's some problem with updateSizeFromImage not integrating properly with the layout algorithm. https://codereview.chromium.org/1160013004/diff/20001/sky/sdk/lib/framework/fn2.dart ...
5 years, 6 months ago (2015-06-03 00:07:54 UTC) #3
abarth-chromium
https://codereview.chromium.org/1160013004/diff/40001/sky/examples/raw/interactive_flex.dart File sky/examples/raw/interactive_flex.dart (right): https://codereview.chromium.org/1160013004/diff/40001/sky/examples/raw/interactive_flex.dart#newcode38 sky/examples/raw/interactive_flex.dart:38: } Can we not copy/paste this class for the ...
5 years, 6 months ago (2015-06-03 00:16:31 UTC) #4
jackson
https://codereview.chromium.org/1160013004/diff/20001/sky/sdk/lib/framework/fn2.dart File sky/sdk/lib/framework/fn2.dart (right): https://codereview.chromium.org/1160013004/diff/20001/sky/sdk/lib/framework/fn2.dart#newcode554 sky/sdk/lib/framework/fn2.dart:554: RenderNodeWrapper get emptyNode => _emptyImage; On 2015/06/03 00:07:53, abarth ...
5 years, 6 months ago (2015-06-03 17:41:43 UTC) #5
abarth-chromium
https://codereview.chromium.org/1160013004/diff/60001/sky/sdk/lib/framework/fn2.dart File sky/sdk/lib/framework/fn2.dart (right): https://codereview.chromium.org/1160013004/diff/60001/sky/sdk/lib/framework/fn2.dart#newcode619 sky/sdk/lib/framework/fn2.dart:619: RenderNodeWrapper get emptyNode => _emptyImage; We don't need emptyNode ...
5 years, 6 months ago (2015-06-03 17:53:22 UTC) #6
jackson
https://codereview.chromium.org/1160013004/diff/40001/sky/examples/raw/interactive_flex.dart File sky/examples/raw/interactive_flex.dart (right): https://codereview.chromium.org/1160013004/diff/40001/sky/examples/raw/interactive_flex.dart#newcode65 sky/examples/raw/interactive_flex.dart:65: lastY = event.y; On 2015/06/03 00:16:31, abarth wrote: > ...
5 years, 6 months ago (2015-06-03 22:06:26 UTC) #9
abarth-chromium
lgtm https://codereview.chromium.org/1160013004/diff/140001/sky/sdk/lib/framework/rendering/box.dart File sky/sdk/lib/framework/rendering/box.dart (right): https://codereview.chromium.org/1160013004/diff/140001/sky/sdk/lib/framework/rendering/box.dart#newcode294 sky/sdk/lib/framework/rendering/box.dart:294: requestedSize.height == null ? 0.0 : requestedSize.height); We ...
5 years, 6 months ago (2015-06-03 22:10:30 UTC) #10
jackson
5 years, 6 months ago (2015-06-03 22:17:17 UTC) #11
Message was sent while issue was closed.
Committed patchset #8 (id:180001) manually as
6902d78ca11b0400427a391d0774be368a546085 (presubmit successful).

Powered by Google App Engine
This is Rietveld 408576698