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

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

Issue 2753743003: Make NGFragmentBuilder to keep track on text children. (Closed)
Patch Set: get a raw ptr of NGPhysicalFragment instead of RefPtr 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_line_builder.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 NGTextFragment_h 5 #ifndef NGTextFragment_h
6 #define NGTextFragment_h 6 #define NGTextFragment_h
7 7
8 #include "core/CoreExport.h" 8 #include "core/CoreExport.h"
9 #include "core/layout/ng/ng_fragment.h" 9 #include "core/layout/ng/ng_fragment.h"
10 #include "core/layout/ng/ng_physical_text_fragment.h" 10 #include "core/layout/ng/ng_physical_text_fragment.h"
11 11
12 namespace blink { 12 namespace blink {
13 13
14 class CORE_EXPORT NGTextFragment final : public NGFragment { 14 class CORE_EXPORT NGTextFragment final : public NGFragment {
15 public: 15 public:
16 NGTextFragment(NGWritingMode writing_mode, 16 NGTextFragment(NGWritingMode writing_mode,
17 NGPhysicalTextFragment* physical_text_fragment) 17 const NGPhysicalTextFragment* physical_text_fragment)
18 : NGFragment(writing_mode, physical_text_fragment) {} 18 : NGFragment(writing_mode, physical_text_fragment) {}
19 }; 19 };
20 20
21 } // namespace blink 21 } // namespace blink
22 22
23 #endif // NGTextFragment_h 23 #endif // NGTextFragment_h
OLDNEW
« no previous file with comments | « third_party/WebKit/Source/core/layout/ng/ng_line_builder.cc ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698