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

Side by Side Diff: cc/trees/layer_tree_impl.h

Issue 948243003: cc: Misc animation refactoring (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Fix compile issues Created 5 years, 10 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 unified diff | Download patch
« no previous file with comments | « cc/trees/layer_tree_host_unittest_animation.cc ('k') | cc/trees/layer_tree_impl.cc » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 // Copyright 2012 The Chromium Authors. All rights reserved. 1 // Copyright 2012 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be 2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file. 3 // found in the LICENSE file.
4 4
5 #ifndef CC_TREES_LAYER_TREE_IMPL_H_ 5 #ifndef CC_TREES_LAYER_TREE_IMPL_H_
6 #define CC_TREES_LAYER_TREE_IMPL_H_ 6 #define CC_TREES_LAYER_TREE_IMPL_H_
7 7
8 #include <set> 8 #include <set>
9 #include <string> 9 #include <string>
10 #include <vector> 10 #include <vector>
(...skipping 221 matching lines...) Expand 10 before | Expand all | Expand 10 after
232 gfx::Rect RootScrollLayerDeviceViewportBounds() const; 232 gfx::Rect RootScrollLayerDeviceViewportBounds() const;
233 233
234 LayerImpl* LayerById(int id); 234 LayerImpl* LayerById(int id);
235 235
236 // These should be called by LayerImpl's ctor/dtor. 236 // These should be called by LayerImpl's ctor/dtor.
237 void RegisterLayer(LayerImpl* layer); 237 void RegisterLayer(LayerImpl* layer);
238 void UnregisterLayer(LayerImpl* layer); 238 void UnregisterLayer(LayerImpl* layer);
239 239
240 size_t NumLayers(); 240 size_t NumLayers();
241 241
242 AnimationRegistrar* animationRegistrar() const; 242 AnimationRegistrar* animation_registrar() const;
sunnyps 2015/02/24 06:22:25 I know this method is not inlined and is yet using
danakj 2015/02/24 07:21:17 I think what you want is GetAnimationRegistrar().
sunnyps 2015/02/24 20:13:37 Done.
243 243
244 void PushPersistedState(LayerTreeImpl* pending_tree); 244 void PushPersistedState(LayerTreeImpl* pending_tree);
245 245
246 void DidBecomeActive(); 246 void DidBecomeActive();
247 247
248 bool ContentsTexturesPurged() const; 248 bool ContentsTexturesPurged() const;
249 void SetContentsTexturesPurged(); 249 void SetContentsTexturesPurged();
250 void ResetContentsTexturesPurged(); 250 void ResetContentsTexturesPurged();
251 251
252 // Set on the active tree when the viewport size recently changed 252 // Set on the active tree when the viewport size recently changed
(...skipping 165 matching lines...) Expand 10 before | Expand all | Expand 10 after
418 418
419 scoped_ptr<PendingPageScaleAnimation> pending_page_scale_animation_; 419 scoped_ptr<PendingPageScaleAnimation> pending_page_scale_animation_;
420 420
421 private: 421 private:
422 DISALLOW_COPY_AND_ASSIGN(LayerTreeImpl); 422 DISALLOW_COPY_AND_ASSIGN(LayerTreeImpl);
423 }; 423 };
424 424
425 } // namespace cc 425 } // namespace cc
426 426
427 #endif // CC_TREES_LAYER_TREE_IMPL_H_ 427 #endif // CC_TREES_LAYER_TREE_IMPL_H_
OLDNEW
« no previous file with comments | « cc/trees/layer_tree_host_unittest_animation.cc ('k') | cc/trees/layer_tree_impl.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698