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

Unified Diff: cc/trees/layer_tree_host_impl.h

Issue 868803002: cc: Change the activation/ready for draw check from layer to queue. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: review Created 5 years, 11 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/test/fake_tile_manager_client.cc ('k') | cc/trees/layer_tree_host_impl.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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 0765bb7a818e204ef1e9bbfe6a504cc9a54b8f1c..f8521c96e353adb54b369cbeed35d9b0809b2908 100644
--- a/cc/trees/layer_tree_host_impl.h
+++ b/cc/trees/layer_tree_host_impl.h
@@ -241,7 +241,6 @@ class CC_EXPORT LayerTreeHostImpl
void SetFullRootLayerDamage() override;
// TileManagerClient implementation.
- const std::vector<PictureLayerImpl*>& GetPictureLayers() const override;
void NotifyReadyToActivate() override;
void NotifyReadyToDraw() override;
void NotifyTileStateChanged(const Tile* tile) override;
@@ -251,6 +250,10 @@ class CC_EXPORT LayerTreeHostImpl
scoped_ptr<EvictionTilePriorityQueue> BuildEvictionQueue(
TreePriority tree_priority) override;
+ // Returns existing picture layers.
+ // TODO(vmpstr): Remove this, it's only used in tests.
+ const std::vector<PictureLayerImpl*>& GetPictureLayers() const;
+
// ScrollbarAnimationControllerClient implementation.
void PostDelayedScrollbarFade(const base::Closure& start_fade,
base::TimeDelta delay) override;
« no previous file with comments | « cc/test/fake_tile_manager_client.cc ('k') | cc/trees/layer_tree_host_impl.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698