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
parent 0f7e46d7
...@@ -24,7 +24,6 @@ class Transform; ...@@ -24,7 +24,6 @@ class Transform;
namespace gfx { namespace gfx {
class Brush;
class Rect; class Rect;
class Font; class Font;
class Point; class Point;
...@@ -412,17 +411,6 @@ class UI_EXPORT Canvas { ...@@ -412,17 +411,6 @@ class UI_EXPORT Canvas {
float user_defined_scale_factor_x, float user_defined_scale_factor_x,
float user_defined_scale_factor_y) const; 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_; scoped_ptr<skia::PlatformCanvas> owned_canvas_;
SkCanvas* canvas_; SkCanvas* canvas_;
......
This diff is collapsed.
...@@ -323,7 +323,6 @@ ...@@ -323,7 +323,6 @@
'gfx/canvas_paint_win.cc', 'gfx/canvas_paint_win.cc',
'gfx/canvas_skia.cc', 'gfx/canvas_skia.cc',
'gfx/canvas_skia_paint.h', 'gfx/canvas_skia_paint.h',
'gfx/canvas_win.cc',
'gfx/codec/jpeg_codec.cc', 'gfx/codec/jpeg_codec.cc',
'gfx/codec/jpeg_codec.h', 'gfx/codec/jpeg_codec.h',
'gfx/codec/png_codec.cc', 'gfx/codec/png_codec.cc',
...@@ -444,7 +443,6 @@ ...@@ -444,7 +443,6 @@
'gfx/canvas_android.cc', 'gfx/canvas_android.cc',
'gfx/canvas_linux.cc', 'gfx/canvas_linux.cc',
'gfx/canvas_mac.mm', 'gfx/canvas_mac.mm',
'gfx/canvas_win.cc',
], ],
}, { # use_canvas_skia!=1 }, { # use_canvas_skia!=1
'sources!': [ 'sources!': [
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment