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

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

Issue 22835002: Supports gfx::FontList in gfx::Canvas and ui::ElideText family. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Adds canvas_ios.mm and removes canvas_android.cc. Created 7 years, 4 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 | Annotate | Revision Log
OLDNEW
(Empty)
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
3 // found in the LICENSE file.
4
5 #include "ui/gfx/canvas.h"
6
7 #include "base/logging.h"
8 #include "ui/gfx/font.h"
9
10 namespace gfx {
11
12 // static
13 void Canvas::SizeStringInt(const base::string16& text,
14 const gfx::Font& font,
15 int* width,
16 int* height,
17 int line_height,
18 int flags) {
19 NOTIMPLEMENTED();
20 }
21
22 void Canvas::DrawStringWithShadows(const base::string16& text,
23 const gfx::Font& font,
24 SkColor color,
25 const gfx::Rect& text_bounds,
26 int line_height,
27 int flags,
28 const ShadowValues& shadows) {
29 NOTIMPLEMENTED();
30 }
31
32 } // namespace gfx
OLDNEW
« ui/gfx/canvas.cc ('K') | « ui/gfx/canvas.cc ('k') | ui/gfx/canvas_ios.mm » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698