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

Issue 1068683002: Delete RenderBlockFlow. (Closed)

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

Description

Delete RenderBlockFlow. We only ever create RenderParagraphs now. The only non-trivial change here is making RenderView a RenderFlexibleBox. This required changing custom.sky. That test was written in a fragile way that behaved differently if we did multiple layouts. Instead, having it be less racy and only change values during the test itself. This also throws a wrench in moving all the layout code to dart because we can't set the layout manager on the RenderView. Maybe we need to explicitly let you do so. R=eseidel@chromium.org Committed: https://chromium.googlesource.com/external/mojo/+/7794a09faa9b6f4d95618d74e31a0fb4d379e279

Patch Set 1 #

Total comments: 2

Patch Set 2 : Remove unused float-related code instead of moving it. #

Unified diffs Side-by-side diffs Delta from patch set Stats (+297 lines, -697 lines) Patch
M sky/engine/core/core.gni View 2 chunks +0 lines, -3 lines 0 comments Download
M sky/engine/core/css/resolver/StyleResolver.cpp View 1 chunk +0 lines, -1 line 0 comments Download
M sky/engine/core/dom/Position.cpp View 4 chunks +5 lines, -4 lines 0 comments Download
M sky/engine/core/dom/PositionIterator.cpp View 2 chunks +3 lines, -2 lines 0 comments Download
M sky/engine/core/editing/TextIterator.cpp View 1 chunk +1 line, -1 line 0 comments Download
M sky/engine/core/editing/VisibleUnits.cpp View 4 chunks +6 lines, -4 lines 0 comments Download
M sky/engine/core/editing/htmlediting.cpp View 1 chunk +1 line, -1 line 0 comments Download
M sky/engine/core/rendering/InlineBox.cpp View 1 chunk +1 line, -1 line 0 comments Download
M sky/engine/core/rendering/InlineFlowBox.cpp View 1 chunk +1 line, -0 lines 0 comments Download
M sky/engine/core/rendering/InlineIterator.h View 5 chunks +6 lines, -5 lines 0 comments Download
M sky/engine/core/rendering/RenderBlock.h View 2 chunks +2 lines, -3 lines 0 comments Download
M sky/engine/core/rendering/RenderBlock.cpp View 2 chunks +3 lines, -3 lines 0 comments Download
D sky/engine/core/rendering/RenderBlockFlow.h View 1 chunk +0 lines, -148 lines 0 comments Download
D sky/engine/core/rendering/RenderBlockFlow.cpp View 1 chunk +0 lines, -328 lines 0 comments Download
M sky/engine/core/rendering/RenderBox.h View 1 chunk +0 lines, -1 line 0 comments Download
M sky/engine/core/rendering/RenderBox.cpp View 1 chunk +1 line, -1 line 0 comments Download
M sky/engine/core/rendering/RenderFlexibleBox.h View 2 chunks +2 lines, -2 lines 0 comments Download
M sky/engine/core/rendering/RenderFlexibleBox.cpp View 1 chunk +2 lines, -2 lines 0 comments Download
M sky/engine/core/rendering/RenderLineBoxList.cpp View 1 chunk +1 line, -1 line 0 comments Download
M sky/engine/core/rendering/RenderObject.h View 2 chunks +0 lines, -2 lines 0 comments Download
M sky/engine/core/rendering/RenderObject.cpp View 2 chunks +2 lines, -2 lines 0 comments Download
M sky/engine/core/rendering/RenderParagraph.h View 1 3 chunks +46 lines, -6 lines 0 comments Download
M sky/engine/core/rendering/RenderParagraph.cpp View 1 10 chunks +186 lines, -62 lines 0 comments Download
M sky/engine/core/rendering/RenderView.h View 3 chunks +2 lines, -4 lines 0 comments Download
M sky/engine/core/rendering/RenderView.cpp View 3 chunks +2 lines, -7 lines 0 comments Download
M sky/engine/core/rendering/RootInlineBox.h View 1 3 chunks +3 lines, -18 lines 0 comments Download
M sky/engine/core/rendering/RootInlineBox.cpp View 1 5 chunks +7 lines, -7 lines 0 comments Download
D sky/engine/core/rendering/TrailingFloatsRootInlineBox.h View 1 chunk +0 lines, -47 lines 0 comments Download
M sky/engine/core/rendering/line/BreakingContextInlineHeaders.h View 3 chunks +3 lines, -3 lines 0 comments Download
M sky/engine/core/rendering/line/LineBreaker.h View 2 chunks +2 lines, -2 lines 0 comments Download
M sky/engine/core/rendering/line/LineLayoutState.h View 1 4 chunks +3 lines, -20 lines 0 comments Download
M sky/engine/core/rendering/line/LineWidth.h View 2 chunks +3 lines, -3 lines 0 comments Download
M sky/engine/core/rendering/line/LineWidth.cpp View 1 chunk +2 lines, -2 lines 0 comments Download
M sky/tests/layout/custom.sky View 2 chunks +1 line, -1 line 0 comments Download

Messages

Total messages: 5 (1 generated)
ojan
5 years, 8 months ago (2015-04-07 02:25:57 UTC) #2
eseidel
Ok. So per your explation in chat: RenderBlock - super class for I don't know ...
5 years, 8 months ago (2015-04-07 19:01:22 UTC) #3
ojan
> RenderBlock - super class for I don't know what now. Yeah, it's not clear ...
5 years, 8 months ago (2015-04-07 20:35:46 UTC) #4
ojan
5 years, 8 months ago (2015-04-07 23:59:56 UTC) #5
Message was sent while issue was closed.
Committed patchset #2 (id:20001) manually as
7794a09faa9b6f4d95618d74e31a0fb4d379e279 (presubmit successful).

Powered by Google App Engine
This is Rietveld 408576698