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

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

Issue 2563403002: [LayoutNG] Add Bidi reordering and fill in NGPhysicalTextFragment (Closed)
Patch Set: ikilpatrick review Created 4 years 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_builder.h
diff --git a/third_party/WebKit/Source/core/layout/ng/ng_fragment_builder.h b/third_party/WebKit/Source/core/layout/ng/ng_fragment_builder.h
index 102154475ad5c772608f88b9722471acd598899d..93935aad8c46017681912daded43a9507951ef59 100644
--- a/third_party/WebKit/Source/core/layout/ng/ng_fragment_builder.h
+++ b/third_party/WebKit/Source/core/layout/ng/ng_fragment_builder.h
@@ -11,7 +11,9 @@
namespace blink {
class NGFragmentBase;
+class NGInlineNode;
class NGPhysicalFragment;
+class NGPhysicalTextFragment;
class CORE_EXPORT NGFragmentBuilder final
: public GarbageCollectedFinalized<NGFragmentBuilder> {
@@ -81,6 +83,9 @@ class CORE_EXPORT NGFragmentBuilder final
// Creates the fragment. Can only be called once.
NGPhysicalFragment* ToFragment();
+ NGPhysicalTextFragment* ToTextFragment(NGInlineNode*,
+ unsigned start_index,
+ unsigned end_index);
DECLARE_VIRTUAL_TRACE();

Powered by Google App Engine
This is Rietveld 408576698