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

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

Issue 2238523002: [LayoutNG] Initial version of NGBox wrapper object. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: s/mutableStyle/style Created 4 years, 4 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_layout_algorithm.h
diff --git a/third_party/WebKit/Source/core/layout/ng/ng_block_layout_algorithm.h b/third_party/WebKit/Source/core/layout/ng/ng_block_layout_algorithm.h
index ef60bc02b456ddfa509bb68993b142dc7bc4d872..06db39bc78734a7021194fb1e9bc0da2b4a9ed9d 100644
--- a/third_party/WebKit/Source/core/layout/ng/ng_block_layout_algorithm.h
+++ b/third_party/WebKit/Source/core/layout/ng/ng_block_layout_algorithm.h
@@ -5,12 +5,12 @@
#ifndef NGBlockLayoutAlgorithm_h
#define NGBlockLayoutAlgorithm_h
+#include "core/layout/ng/ng_box.h"
#include "wtf/RefPtr.h"
namespace blink {
class ComputedStyle;
-class LayoutBox;
class NGConstraintSpace;
class NGFragment;
@@ -18,7 +18,7 @@ class NGFragment;
// Lays out the children in sequence.
class NGBlockLayoutAlgorithm {
public:
- NGBlockLayoutAlgorithm(const ComputedStyle*);
+ NGBlockLayoutAlgorithm(PassRefPtr<const ComputedStyle>, NGBox);
// Actual layout implementation. Lays out the children in sequence within the
// constraints given by the NGConstraintSpace. Returns a fragment with the
@@ -29,6 +29,7 @@ class NGBlockLayoutAlgorithm {
private:
RefPtr<const ComputedStyle> m_style;
+ NGBox m_firstChild;
};
} // namespace blink
« no previous file with comments | « third_party/WebKit/Source/core/core.gypi ('k') | third_party/WebKit/Source/core/layout/ng/ng_block_layout_algorithm.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698