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

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

Issue 2836293004: [LayoutNG] Move NGInlineNode data to NGInlineNodeData. (Closed)
Patch Set: rebase. Created 3 years, 7 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
OLDNEW
(Empty)
1 // Copyright 2017 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file.
4
5 #ifndef NGInlineNodeData_h
6 #define NGInlineNodeData_h
7
8 #include "core/CoreExport.h"
9 #include "core/layout/ng/inline/ng_inline_item.h"
10 #include "platform/wtf/Vector.h"
11
12 namespace blink {
13
14 // Data which is required for inline nodes.
15 struct CORE_EXPORT NGInlineNodeData {
16 private:
17 friend class NGInlineNode;
18 friend class NGInlineNodeForTest;
19
20 // Text content for all inline items represented by a single NGInlineNode.
21 // Encoded either as UTF-16 or latin-1 depending on the content.
22 String text_content_;
23 Vector<NGInlineItem> items_;
24
25 // TODO(kojii): This should move to somewhere else when we move PrepareLayout
26 // to the correct place.
27 bool is_bidi_enabled_ = false;
28 };
29
30 } // namespace blink
31
32 #endif // NGInlineNode_h
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698