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

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

Issue 2883213003: [LayoutNG] Implement inline margins for atomic inline boxes (Closed)
Patch Set: 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/inline/ng_inline_layout_algorithm.h
diff --git a/third_party/WebKit/Source/core/layout/ng/inline/ng_inline_layout_algorithm.h b/third_party/WebKit/Source/core/layout/ng/inline/ng_inline_layout_algorithm.h
index c6f1db23d1499c1b90de27fc5970550fd5642029..7e9e601c788089fe22635ceeef3d4f8be44c3366 100644
--- a/third_party/WebKit/Source/core/layout/ng/inline/ng_inline_layout_algorithm.h
+++ b/third_party/WebKit/Source/core/layout/ng/inline/ng_inline_layout_algorithm.h
@@ -64,14 +64,16 @@ class CORE_EXPORT NGInlineLayoutAlgorithm final
const ComputedStyle& FirstLineStyle() const;
const ComputedStyle& LineStyle() const;
+ LayoutUnit LogicalLeftOffset() const;
+
void BidiReorder(NGInlineItemResults*);
bool PlaceItems(NGInlineItemResults*, RefPtr<NGInlineBreakToken>);
- LayoutUnit PlaceAtomicInline(const NGInlineItem&,
- NGInlineItemResult*,
- NGLineBoxFragmentBuilder*,
- NGInlineBoxState*,
- NGTextFragmentBuilder*);
+ NGInlineBoxState* PlaceAtomicInline(const NGInlineItem&,
+ NGInlineItemResult*,
+ LayoutUnit position,
+ NGLineBoxFragmentBuilder*,
+ NGTextFragmentBuilder*);
// Finds the next layout opportunity for the next text fragment.
void FindNextLayoutOpportunity();

Powered by Google App Engine
This is Rietveld 408576698