| 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, | 21 void Canvas::DrawStringRectWithHalo(const base::string16& text, |
| 22 const FontList& font_list, | 22 const FontList& font_list, |
| 23 SkColor text_color, | 23 SkColor text_color, |
| 24 SkColor halo_color_in, | 24 SkColor halo_color_in, |
| 25 const Rect& display_rect, | 25 const Rect& display_rect, |
| 26 int flags) { | 26 int flags) { |
| 27 NOTIMPLEMENTED(); | 27 NOTIMPLEMENTED(); |
| 28 } | 28 } |
| 29 | 29 |
| 30 void Canvas::DrawStringRectWithShadows(const base::string16& text, | 30 void Canvas::DrawStringRectWithFlags(const base::string16& text, |
| 31 const FontList& font_list, | 31 const FontList& font_list, |
| 32 SkColor color, | 32 SkColor color, |
| 33 const Rect& text_bounds, | 33 const Rect& text_bounds, |
| 34 int line_height, | 34 int flags) { |
| 35 int flags, | |
| 36 const ShadowValues& shadows) { | |
| 37 NOTIMPLEMENTED(); | 35 NOTIMPLEMENTED(); |
| 38 } | 36 } |
| 39 | 37 |
| 40 void Canvas::DrawFadedString(const base::string16& text, | 38 void Canvas::DrawFadedString(const base::string16& text, |
| 41 const FontList& font_list, | 39 const FontList& font_list, |
| 42 SkColor color, | 40 SkColor color, |
| 43 const Rect& display_rect, | 41 const Rect& display_rect, |
| 44 int flags) { | 42 int flags) { |
| 45 NOTIMPLEMENTED(); | 43 NOTIMPLEMENTED(); |
| 46 } | 44 } |
| 47 | 45 |
| 48 } // namespace gfx | 46 } // namespace gfx |
| OLD | NEW |