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

Unified Diff: ui/compositor/canvas_painter.h

Issue 2877483003: Implements core logic for Pixel Canvas (Closed)
Patch Set: Resolving comments Created 3 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
Index: ui/compositor/canvas_painter.h
diff --git a/ui/compositor/canvas_painter.h b/ui/compositor/canvas_painter.h
index 1db206f36b04de853da9dbcc592fff89392f4782..da44d7bb16654f76ee9f2ec57aeb4a8906f5b61e 100644
--- a/ui/compositor/canvas_painter.h
+++ b/ui/compositor/canvas_painter.h
@@ -29,7 +29,8 @@ class COMPOSITOR_EXPORT CanvasPainter {
CanvasPainter(SkBitmap* output,
const gfx::Size& paint_size,
float raster_scale,
- SkColor clear_color);
+ SkColor clear_color,
+ bool is_pixel_canvas);
sky 2017/07/26 22:12:11 Document what is_pixel_canvas means. Also, I'm won
sky 2017/07/26 23:16:41 Dana says she prefers no default args, which I'm o
malaykeshav 2017/07/28 01:24:37 Do we need to document this here? It is only requi
sky 2017/07/28 16:02:10 It wasn't obvious to me what this means on first l
~CanvasPainter();
const PaintContext& context() const { return context_; }

Powered by Google App Engine
This is Rietveld 408576698