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

Unified Diff: cc/trees/layer_tree.h

Issue 2317753002: cc: Abstract the LayerTreeHost. (Closed)
Patch Set: Rebase Created 4 years, 3 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/trees/latency_info_swap_promise_monitor.cc ('k') | cc/trees/layer_tree_host.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: cc/trees/layer_tree.h
diff --git a/cc/trees/layer_tree.h b/cc/trees/layer_tree.h
index e73fc5e907a83a74c92336d8ef8fd924f0da80fb..e731d4b1c9d900dddb3c53b791a39a2b4652b629 100644
--- a/cc/trees/layer_tree.h
+++ b/cc/trees/layer_tree.h
@@ -114,20 +114,20 @@ class CC_EXPORT LayerTree : public MutatorHostClient {
void SetPaintedDeviceScaleFactor(float painted_device_scale_factor);
- gfx::Vector2dF elastic_overscroll() const { return elastic_overscroll_; }
-
// Used externally by blink for setting the PropertyTrees when
// |settings_.use_layer_lists| is true. This is a SPV2 setting.
PropertyTrees* property_trees() { return &property_trees_; }
- bool in_paint_layer_contents() const { return in_paint_layer_contents_; }
+ void SetNeedsDisplayOnAllLayers();
// Methods which should only be used internally in cc ------------------
void RegisterLayer(Layer* layer);
void UnregisterLayer(Layer* layer);
Layer* LayerById(int id) const;
+
bool UpdateLayers(const LayerList& update_layer_list,
bool* content_is_suitable_for_gpu);
+ bool in_paint_layer_contents() const { return in_paint_layer_contents_; }
void AddLayerShouldPushProperties(Layer* layer);
void RemoveLayerShouldPushProperties(Layer* layer);
@@ -142,6 +142,7 @@ class CC_EXPORT LayerTree : public MutatorHostClient {
void SetPageScaleFromImplSide(float page_scale);
void SetElasticOverscrollFromImplSide(gfx::Vector2dF elastic_overscroll);
+ gfx::Vector2dF elastic_overscroll() const { return elastic_overscroll_; }
void UpdateHudLayer(bool show_hud_info);
HeadsUpDisplayLayer* hud_layer() const { return hud_layer_.get(); }
@@ -173,8 +174,6 @@ class CC_EXPORT LayerTree : public MutatorHostClient {
LayerListIterator<Layer> end() const;
LayerListReverseIterator<Layer> rbegin();
LayerListReverseIterator<Layer> rend();
-
- void SetNeedsDisplayOnAllLayers();
// ---------------------------------------------------------------------
private:
« no previous file with comments | « cc/trees/latency_info_swap_promise_monitor.cc ('k') | cc/trees/layer_tree_host.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698