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 a987d46ecfcb211688f7b6e27e6aec420639d365..a4ad7e5fbca9500794a0c25ce7f83d52a38356c0 100644 |
--- a/cc/trees/layer_tree_host_impl.h |
+++ b/cc/trees/layer_tree_host_impl.h |
@@ -481,6 +481,10 @@ class CC_EXPORT LayerTreeHostImpl |
void SetTopControlsLayoutHeight(float height); |
+ void SetRequiresHighResToDraw() { requires_high_res_to_draw_ = true; } |
+ void ResetRequiresHighResToDraw() { requires_high_res_to_draw_ = false; } |
+ bool RequiresHighResToDraw() const { return requires_high_res_to_draw_; } |
+ |
protected: |
LayerTreeHostImpl( |
const LayerTreeSettings& settings, |
@@ -703,6 +707,8 @@ class CC_EXPORT LayerTreeHostImpl |
std::vector<PictureLayerImpl*> picture_layers_; |
std::vector<PictureLayerImpl::Pair> picture_layer_pairs_; |
+ bool requires_high_res_to_draw_; |
+ |
DISALLOW_COPY_AND_ASSIGN(LayerTreeHostImpl); |
}; |