| 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 "third_party/skia/include/core/SkRect.h" | 21 #include "third_party/skia/include/core/SkRect.h" |
| 22 #include "ui/gfx/break_list.h" | 22 #include "ui/gfx/break_list.h" |
| 23 #include "ui/gfx/font_list.h" | 23 #include "ui/gfx/font_list.h" |
| 24 #include "ui/gfx/font_render_params.h" | 24 #include "ui/gfx/font_render_params.h" |
| 25 #include "ui/gfx/point.h" | 25 #include "ui/gfx/geometry/point.h" |
| 26 #include "ui/gfx/geometry/vector2d.h" |
| 26 #include "ui/gfx/range/range.h" | 27 #include "ui/gfx/range/range.h" |
| 27 #include "ui/gfx/rect.h" | 28 #include "ui/gfx/rect.h" |
| 28 #include "ui/gfx/selection_model.h" | 29 #include "ui/gfx/selection_model.h" |
| 29 #include "ui/gfx/shadow_value.h" | 30 #include "ui/gfx/shadow_value.h" |
| 30 #include "ui/gfx/size_f.h" | 31 #include "ui/gfx/size_f.h" |
| 31 #include "ui/gfx/text_constants.h" | 32 #include "ui/gfx/text_constants.h" |
| 32 #include "ui/gfx/vector2d.h" | |
| 33 | 33 |
| 34 class SkCanvas; | 34 class SkCanvas; |
| 35 class SkDrawLooper; | 35 class SkDrawLooper; |
| 36 struct SkPoint; | 36 struct SkPoint; |
| 37 class SkShader; | 37 class SkShader; |
| 38 class SkTypeface; | 38 class SkTypeface; |
| 39 | 39 |
| 40 namespace gfx { | 40 namespace gfx { |
| 41 | 41 |
| 42 class Canvas; | 42 class Canvas; |
| (...skipping 661 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 704 // Lines computed by EnsureLayout. These should be invalidated with | 704 // Lines computed by EnsureLayout. These should be invalidated with |
| 705 // ResetLayout and on |display_rect_| changes. | 705 // ResetLayout and on |display_rect_| changes. |
| 706 std::vector<internal::Line> lines_; | 706 std::vector<internal::Line> lines_; |
| 707 | 707 |
| 708 DISALLOW_COPY_AND_ASSIGN(RenderText); | 708 DISALLOW_COPY_AND_ASSIGN(RenderText); |
| 709 }; | 709 }; |
| 710 | 710 |
| 711 } // namespace gfx | 711 } // namespace gfx |
| 712 | 712 |
| 713 #endif // UI_GFX_RENDER_TEXT_H_ | 713 #endif // UI_GFX_RENDER_TEXT_H_ |
| OLD | NEW |