| 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 #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::SizeStringInt(const base::string16& text, | 12 void Canvas::SizeStringInt(const base::string16& text, |
| 13 const FontList& font_list, | 13 const FontList& font_list, |
| 14 int* width, | 14 float* width, |
| 15 int* 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::DrawStringRectWithShadows(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 line_height, |
| 35 int flags, | 35 int flags, |
| 36 const ShadowValues& shadows) { | 36 const ShadowValues& shadows) { |
| 37 NOTIMPLEMENTED(); | 37 NOTIMPLEMENTED(); |
| 38 } | 38 } |
| 39 | 39 |
| 40 } // namespace gfx | 40 } // namespace gfx |
| OLD | NEW |