OLD | NEW |
1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2012 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_H_ | 5 #ifndef UI_GFX_RENDER_TEXT_H_ |
6 #define UI_GFX_RENDER_TEXT_H_ | 6 #define UI_GFX_RENDER_TEXT_H_ |
7 | 7 |
8 #include <stddef.h> | 8 #include <stddef.h> |
9 #include <stdint.h> | 9 #include <stdint.h> |
10 | 10 |
11 #include <algorithm> | 11 #include <algorithm> |
12 #include <cstring> | 12 #include <cstring> |
13 #include <memory> | 13 #include <memory> |
14 #include <string> | 14 #include <string> |
15 #include <utility> | 15 #include <utility> |
16 #include <vector> | 16 #include <vector> |
17 | 17 |
18 #include "base/gtest_prod_util.h" | 18 #include "base/gtest_prod_util.h" |
19 #include "base/i18n/rtl.h" | 19 #include "base/i18n/rtl.h" |
20 #include "base/macros.h" | 20 #include "base/macros.h" |
21 #include "base/strings/string16.h" | 21 #include "base/strings/string16.h" |
22 #include "skia/ext/refptr.h" | |
23 #include "third_party/skia/include/core/SkColor.h" | 22 #include "third_party/skia/include/core/SkColor.h" |
24 #include "third_party/skia/include/core/SkPaint.h" | 23 #include "third_party/skia/include/core/SkPaint.h" |
25 #include "ui/gfx/break_list.h" | 24 #include "ui/gfx/break_list.h" |
26 #include "ui/gfx/font_list.h" | 25 #include "ui/gfx/font_list.h" |
27 #include "ui/gfx/font_render_params.h" | 26 #include "ui/gfx/font_render_params.h" |
28 #include "ui/gfx/geometry/point.h" | 27 #include "ui/gfx/geometry/point.h" |
29 #include "ui/gfx/geometry/rect.h" | 28 #include "ui/gfx/geometry/rect.h" |
30 #include "ui/gfx/geometry/size_f.h" | 29 #include "ui/gfx/geometry/size_f.h" |
31 #include "ui/gfx/geometry/vector2d.h" | 30 #include "ui/gfx/geometry/vector2d.h" |
32 #include "ui/gfx/range/range.h" | 31 #include "ui/gfx/range/range.h" |
(...skipping 787 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
820 // Lines computed by EnsureLayout. These should be invalidated upon | 819 // Lines computed by EnsureLayout. These should be invalidated upon |
821 // OnLayoutTextAttributeChanged and OnDisplayTextAttributeChanged calls. | 820 // OnLayoutTextAttributeChanged and OnDisplayTextAttributeChanged calls. |
822 std::vector<internal::Line> lines_; | 821 std::vector<internal::Line> lines_; |
823 | 822 |
824 DISALLOW_COPY_AND_ASSIGN(RenderText); | 823 DISALLOW_COPY_AND_ASSIGN(RenderText); |
825 }; | 824 }; |
826 | 825 |
827 } // namespace gfx | 826 } // namespace gfx |
828 | 827 |
829 #endif // UI_GFX_RENDER_TEXT_H_ | 828 #endif // UI_GFX_RENDER_TEXT_H_ |
OLD | NEW |