| OLD | NEW |
| 1 // Copyright 2016 The Chromium Authors. All rights reserved. | 1 // Copyright 2016 The Chromium Authors. All rights reserved. |
| 2 // Use of this source code is governed by a BSD-style license that can be | 2 // Use of this source code is governed by a BSD-style license that can be |
| 3 // found in the LICENSE file. | 3 // found in the LICENSE file. |
| 4 | 4 |
| 5 #ifndef NGBidiParagraph_h | 5 #ifndef NGBidiParagraph_h |
| 6 #define NGBidiParagraph_h | 6 #define NGBidiParagraph_h |
| 7 | 7 |
| 8 #include "wtf/Allocator.h" | 8 #include "platform/wtf/Allocator.h" |
| 9 #include "wtf/Forward.h" | 9 #include "platform/wtf/Forward.h" |
| 10 #include "wtf/Vector.h" | 10 #include "platform/wtf/Vector.h" |
| 11 | 11 |
| 12 #include <unicode/ubidi.h> | 12 #include <unicode/ubidi.h> |
| 13 | 13 |
| 14 namespace blink { | 14 namespace blink { |
| 15 | 15 |
| 16 class ComputedStyle; | 16 class ComputedStyle; |
| 17 | 17 |
| 18 // NGBidiParagraph resolves bidirectional runs in a paragraph using ICU BiDi. | 18 // NGBidiParagraph resolves bidirectional runs in a paragraph using ICU BiDi. |
| 19 // http://userguide.icu-project.org/transforms/bidi | 19 // http://userguide.icu-project.org/transforms/bidi |
| 20 // | 20 // |
| (...skipping 27 matching lines...) Expand all Loading... |
| 48 const Vector<UBiDiLevel, 32>& levels, | 48 const Vector<UBiDiLevel, 32>& levels, |
| 49 Vector<int32_t, 32>* indices_in_visual_order_out); | 49 Vector<int32_t, 32>* indices_in_visual_order_out); |
| 50 | 50 |
| 51 private: | 51 private: |
| 52 UBiDi* ubidi_ = nullptr; | 52 UBiDi* ubidi_ = nullptr; |
| 53 }; | 53 }; |
| 54 | 54 |
| 55 } // namespace blink | 55 } // namespace blink |
| 56 | 56 |
| 57 #endif // NGBidiParagraph_h | 57 #endif // NGBidiParagraph_h |
| OLD | NEW |