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

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

Issue 416543002: Move logic from NativeImageSkia to GraphicsContext and SkiaUtils (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: Created 6 years, 5 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 | « Source/platform/graphics/BitmapImage.cpp ('k') | 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 d6e8985933b5592f797b812e0a6424ac4c16b3d9..e5bd420a8a66d0a973a71bf1e4294b635df4b825 100644
--- a/Source/platform/graphics/GraphicsContext.h
+++ b/Source/platform/graphics/GraphicsContext.h
@@ -237,7 +237,7 @@ public:
AnnotationModeFlags annotationMode() const { return m_annotationMode; }
void setAnnotationMode(const AnnotationModeFlags mode) { m_annotationMode = mode; }
- SkColorFilter* colorFilter();
+ SkColorFilter* colorFilter() const;
void setColorFilter(ColorFilter);
// ---------- End state management methods -----------------
@@ -411,6 +411,13 @@ public:
void beginAnnotation(const AnnotationList&);
void endAnnotation();
+ void preparePaint(
jbroman 2014/07/23 15:48:59 drive-by: please use a more descriptive name than
Rémi Piotaix 2014/07/23 17:28:22 Done.
+ SkPaint*,
+ const SkRect& srcRect,
+ const SkRect& destRect,
+ CompositeOperator,
+ blink::WebBlendMode,
+ bool isLazyDecoded = false) const;
private:
const GraphicsContextState* immutableState() const { return m_paintState; }
« no previous file with comments | « Source/platform/graphics/BitmapImage.cpp ('k') | Source/platform/graphics/GraphicsContext.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698