OLD | NEW |
1 // Copyright 2015 The Chromium Authors. All rights reserved. | 1 // Copyright 2015 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 CaseMappingHarfBuzzBufferFiller_h | 5 #ifndef CaseMappingHarfBuzzBufferFiller_h |
6 #define CaseMappingHarfBuzzBufferFiller_h | 6 #define CaseMappingHarfBuzzBufferFiller_h |
7 | 7 |
8 #include "wtf/Allocator.h" | 8 #include "platform/wtf/Allocator.h" |
9 #include "wtf/text/AtomicString.h" | 9 #include "platform/wtf/text/AtomicString.h" |
10 #include "wtf/text/Unicode.h" | 10 #include "platform/wtf/text/Unicode.h" |
11 | 11 |
12 #include <hb.h> | 12 #include <hb.h> |
13 | 13 |
14 namespace blink { | 14 namespace blink { |
15 | 15 |
16 enum class CaseMapIntend { KeepSameCase, UpperCase, LowerCase }; | 16 enum class CaseMapIntend { KeepSameCase, UpperCase, LowerCase }; |
17 | 17 |
18 class CaseMappingHarfBuzzBufferFiller { | 18 class CaseMappingHarfBuzzBufferFiller { |
19 STACK_ALLOCATED() | 19 STACK_ALLOCATED() |
20 | 20 |
(...skipping 12 matching lines...) Expand all Loading... |
33 const UChar* buffer, | 33 const UChar* buffer, |
34 unsigned bufferLength, | 34 unsigned bufferLength, |
35 unsigned startIndex, | 35 unsigned startIndex, |
36 unsigned numCharacters); | 36 unsigned numCharacters); |
37 hb_buffer_t* m_harfBuzzBuffer; | 37 hb_buffer_t* m_harfBuzzBuffer; |
38 }; | 38 }; |
39 | 39 |
40 } // namespace blink | 40 } // namespace blink |
41 | 41 |
42 #endif | 42 #endif |
OLD | NEW |