Chromium Code Reviews (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out

Unified Diff: Source/core/platform/graphics/Image.h

Issue 25627006: Generalize ImageForContainer (Closed) Base URL:
Patch Set: Created 7 years, 2 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
Index: Source/core/platform/graphics/Image.h
diff --git a/Source/core/platform/graphics/Image.h b/Source/core/platform/graphics/Image.h
index 5bcd862f01946488fd95fb71759fd5e2a55d8985..3376ff3c7818fe9a05137d23f4a2f38027fd6247 100644
--- a/Source/core/platform/graphics/Image.h
+++ b/Source/core/platform/graphics/Image.h
@@ -113,6 +113,9 @@ public:
virtual void drawPattern(GraphicsContext*, const FloatRect&,
const FloatSize&, const FloatPoint& phase, CompositeOperator,
const FloatRect&, BlendMode = BlendModeNormal);
+ virtual void drawForContainer(GraphicsContext*, const FloatSize, float, const FloatRect&, const FloatRect&, CompositeOperator, BlendMode);
+ virtual void drawPatternForContainer(GraphicsContext*, const FloatSize, float, const FloatRect&, const FloatSize&, const FloatPoint&,
+ CompositeOperator, const FloatRect&, BlendMode);
virtual bool notSolidColor() { return true; }

Powered by Google App Engine
This is Rietveld 408576698