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 <algorithm> | 8 #include <algorithm> |
9 #include <cstring> | 9 #include <cstring> |
10 #include <string> | 10 #include <string> |
11 #include <utility> | 11 #include <utility> |
12 #include <vector> | 12 #include <vector> |
13 | 13 |
14 #include "base/gtest_prod_util.h" | 14 #include "base/gtest_prod_util.h" |
15 #include "base/i18n/rtl.h" | 15 #include "base/i18n/rtl.h" |
16 #include "base/memory/scoped_ptr.h" | 16 #include "base/memory/scoped_ptr.h" |
17 #include "base/strings/string16.h" | 17 #include "base/strings/string16.h" |
18 #include "skia/ext/refptr.h" | 18 #include "skia/ext/refptr.h" |
19 #include "third_party/skia/include/core/SkColor.h" | 19 #include "third_party/skia/include/core/SkColor.h" |
20 #include "third_party/skia/include/core/SkPaint.h" | 20 #include "third_party/skia/include/core/SkPaint.h" |
21 #include "ui/gfx/break_list.h" | 21 #include "ui/gfx/break_list.h" |
22 #include "ui/gfx/font_list.h" | 22 #include "ui/gfx/font_list.h" |
23 #include "ui/gfx/font_render_params.h" | 23 #include "ui/gfx/font_render_params.h" |
24 #include "ui/gfx/point.h" | 24 #include "ui/gfx/geometry/point.h" |
25 #include "ui/gfx/range/range.h" | 25 #include "ui/gfx/range/range.h" |
26 #include "ui/gfx/rect.h" | 26 #include "ui/gfx/rect.h" |
27 #include "ui/gfx/selection_model.h" | 27 #include "ui/gfx/selection_model.h" |
28 #include "ui/gfx/shadow_value.h" | 28 #include "ui/gfx/shadow_value.h" |
29 #include "ui/gfx/size_f.h" | 29 #include "ui/gfx/size_f.h" |
30 #include "ui/gfx/text_constants.h" | 30 #include "ui/gfx/text_constants.h" |
31 #include "ui/gfx/vector2d.h" | 31 #include "ui/gfx/vector2d.h" |
32 | 32 |
33 class SkCanvas; | 33 class SkCanvas; |
34 class SkDrawLooper; | 34 class SkDrawLooper; |
(...skipping 695 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
730 // Lines computed by EnsureLayout. These should be invalidated with | 730 // Lines computed by EnsureLayout. These should be invalidated with |
731 // ResetLayout and on |display_rect_| changes. | 731 // ResetLayout and on |display_rect_| changes. |
732 std::vector<internal::Line> lines_; | 732 std::vector<internal::Line> lines_; |
733 | 733 |
734 DISALLOW_COPY_AND_ASSIGN(RenderText); | 734 DISALLOW_COPY_AND_ASSIGN(RenderText); |
735 }; | 735 }; |
736 | 736 |
737 } // namespace gfx | 737 } // namespace gfx |
738 | 738 |
739 #endif // UI_GFX_RENDER_TEXT_H_ | 739 #endif // UI_GFX_RENDER_TEXT_H_ |
OLD | NEW |