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

Unified Diff: cc/test/fake_picture_pile_impl.h

Issue 14230007: cc: Do GatherPixelRefs from skia at record time (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: compile fix Created 7 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 | « cc/test/fake_content_layer_client.cc ('k') | cc/test/fake_picture_pile_impl.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: cc/test/fake_picture_pile_impl.h
diff --git a/cc/test/fake_picture_pile_impl.h b/cc/test/fake_picture_pile_impl.h
index d6479d6412b38dd0abc51670358899f68c255c56..057376d6e51695ca2bdac32fdb2917218160c3e8 100644
--- a/cc/test/fake_picture_pile_impl.h
+++ b/cc/test/fake_picture_pile_impl.h
@@ -27,10 +27,19 @@ class FakePicturePileImpl : public PicturePileImpl {
void RemoveRecordingAt(int x, int y);
+ void AddPictureToRecording(
+ int x,
+ int y,
+ scoped_refptr<Picture> picture);
+
void add_draw_rect(gfx::Rect rect) {
client_.add_draw_rect(rect, default_paint_);
}
+ void add_draw_bitmap(const SkBitmap& bitmap, gfx::Point point) {
+ client_.add_draw_bitmap(bitmap, point);
+ }
+
void add_draw_rect_with_paint(gfx::Rect rect, const SkPaint& paint) {
client_.add_draw_rect(rect, paint);
}
« no previous file with comments | « cc/test/fake_content_layer_client.cc ('k') | cc/test/fake_picture_pile_impl.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698