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

Unified Diff: cc/blimp/layer_factory.h

Issue 2456093003: Enable more layer_tree_host_unittest for LayerTreeHostRemote. (Closed)
Patch Set: Minor polish on refactored test class. Created 4 years, 1 month 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/blimp/compositor_state_deserializer.cc ('k') | cc/blimp/layer_tree_host_remote.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: cc/blimp/layer_factory.h
diff --git a/cc/blimp/layer_factory.h b/cc/blimp/layer_factory.h
index 6d5bbf146545978deba562b3fafb78aba4fce45b..0c0c88cdeb6203aca43cd464b0184f03a0b0b652 100644
--- a/cc/blimp/layer_factory.h
+++ b/cc/blimp/layer_factory.h
@@ -27,10 +27,6 @@ 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,
@@ -38,6 +34,14 @@ class LayerFactory {
int track_start,
bool is_left_side_vertical_scrollbar,
int scroll_layer_id) = 0;
+
+ // Create layers for testing.
+ virtual scoped_refptr<PictureLayer> CreateFakePictureLayer(
+ int engine_layer_id,
+ ContentLayerClient* content_layer_client) = 0;
+
+ virtual scoped_refptr<Layer> CreatePushPropertiesCountingLayer(
+ int engine_layer_id) = 0;
};
} // namespace cc
« no previous file with comments | « cc/blimp/compositor_state_deserializer.cc ('k') | cc/blimp/layer_tree_host_remote.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698