| 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 #include "ui/gfx/canvas.h" | 5 #include "ui/gfx/canvas.h" |
| 6 | 6 |
| 7 #include "base/logging.h" | 7 #include "base/logging.h" |
| 8 | 8 |
| 9 namespace gfx { | 9 namespace gfx { |
| 10 | 10 |
| 11 // static | 11 // static |
| 12 void Canvas::SizeStringFloat(const base::string16& text, | 12 void Canvas::SizeStringFloat(const base::string16& text, |
| 13 const FontList& font_list, | 13 const FontList& font_list, |
| 14 float* width, | 14 float* width, |
| 15 float* height, | 15 float* height, |
| 16 int line_height, | 16 int line_height, |
| 17 int flags) { | 17 int flags) { |
| 18 NOTIMPLEMENTED(); | 18 NOTIMPLEMENTED(); |
| 19 } | 19 } |
| 20 | 20 |
| 21 void Canvas::DrawStringRectWithHalo(const base::string16& text, | |
| 22 const FontList& font_list, | |
| 23 SkColor text_color, | |
| 24 SkColor halo_color_in, | |
| 25 const Rect& display_rect, | |
| 26 int flags) { | |
| 27 NOTIMPLEMENTED(); | |
| 28 } | |
| 29 | |
| 30 void Canvas::DrawStringRectWithFlags(const base::string16& text, | 21 void Canvas::DrawStringRectWithFlags(const base::string16& text, |
| 31 const FontList& font_list, | 22 const FontList& font_list, |
| 32 SkColor color, | 23 SkColor color, |
| 33 const Rect& text_bounds, | 24 const Rect& text_bounds, |
| 34 int flags) { | 25 int flags) { |
| 35 NOTIMPLEMENTED(); | 26 NOTIMPLEMENTED(); |
| 36 } | 27 } |
| 37 | 28 |
| 38 void Canvas::DrawFadedString(const base::string16& text, | 29 void Canvas::DrawFadedString(const base::string16& text, |
| 39 const FontList& font_list, | 30 const FontList& font_list, |
| 40 SkColor color, | 31 SkColor color, |
| 41 const Rect& display_rect, | 32 const Rect& display_rect, |
| 42 int flags) { | 33 int flags) { |
| 43 NOTIMPLEMENTED(); | 34 NOTIMPLEMENTED(); |
| 44 } | 35 } |
| 45 | 36 |
| 46 } // namespace gfx | 37 } // namespace gfx |
| OLD | NEW |