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/string16.h" | 16 #include "base/string16.h" |
17 #include "third_party/skia/include/core/SkColor.h" | 17 #include "third_party/skia/include/core/SkColor.h" |
18 #include "third_party/skia/include/core/SkPaint.h" | 18 #include "third_party/skia/include/core/SkPaint.h" |
| 19 #include "third_party/skia/include/core/SkRect.h" |
19 #include "ui/base/range/range.h" | 20 #include "ui/base/range/range.h" |
20 #include "ui/gfx/font_list.h" | 21 #include "ui/gfx/font_list.h" |
21 #include "ui/gfx/point.h" | 22 #include "ui/gfx/point.h" |
22 #include "ui/gfx/rect.h" | 23 #include "ui/gfx/rect.h" |
23 #include "ui/gfx/selection_model.h" | 24 #include "ui/gfx/selection_model.h" |
24 #include "ui/gfx/shadow_value.h" | 25 #include "ui/gfx/shadow_value.h" |
25 #include "ui/gfx/text_constants.h" | 26 #include "ui/gfx/text_constants.h" |
26 | 27 |
27 class SkCanvas; | 28 class SkCanvas; |
28 class SkDrawLooper; | 29 class SkDrawLooper; |
(...skipping 471 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
500 | 501 |
501 // Text shadows to be drawn. | 502 // Text shadows to be drawn. |
502 ShadowValues text_shadows_; | 503 ShadowValues text_shadows_; |
503 | 504 |
504 DISALLOW_COPY_AND_ASSIGN(RenderText); | 505 DISALLOW_COPY_AND_ASSIGN(RenderText); |
505 }; | 506 }; |
506 | 507 |
507 } // namespace gfx | 508 } // namespace gfx |
508 | 509 |
509 #endif // UI_GFX_RENDER_TEXT_H_ | 510 #endif // UI_GFX_RENDER_TEXT_H_ |
OLD | NEW |