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

Unified Diff: ui/compositor/canvas_painter.h

Issue 2877483003: Implements core logic for Pixel Canvas (Closed)
Patch Set: Sync with ToT Created 3 years, 4 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 | « ui/aura/window_tree_host.cc ('k') | ui/compositor/canvas_painter.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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);
~CanvasPainter();
const PaintContext& context() const { return context_; }
« no previous file with comments | « ui/aura/window_tree_host.cc ('k') | ui/compositor/canvas_painter.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698