| Index: third_party/WebKit/Source/core/layout/ng/ng_bidi_paragraph.h
|
| diff --git a/third_party/WebKit/Source/core/layout/ng/ng_bidi_paragraph.h b/third_party/WebKit/Source/core/layout/ng/ng_bidi_paragraph.h
|
| index 9afb2fe006ffcad235133886df0577573089566f..51ba7a27ce24af54f644edc7d4d8737d5096b310 100644
|
| --- a/third_party/WebKit/Source/core/layout/ng/ng_bidi_paragraph.h
|
| +++ b/third_party/WebKit/Source/core/layout/ng/ng_bidi_paragraph.h
|
| @@ -7,12 +7,14 @@
|
|
|
| #include "wtf/Allocator.h"
|
| #include "wtf/Forward.h"
|
| +#include "wtf/Vector.h"
|
|
|
| #include <unicode/ubidi.h>
|
|
|
| namespace blink {
|
|
|
| class ComputedStyle;
|
| +class NGLayoutInlineItemRange;
|
|
|
| // NGBidiParagraph resolves bidirectional runs in a paragraph using ICU BiDi.
|
| // http://userguide.icu-project.org/transforms/bidi
|
| @@ -41,6 +43,11 @@ class NGBidiParagraph {
|
| // offset.
|
| unsigned GetLogicalRun(unsigned start, UBiDiLevel*) const;
|
|
|
| + // Create a list of indicies in the visual order.
|
| + static void IndiciesInVisualOrder(
|
| + const NGLayoutInlineItemRange&,
|
| + Vector<int32_t, 32>* item_indicies_in_visual_order_out);
|
| +
|
| private:
|
| UBiDi* ubidi_ = nullptr;
|
| };
|
|
|