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

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

Issue 2636353002: [LayoutNG] Remove the state machine from ng_out_of_flow_layout_part. (Closed)
Patch Set: fix compile Created 3 years, 11 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 d2b9a3835e0bbb53fab395731e5f97d1974099b0..e7d7f65dc6ad1c5d97ad36325f5491af978eee77 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
@@ -34,6 +34,8 @@ class CORE_EXPORT NGBlockNode final : public NGLayoutInputNode {
~NGBlockNode() override;
bool Layout(NGConstraintSpace*, NGFragment**) override;
+ void LayoutSync(NGConstraintSpace*, NGFragment**);
+
atotic 2017/01/18 18:48:49 Are Sync methods temporary? What are our plans fo
ikilpatrick 2017/01/18 19:32:13 Yup the sync methods are temporary, the eventual L
NGBlockNode* NextSibling() override;
// Computes the value of min-content and max-content for this box.
@@ -46,6 +48,7 @@ class CORE_EXPORT NGBlockNode final : public NGLayoutInputNode {
// often enough that it returns true before calling
// ComputeOrSynthesizeMinAndMaxContentSizes)
bool ComputeMinAndMaxContentSizes(MinAndMaxContentSizes*);
+ MinAndMaxContentSizes ComputeMinAndMaxContentSizesSync();
const ComputedStyle* Style() const;
ComputedStyle* MutableStyle();

Powered by Google App Engine
This is Rietveld 408576698