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

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

Issue 2898413002: [LayoutNG] Add box fragments to line boxes when needed (Closed)
Patch Set: x64 build fix 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 side-by-side diff with in-line comments
Download patch
Index: third_party/WebKit/Source/core/layout/ng/ng_fragment.h
diff --git a/third_party/WebKit/Source/core/layout/ng/ng_fragment.h b/third_party/WebKit/Source/core/layout/ng/ng_fragment.h
index 87d0ed3e20c490b4364b6790f060716e1147dffa..4c43104f3236eaa1a6b5cd134ef02329b5c03967 100644
--- a/third_party/WebKit/Source/core/layout/ng/ng_fragment.h
+++ b/third_party/WebKit/Source/core/layout/ng/ng_fragment.h
@@ -6,6 +6,7 @@
#define NGFragment_h
#include "core/CoreExport.h"
+#include "core/layout/ng/geometry/ng_logical_offset.h"
#include "core/layout/ng/ng_physical_fragment.h"
#include "core/layout/ng/ng_writing_mode.h"
#include "platform/LayoutUnit.h"
@@ -31,6 +32,7 @@ class CORE_EXPORT NGFragment {
// Returns the offset relative to the parent fragment's content-box.
LayoutUnit InlineOffset() const;
LayoutUnit BlockOffset() const;
+ NGLogicalOffset Offset() const;
NGPhysicalFragment::NGFragmentType Type() const;

Powered by Google App Engine
This is Rietveld 408576698