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

Unified Diff: third_party/WebKit/Source/core/layout/ng/ng_block_node.h

Issue 2867293002: [LayoutNG] Compute baseline from fragment tree (Closed)
Patch Set: Cleanup Created 3 years, 5 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
Index: third_party/WebKit/Source/core/layout/ng/ng_block_node.h
diff --git a/third_party/WebKit/Source/core/layout/ng/ng_block_node.h b/third_party/WebKit/Source/core/layout/ng/ng_block_node.h
index 8abc2b6b6e35d90de4067281ad3cb8d4e3254739..55b602d1c4b4aa055266e7aa37d862a88968a82f 100644
--- a/third_party/WebKit/Source/core/layout/ng/ng_block_node.h
+++ b/third_party/WebKit/Source/core/layout/ng/ng_block_node.h
@@ -16,6 +16,7 @@ namespace blink {
class LayoutObject;
class NGBreakToken;
class NGConstraintSpace;
+class NGFragmentBuilder;
class NGLayoutResult;
struct NGLogicalOffset;
struct MinMaxContentSize;
@@ -59,6 +60,11 @@ class CORE_EXPORT NGBlockNode final : public NGLayoutInputNode {
// After we run the layout algorithm, this function copies back the geometry
// data to the layout box.
void CopyFragmentDataToLayoutBox(const NGConstraintSpace&, NGLayoutResult*);
+
+ void CopyBaselinesFromOldLayout(const NGConstraintSpace&, NGFragmentBuilder*);
+ void AddAtomicInlineBaselineFromOldLayout(const NGBaselineRequest&,
+ bool,
+ NGFragmentBuilder*);
};
DEFINE_TYPE_CASTS(NGBlockNode,

Powered by Google App Engine
This is Rietveld 408576698