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

Unified Diff: cc/layer_tree_impl.h

Issue 11826017: cc: Preserve currently scrolling layer during tree activation (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: FULL STOP Created 7 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/layer_tree_host_impl.cc ('k') | cc/layer_tree_impl.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: cc/layer_tree_impl.h
diff --git a/cc/layer_tree_impl.h b/cc/layer_tree_impl.h
index fef94c551b0c68e446f2cd08684f2e4aa4dd7104..801dde6ba6e33aac9b55f777ab9b4861d2c4a1e3 100644
--- a/cc/layer_tree_impl.h
+++ b/cc/layer_tree_impl.h
@@ -129,6 +129,8 @@ class CC_EXPORT LayerTreeImpl {
AnimationRegistrar* animationRegistrar() const;
+ void PushPersistedState(LayerTreeImpl* pendingTree);
+
protected:
LayerTreeImpl(LayerTreeHostImpl* layer_tree_host_impl);
@@ -144,7 +146,7 @@ protected:
typedef base::hash_map<int, LayerImpl*> LayerIdMap;
LayerIdMap layer_id_map_;
- // Persisted state
+ // Persisted state for non-impl-side-painting.
int scrolling_layer_id_from_previous_tree_;
// List of visible layers for the most recently prepared frame. Used for
« no previous file with comments | « cc/layer_tree_host_impl.cc ('k') | cc/layer_tree_impl.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698