[LayoutNG] Add ShapeResult and orientation to NGPhysicalTextFragment

Desktop / Chromium - Koji Ishii [chromium.org] - 14 July 2017 20:39 EDT

This patch adds ShapeResult and line orientation to NGPhysicalTextFragment. These properties are not used today, but will be used in LayoutNGPaintFragments.

Includes cleanup of functions that are no longer used.

BUG=636993 CQ_INCLUDE_TRYBOTS=master.tryserver.chromium.linux:linux_layout_tests_layout_ng

Change-Id: Id91f177e8d9d91914144ab138f37f25cd612be2f Reviewed-on: https://chromium-review.googlesource.com/571883

4e145f3 [LayoutNG] Add ShapeResult and orientation to NGPhysicalTextFragment
.../core/layout/ng/inline/ng_inline_box_state.h | 6 ++--
.../core/layout/ng/inline/ng_inline_item_result.h | 2 +-
.../layout/ng/inline/ng_inline_layout_algorithm.cc | 3 +-
.../core/layout/ng/inline/ng_line_breaker.cc | 1 +
.../layout/ng/inline/ng_physical_text_fragment.h | 42 ++++++++++++++++++++--
.../layout/ng/inline/ng_text_fragment_builder.cc | 39 +++++++++++++-------
.../layout/ng/inline/ng_text_fragment_builder.h | 12 +++----
7 files changed, 78 insertions(+), 27 deletions(-)

Upstream: git.chromium.org


  • Share