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

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

Issue 2230563002: [LayoutNG] Very simple layout() implementation (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Rename variable to constraintSpace 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
« no previous file with comments | « no previous file | third_party/WebKit/Source/core/layout/ng/NGBlockLayoutAlgorithm.cpp » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: third_party/WebKit/Source/core/layout/ng/NGBlockLayoutAlgorithm.h
diff --git a/third_party/WebKit/Source/core/layout/ng/NGBlockLayoutAlgorithm.h b/third_party/WebKit/Source/core/layout/ng/NGBlockLayoutAlgorithm.h
index 0fc44a2f89d7018722ce55925a20d6ac89116996..987781a7ba86ba0584468742fc98ffc1f579b539 100644
--- a/third_party/WebKit/Source/core/layout/ng/NGBlockLayoutAlgorithm.h
+++ b/third_party/WebKit/Source/core/layout/ng/NGBlockLayoutAlgorithm.h
@@ -5,16 +5,24 @@
#ifndef NGBlockLayoutAlgorithm_h
#define NGBlockLayoutAlgorithm_h
+#include "wtf/RefPtr.h"
+
namespace blink {
+class ComputedStyle;
class LayoutBox;
class NGConstraintSpace;
+class NGFragment;
class NGBlockLayoutAlgorithm {
public:
- NGBlockLayoutAlgorithm();
+ NGBlockLayoutAlgorithm(ComputedStyle*);
eae 2016/08/09 18:58:04 const?
+
+ NGFragment* layout(const NGConstraintSpace&);
NGConstraintSpace createConstraintSpaceFromLayoutObject(const LayoutBox&);
+private:
+ RefPtr<ComputedStyle> m_style;
};
} // namespace blink
« no previous file with comments | « no previous file | third_party/WebKit/Source/core/layout/ng/NGBlockLayoutAlgorithm.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698