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

Unified Diff: cc/blimp/layer_factory.h

Issue 2451913002: Add serialization/deserialization for FakePictureLayer for testing. (Closed)
Patch Set: Some cleaning on FakePictureLayer. Created 4 years, 2 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: cc/blimp/layer_factory.h
diff --git a/cc/blimp/layer_factory.h b/cc/blimp/layer_factory.h
index 733cc0c1533d0d78a31453b58551ccb586ce8bc9..6d5bbf146545978deba562b3fafb78aba4fce45b 100644
--- a/cc/blimp/layer_factory.h
+++ b/cc/blimp/layer_factory.h
@@ -27,6 +27,10 @@ class LayerFactory {
int engine_layer_id,
ContentLayerClient* content_layer_client) = 0;
+ virtual scoped_refptr<PictureLayer> CreateFakePictureLayer(
+ int engine_layer_id,
+ ContentLayerClient* content_layer_client) = 0;
+
virtual scoped_refptr<SolidColorScrollbarLayer>
CreateSolidColorScrollbarLayer(int engine_layer_id,
ScrollbarOrientation orientation,

Powered by Google App Engine
This is Rietveld 408576698