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

Unified Diff: ui/compositor/paint_recorder.h

Issue 2849953004: SV Test
Patch Set: Created 3 years, 8 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/compositor/paint_context.cc ('k') | ui/compositor/paint_recorder.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ui/compositor/paint_recorder.h
diff --git a/ui/compositor/paint_recorder.h b/ui/compositor/paint_recorder.h
index 12a5e9f2c057efe3d125afddeed8adba739dc92c..10c9f1c3478e560fe846e7661b04be0572ebde5e 100644
--- a/ui/compositor/paint_recorder.h
+++ b/ui/compositor/paint_recorder.h
@@ -30,7 +30,16 @@ class COMPOSITOR_EXPORT PaintRecorder {
// PaintRecorder is in use. Canvas is bounded by |recording_size|.
PaintRecorder(const PaintContext& context,
const gfx::Size& recording_size,
- PaintCache* cache);
+ PaintCache* cache,
+ bool is_scaled = false);
+
+ PaintRecorder(const PaintContext& context,
+ const gfx::Size& recording_size,
+ PaintCache* cache,
+ float canvas_scale_x,
+ float canvas_scale_y,
+ bool is_scaled = false);
+
PaintRecorder(const PaintContext& context, const gfx::Size& recording_size);
~PaintRecorder();
« no previous file with comments | « ui/compositor/paint_context.cc ('k') | ui/compositor/paint_recorder.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698