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

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

Issue 2854993002: [LayoutNG] Add NGLayoutInputNode::ShowNodeTree (Closed)
Patch Set: Use forward declaration for LayoutObject Created 3 years, 8 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
Index: third_party/WebKit/Source/core/layout/ng/inline/ng_inline_item.h
diff --git a/third_party/WebKit/Source/core/layout/ng/inline/ng_inline_item.h b/third_party/WebKit/Source/core/layout/ng/inline/ng_inline_item.h
index 3d0365e81af55b3227472f7c4bb4e27ac5a1864f..850fb691f21f463087c6d9e5ac2efabaa3f9842f 100644
--- a/third_party/WebKit/Source/core/layout/ng/inline/ng_inline_item.h
+++ b/third_party/WebKit/Source/core/layout/ng/inline/ng_inline_item.h
@@ -64,6 +64,7 @@ class NGInlineItem {
}
NGInlineItemType Type() const { return static_cast<NGInlineItemType>(type_); }
+ const char* NGInlineItemTypeToString(int val) const;
NGLayoutInlineShapeOptions ShapeOptions() const {
return static_cast<NGLayoutInlineShapeOptions>(shape_options_);
@@ -99,6 +100,8 @@ class NGInlineItem {
void AssertOffset(unsigned offset) const;
void AssertEndOffset(unsigned offset) const;
+ String ToString() const;
+
private:
unsigned start_offset_;
unsigned end_offset_;
« no previous file with comments | « third_party/WebKit/Source/core/layout/BUILD.gn ('k') | third_party/WebKit/Source/core/layout/ng/inline/ng_inline_item.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698