Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(230)

Side by Side Diff: ui/gfx/canvas_notimplemented.cc

Issue 2654853002: Remove gfx::Canvas::DrawStringRectWithHalo. (Closed)
Patch Set: fix test Created 3 years, 8 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
« no previous file with comments | « ui/gfx/canvas.h ('k') | ui/gfx/canvas_skia.cc » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
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
OLDNEW
« no previous file with comments | « ui/gfx/canvas.h ('k') | ui/gfx/canvas_skia.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698