summaryrefslogtreecommitdiffstats
path: root/skia/ext/skia_utils_win.h
diff options
context:
space:
mode:
authorbrettw@google.com <brettw@google.com@0039d316-1c4b-4281-b951-d872f2087c98>2008-12-03 21:28:33 +0000
committerbrettw@google.com <brettw@google.com@0039d316-1c4b-4281-b951-d872f2087c98>2008-12-03 21:28:33 +0000
commit05b7f994c66470750905eabb12acf1643099f9b7 (patch)
treed9411a629dfb1e8dc4885374d5f788bcff47ea86 /skia/ext/skia_utils_win.h
parent9ed68c36cad4f5d70a378be96d303710053eed65 (diff)
downloadchromium_src-05b7f994c66470750905eabb12acf1643099f9b7.zip
chromium_src-05b7f994c66470750905eabb12acf1643099f9b7.tar.gz
chromium_src-05b7f994c66470750905eabb12acf1643099f9b7.tar.bz2
Split the cross-platform part of skia_utils_win into skia_utils. Use this new
function when possible. Add a little documentation. This does not change the Mac build, I'll do that in a separate pass, and the function moved is never used on the mac). Review URL: http://codereview.chromium.org/12917 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@6312 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'skia/ext/skia_utils_win.h')
-rw-r--r--skia/ext/skia_utils_win.h7
1 files changed, 0 insertions, 7 deletions
diff --git a/skia/ext/skia_utils_win.h b/skia/ext/skia_utils_win.h
index 4ad7910..fa94507 100644
--- a/skia/ext/skia_utils_win.h
+++ b/skia/ext/skia_utils_win.h
@@ -6,7 +6,6 @@
#define BASE_GFX_SKIA_UTILS_WIN_H_
#include "SkColor.h"
-#include "SkShader.h"
struct SkIRect;
struct SkPoint;
@@ -38,12 +37,6 @@ inline const RECT& SkIRectToRECT(const SkIRect& rect) {
return reinterpret_cast<const RECT&>(rect);
}
-// Creates a vertical gradient shader. The caller owns the shader.
-SkShader* CreateGradientShader(int start_point,
- int end_point,
- SkColor start_color,
- SkColor end_color);
-
// Converts COLORREFs (0BGR) to the ARGB layout Skia expects.
SkColor COLORREFToSkColor(COLORREF color);