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

Unified Diff: Source/platform/graphics/GraphicsContext.h

Issue 1209183003: Remove some dead code from GraphicsContext. (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Created 5 years, 6 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 side-by-side diff with in-line comments
Download patch
« no previous file with comments | « no previous file | Source/platform/graphics/GraphicsContext.cpp » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: Source/platform/graphics/GraphicsContext.h
diff --git a/Source/platform/graphics/GraphicsContext.h b/Source/platform/graphics/GraphicsContext.h
index 0dde35ac11c5de842c9afb17bcf34026feccde3d..2225a6129c15b6393aebf4ef4845bb9eb316a989 100644
--- a/Source/platform/graphics/GraphicsContext.h
+++ b/Source/platform/graphics/GraphicsContext.h
@@ -129,8 +129,6 @@ public:
void setFillGradient(PassRefPtr<Gradient>, float alpha = 1);
- SkDrawLooper* drawLooper() const { return immutableState()->drawLooper(); }
-
SkMatrix getTotalMatrix() const;
void setShouldAntialias(bool antialias) { mutableState()->setShouldAntialias(antialias); }
@@ -185,7 +183,6 @@ public:
void drawPicture(const SkPicture*);
void compositePicture(SkPicture*, const FloatRect& dest, const FloatRect& src, SkXfermode::Mode);
- void drawImage(Image*, const IntPoint&, SkXfermode::Mode = SkXfermode::kSrcOver_Mode, RespectImageOrientationEnum = DoNotRespectImageOrientation);
void drawImage(Image*, const IntRect&, SkXfermode::Mode = SkXfermode::kSrcOver_Mode, RespectImageOrientationEnum = DoNotRespectImageOrientation);
void drawImage(Image*, const FloatRect& destRect, const FloatRect& srcRect, SkXfermode::Mode = SkXfermode::kSrcOver_Mode, RespectImageOrientationEnum = DoNotRespectImageOrientation);
@@ -197,7 +194,6 @@ public:
// These methods write to the canvas.
// Also drawLine(const IntPoint& point1, const IntPoint& point2) and fillRoundedRect
- void writePixels(const SkImageInfo&, const void* pixels, size_t rowBytes, int x, int y);
void drawOval(const SkRect&, const SkPaint&);
void drawPath(const SkPath&, const SkPaint&);
void drawRect(const SkRect&, const SkPaint&);
@@ -280,7 +276,6 @@ public:
// URL drawing
void setURLForRect(const KURL&, const IntRect&);
void setURLFragmentForRect(const String& name, const IntRect&);
- void addURLTargetAtPoint(const String& name, const IntPoint&);
static void adjustLineToPixelBoundaries(FloatPoint& p1, FloatPoint& p2, float strokeWidth, StrokeStyle);
« no previous file with comments | « no previous file | Source/platform/graphics/GraphicsContext.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698