diff options
author | asvitkine@chromium.org <asvitkine@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2012-07-10 17:53:03 +0000 |
---|---|---|
committer | asvitkine@chromium.org <asvitkine@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2012-07-10 17:53:03 +0000 |
commit | 058be638f92a0734969996eedc93584f7cd4dce7 (patch) | |
tree | 39b4544f2d14ef0da8d55c4d548b0f333c1830b6 /ui/gfx/canvas.h | |
parent | 0f7e46d7c8e4266d6e4e65e1a405a2bb967b9565 (diff) | |
download | chromium_src-058be638f92a0734969996eedc93584f7cd4dce7.zip chromium_src-058be638f92a0734969996eedc93584f7cd4dce7.tar.gz chromium_src-058be638f92a0734969996eedc93584f7cd4dce7.tar.bz2 |
Delete canvas_win.cc since it is no longer used.
This code hasn't been used since M19 - as of M20 canvas_skia.cc is used instead.
BUG=105550
TEST=compiles
Review URL: https://chromiumcodereview.appspot.com/10735009
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@145911 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'ui/gfx/canvas.h')
-rw-r--r-- | ui/gfx/canvas.h | 12 |
1 files changed, 0 insertions, 12 deletions
diff --git a/ui/gfx/canvas.h b/ui/gfx/canvas.h index adb72cf..00cd9f9 100644 --- a/ui/gfx/canvas.h +++ b/ui/gfx/canvas.h @@ -24,7 +24,6 @@ class Transform; namespace gfx { -class Brush; class Rect; class Font; class Point; @@ -412,17 +411,6 @@ class UI_EXPORT Canvas { float user_defined_scale_factor_x, float user_defined_scale_factor_y) const; -#if defined(OS_WIN) - // Draws text with the specified color, font and location. The text is - // aligned to the left, vertically centered, clipped to the region. If the - // text is too big, it is truncated and '...' is added to the end. - void DrawStringInt(const string16& text, - HFONT font, - SkColor color, - const gfx::Rect& text_bounds, - int flags); -#endif - scoped_ptr<skia::PlatformCanvas> owned_canvas_; SkCanvas* canvas_; |