OLD | NEW |
1 // Copyright 2014 The Chromium Authors. All rights reserved. | 1 // Copyright 2014 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 UI_GFX_RENDER_TEXT_HARFBUZZ_H_ | 5 #ifndef UI_GFX_RENDER_TEXT_HARFBUZZ_H_ |
6 #define UI_GFX_RENDER_TEXT_HARFBUZZ_H_ | 6 #define UI_GFX_RENDER_TEXT_HARFBUZZ_H_ |
7 | 7 |
| 8 #include "base/gtest_prod_util.h" |
8 #include "base/memory/scoped_ptr.h" | 9 #include "base/memory/scoped_ptr.h" |
9 #include "base/memory/scoped_vector.h" | 10 #include "base/memory/scoped_vector.h" |
10 #include "third_party/harfbuzz-ng/src/hb.h" | 11 #include "third_party/harfbuzz-ng/src/hb.h" |
11 #include "third_party/icu/source/common/unicode/ubidi.h" | 12 #include "third_party/icu/source/common/unicode/ubidi.h" |
12 #include "third_party/icu/source/common/unicode/uscript.h" | 13 #include "third_party/icu/source/common/unicode/uscript.h" |
13 #include "ui/gfx/render_text.h" | 14 #include "ui/gfx/render_text.h" |
14 | 15 |
15 namespace base { | 16 namespace base { |
16 namespace i18n { | 17 namespace i18n { |
17 class BreakIterator; | 18 class BreakIterator; |
(...skipping 253 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
271 | 272 |
272 // Fixed width of glyphs. This should only be set in test environments. | 273 // Fixed width of glyphs. This should only be set in test environments. |
273 float glyph_width_for_test_; | 274 float glyph_width_for_test_; |
274 | 275 |
275 DISALLOW_COPY_AND_ASSIGN(RenderTextHarfBuzz); | 276 DISALLOW_COPY_AND_ASSIGN(RenderTextHarfBuzz); |
276 }; | 277 }; |
277 | 278 |
278 } // namespace gfx | 279 } // namespace gfx |
279 | 280 |
280 #endif // UI_GFX_RENDER_TEXT_HARFBUZZ_H_ | 281 #endif // UI_GFX_RENDER_TEXT_HARFBUZZ_H_ |
OLD | NEW |