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

Issue 883293004: [New Multicolumn] Preparatory work for nested multicol support. (Closed)

Created:
5 years, 10 months ago by mstensho (USE GERRIT)
Modified:
5 years, 8 months ago
CC:
blink-reviews, blink-reviews-rendering, chromiumbugtracker_adobe.com, Dominik Röttsches, eae+blinkwatch, jchaffraix+rendering, leviw+renderwatch, pdr+renderingwatchlist_chromium.org, zoltan1
Base URL:
https://chromium.googlesource.com/chromium/blink.git@master
Target Ref:
refs/heads/master
Project:
blink
Visibility:
Public.

Description

[New Multicolumn] Preparatory work for nested multicol support. Introducing the class MultiColumnRow. A RenderMultiColumnSet will have one or more of those. For now, only one row is supported. Moved a lot of code from RenderMultiColumnSet into MultiColumnRow. Additionally, since it would just be just cumbersome and waseful to store the flow thread rectangle in RenderRegion (or RenderMultiColumnSet, for that matter) now, create a rectangle on the fly when requested. No behavioral changes are intended. R=jchaffraix@chromium.org BUG=447718 Committed: https://src.chromium.org/viewvc/blink?view=rev&revision=189966

Patch Set 1 #

Patch Set 2 : no find copies, please #

Total comments: 8

Patch Set 3 : rebase master #

Patch Set 4 : Rename MultiColumnRow to MultiColumnFragmentainerGroup #

Patch Set 5 : Class documentation. #

Patch Set 6 : Range-based for loops. Store fragmentainer groups in a vector. #

Patch Set 7 : rebase master - many conflicts #

Patch Set 8 : Place the new files in ../layout/ , since that's where they'll end up soon anyway. #

Total comments: 7
Unified diffs Side-by-side diffs Delta from patch set Stats (+908 lines, -569 lines) Patch
M Source/core/core.gypi View 1 2 3 4 5 6 7 2 chunks +3 lines, -0 lines 0 comments Download
A Source/core/layout/MultiColumnFragmentainerGroup.h View 1 2 3 4 5 6 7 1 chunk +155 lines, -0 lines 3 comments Download
A Source/core/layout/MultiColumnFragmentainerGroup.cpp View 1 2 3 4 5 6 7 1 chunk +509 lines, -0 lines 2 comments Download
A Source/core/layout/MultiColumnFragmentainerGroupTest.cpp View 1 2 3 4 5 6 7 1 chunk +107 lines, -0 lines 0 comments Download
M Source/core/rendering/RenderFlowThread.h View 1 2 3 4 5 6 1 chunk +1 line, -1 line 0 comments Download
M Source/core/rendering/RenderFlowThread.cpp View 1 2 3 4 5 6 2 chunks +4 lines, -17 lines 2 comments Download
M Source/core/rendering/RenderMultiColumnFlowThread.h View 1 2 3 4 5 6 1 chunk +2 lines, -0 lines 0 comments Download
M Source/core/rendering/RenderMultiColumnFlowThread.cpp View 1 2 3 4 5 6 2 chunks +3 lines, -3 lines 0 comments Download
M Source/core/rendering/RenderMultiColumnSet.h View 1 2 3 4 5 6 7 6 chunks +39 lines, -104 lines 0 comments Download
M Source/core/rendering/RenderMultiColumnSet.cpp View 1 2 3 4 5 6 7 8 chunks +83 lines, -439 lines 0 comments Download
M Source/core/rendering/RenderRegion.h View 1 2 3 4 5 6 3 chunks +2 lines, -5 lines 0 comments Download

Messages

Total messages: 17 (5 generated)
mstensho (USE GERRIT)
5 years, 10 months ago (2015-01-29 16:15:45 UTC) #1
Julien - ping for review
https://codereview.chromium.org/883293004/diff/20001/Source/core/rendering/MultiColumnRow.h File Source/core/rendering/MultiColumnRow.h (right): https://codereview.chromium.org/883293004/diff/20001/Source/core/rendering/MultiColumnRow.h#newcode12 Source/core/rendering/MultiColumnRow.h:12: class MultiColumnRow { We would need a class comment ...
5 years, 10 months ago (2015-01-29 17:37:47 UTC) #2
mstensho (USE GERRIT)
https://codereview.chromium.org/883293004/diff/20001/Source/core/rendering/MultiColumnRow.h File Source/core/rendering/MultiColumnRow.h (right): https://codereview.chromium.org/883293004/diff/20001/Source/core/rendering/MultiColumnRow.h#newcode12 Source/core/rendering/MultiColumnRow.h:12: class MultiColumnRow { On 2015/01/29 17:37:47, Julien Chaffraix - ...
5 years, 10 months ago (2015-02-02 17:57:24 UTC) #3
mstensho (USE GERRIT)
ping - it would be great to have this resolved as soon as possible, since ...
5 years, 10 months ago (2015-02-04 08:52:32 UTC) #4
mstensho (USE GERRIT)
@jchaffraix - can you take another look, please? I'd very much like to resolve this ...
5 years, 10 months ago (2015-02-09 21:43:41 UTC) #5
Julien - ping for review
lgtm, I have skimmed the patch as this is only a move. +Dan, if they ...
5 years, 10 months ago (2015-02-11 07:25:29 UTC) #7
mstensho (USE GERRIT)
https://codereview.chromium.org/883293004/diff/140001/Source/core/layout/MultiColumnFragmentainerGroup.cpp File Source/core/layout/MultiColumnFragmentainerGroup.cpp (right): https://codereview.chromium.org/883293004/diff/140001/Source/core/layout/MultiColumnFragmentainerGroup.cpp#newcode35 Source/core/layout/MultiColumnFragmentainerGroup.cpp:35: // passes as well. On 2015/02/11 07:25:29, Julien Chaffraix ...
5 years, 10 months ago (2015-02-11 09:49:55 UTC) #8
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/883293004/140001
5 years, 10 months ago (2015-02-11 09:50:58 UTC) #10
commit-bot: I haz the power
Try jobs failed on following builders: win_gpu on tryserver.chromium.gpu (JOB_FAILED, http://build.chromium.org/p/tryserver.chromium.gpu/builders/win_gpu/builds/122417) win_gpu_triggered_tests on tryserver.chromium.gpu (JOB_FAILED, ...
5 years, 10 months ago (2015-02-11 11:23:06 UTC) #12
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/883293004/140001
5 years, 10 months ago (2015-02-11 11:26:24 UTC) #14
commit-bot: I haz the power
Committed patchset #8 (id:140001) as https://src.chromium.org/viewvc/blink?view=rev&revision=189966
5 years, 10 months ago (2015-02-11 12:16:29 UTC) #15
Nico
5 years, 8 months ago (2015-04-09 04:39:34 UTC) #17
Message was sent while issue was closed.
https://codereview.chromium.org/883293004/diff/140001/Source/core/layout/Mult...
File Source/core/layout/MultiColumnFragmentainerGroup.h (right):

https://codereview.chromium.org/883293004/diff/140001/Source/core/layout/Mult...
Source/core/layout/MultiColumnFragmentainerGroup.h:139: class
MultiColumnFragmentainerGroupList : public Vector<MultiColumnFragmentainerGroup,
1> {
Let's not derive from container types. If your class is like a container, give
it a container member and delegate the methods you need to that field. You
probably don't need all the methods.

jchaffraix: This was more than just a move from what I can tell (this code
wasn't there before), please take a slightly more careful look next time.

Powered by Google App Engine
This is Rietveld 408576698