Index: cc/trees/layer_tree_host_impl.h |
diff --git a/cc/trees/layer_tree_host_impl.h b/cc/trees/layer_tree_host_impl.h |
index 61bbe576a3456372b9698a3076061ab02188b096..b4cde0f41d0869eab03ffecb8ba38e69df830daf 100644 |
--- a/cc/trees/layer_tree_host_impl.h |
+++ b/cc/trees/layer_tree_host_impl.h |
@@ -483,6 +483,13 @@ class CC_EXPORT LayerTreeHostImpl |
void ResetRequiresHighResToDraw() { requires_high_res_to_draw_ = false; } |
bool RequiresHighResToDraw() const { return requires_high_res_to_draw_; } |
+ bool CanUseZeroCopyRasterizer() const; |
+ bool CanUseOneCopyRasterizer() const; |
+ virtual void CreateResourceAndRasterWorkerPool( |
+ scoped_ptr<RasterWorkerPool>* raster_worker_pool, |
+ scoped_ptr<ResourcePool>* resource_pool, |
+ scoped_ptr<ResourcePool>* staging_resource_pool); |
+ |
protected: |
LayerTreeHostImpl( |
const LayerTreeSettings& settings, |
@@ -497,8 +504,6 @@ class CC_EXPORT LayerTreeHostImpl |
// Virtual for testing. |
virtual void AnimateLayers(base::TimeTicks monotonic_time); |
- |
- // Virtual for testing. |
virtual base::TimeDelta LowFrequencyAnimationInterval() const; |
const AnimationRegistrar::AnimationControllerMap& |
@@ -519,8 +524,6 @@ class CC_EXPORT LayerTreeHostImpl |
void EnforceZeroBudget(bool zero_budget); |
bool UsePendingTreeForSync() const; |
- bool UseZeroCopyRasterizer() const; |
- bool UseOneCopyRasterizer() const; |
// Scroll by preferring to move the outer viewport first, only moving the |
// inner if the outer is at its scroll extents. |