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

Side by Side Diff: third_party/WebKit/Source/core/layout/ng/ng_text_layout_algorithm.h

Issue 2722763002: [LayoutNG] Switch NGBreakToken to being RefCounted. (Closed)
Patch Set: remove comments. Created 3 years, 9 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 | « third_party/WebKit/Source/core/layout/ng/ng_physical_fragment.cc ('k') | no next file » | 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 NGInlineLayoutAlgorithm_h 5 #ifndef NGInlineLayoutAlgorithm_h
6 #define NGInlineLayoutAlgorithm_h 6 #define NGInlineLayoutAlgorithm_h
7 7
8 #include "core/CoreExport.h" 8 #include "core/CoreExport.h"
9 #include "core/layout/ng/ng_break_token.h" 9 #include "core/layout/ng/ng_break_token.h"
10 #include "core/layout/ng/ng_layout_algorithm.h" 10 #include "core/layout/ng/ng_layout_algorithm.h"
(...skipping 20 matching lines...) Expand all
31 NGTextLayoutAlgorithm(NGInlineNode* inline_box, 31 NGTextLayoutAlgorithm(NGInlineNode* inline_box,
32 NGConstraintSpace* space, 32 NGConstraintSpace* space,
33 NGBreakToken* break_token = nullptr); 33 NGBreakToken* break_token = nullptr);
34 34
35 RefPtr<NGLayoutResult> Layout() override; 35 RefPtr<NGLayoutResult> Layout() override;
36 void LayoutInline(NGLineBuilder*); 36 void LayoutInline(NGLineBuilder*);
37 37
38 private: 38 private:
39 Persistent<NGInlineNode> inline_box_; 39 Persistent<NGInlineNode> inline_box_;
40 NGConstraintSpace* constraint_space_; 40 NGConstraintSpace* constraint_space_;
41 Persistent<NGBreakToken> break_token_; 41 NGBreakToken* break_token_;
42 42
43 friend class NGInlineNodeTest; 43 friend class NGInlineNodeTest;
44 }; 44 };
45 45
46 } // namespace blink 46 } // namespace blink
47 47
48 #endif // NGInlineLayoutAlgorithm_h 48 #endif // NGInlineLayoutAlgorithm_h
OLDNEW
« no previous file with comments | « third_party/WebKit/Source/core/layout/ng/ng_physical_fragment.cc ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698