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

Side by Side 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 unified diff | 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 »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 // Copyright 2016 The Chromium Authors. All rights reserved. 1 // Copyright 2016 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be 2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file. 3 // found in the LICENSE file.
4 4
5 #ifndef NGBlockLayoutAlgorithm_h 5 #ifndef NGBlockLayoutAlgorithm_h
6 #define NGBlockLayoutAlgorithm_h 6 #define NGBlockLayoutAlgorithm_h
7 7
8 #include "wtf/RefPtr.h"
9
8 namespace blink { 10 namespace blink {
9 11
12 class ComputedStyle;
10 class LayoutBox; 13 class LayoutBox;
11 class NGConstraintSpace; 14 class NGConstraintSpace;
15 class NGFragment;
12 16
13 class NGBlockLayoutAlgorithm { 17 class NGBlockLayoutAlgorithm {
14 public: 18 public:
15 NGBlockLayoutAlgorithm(); 19 NGBlockLayoutAlgorithm(ComputedStyle*);
eae 2016/08/09 18:58:04 const?
20
21 NGFragment* layout(const NGConstraintSpace&);
16 22
17 NGConstraintSpace createConstraintSpaceFromLayoutObject(const LayoutBox&); 23 NGConstraintSpace createConstraintSpaceFromLayoutObject(const LayoutBox&);
24 private:
25 RefPtr<ComputedStyle> m_style;
18 }; 26 };
19 27
20 } // namespace blink 28 } // namespace blink
21 29
22 #endif // NGBlockLayoutAlgorithm_h 30 #endif // NGBlockLayoutAlgorithm_h
OLDNEW
« 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