diff options
author | ben@chromium.org <ben@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2010-07-23 22:23:59 +0000 |
---|---|---|
committer | ben@chromium.org <ben@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2010-07-23 22:23:59 +0000 |
commit | 0f4fe844bd7ca7f0fa512a2e786d9debb2831526 (patch) | |
tree | f803b71c036a9fb0286298a366e682f65325d58d /gfx/gfx.gyp | |
parent | 04dd9d9de68e20da43e7e2f13a550ea7c8ca6fa3 (diff) | |
download | chromium_src-0f4fe844bd7ca7f0fa512a2e786d9debb2831526.zip chromium_src-0f4fe844bd7ca7f0fa512a2e786d9debb2831526.tar.gz chromium_src-0f4fe844bd7ca7f0fa512a2e786d9debb2831526.tar.bz2 |
Add support for brushes to gfx::Canvas... right now just LinearGradientBrush.
A native brush is created by gfx::Canvas::CreateLinearGradientBrush wrapped in a gfx::Brush. When gfx::Brush is deleted the platform wrapper frees the native brush.
BUG=none
TEST=see unittest.
Review URL: http://codereview.chromium.org/3038019
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@53534 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'gfx/gfx.gyp')
-rw-r--r-- | gfx/gfx.gyp | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/gfx/gfx.gyp b/gfx/gfx.gyp index d51919b..e3eeb66 100644 --- a/gfx/gfx.gyp +++ b/gfx/gfx.gyp @@ -76,6 +76,7 @@ 'sources': [ 'blit.cc', 'blit.h', + 'brush.h', 'canvas.h', 'canvas_skia.h', 'canvas_skia.cc', |