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

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

Issue 947033002: CC Animations: Establish AnimationHost, AnimationTimeline and AnimationPlayer (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Rebase. Add comments. Created 5 years, 7 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
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 223 matching lines...) Expand 10 before | Expand all | Expand 10 after
234 const LayerImplList& RenderSurfaceLayerList() const; 234 const LayerImplList& RenderSurfaceLayerList() const;
235 const Region& UnoccludedScreenSpaceRegion() const; 235 const Region& UnoccludedScreenSpaceRegion() const;
236 236
237 // These return the size of the root scrollable area and the size of 237 // These return the size of the root scrollable area and the size of
238 // the user-visible scrolling viewport, in CSS layout coordinates. 238 // the user-visible scrolling viewport, in CSS layout coordinates.
239 gfx::Size ScrollableSize() const; 239 gfx::Size ScrollableSize() const;
240 gfx::SizeF ScrollableViewportSize() const; 240 gfx::SizeF ScrollableViewportSize() const;
241 241
242 gfx::Rect RootScrollLayerDeviceViewportBounds() const; 242 gfx::Rect RootScrollLayerDeviceViewportBounds() const;
243 243
244 LayerImpl* LayerById(int id); 244 LayerImpl* LayerById(int id) const;
245 245
246 // These should be called by LayerImpl's ctor/dtor. 246 // These should be called by LayerImpl's ctor/dtor.
247 void RegisterLayer(LayerImpl* layer); 247 void RegisterLayer(LayerImpl* layer);
248 void UnregisterLayer(LayerImpl* layer); 248 void UnregisterLayer(LayerImpl* layer);
249 249
250 size_t NumLayers(); 250 size_t NumLayers();
251 251
252 AnimationRegistrar* GetAnimationRegistrar() const; 252 AnimationRegistrar* GetAnimationRegistrar() const;
253 253
254 void PushPersistedState(LayerTreeImpl* pending_tree); 254 void PushPersistedState(LayerTreeImpl* pending_tree);
(...skipping 171 matching lines...) Expand 10 before | Expand all | Expand 10 after
426 426
427 scoped_ptr<PendingPageScaleAnimation> pending_page_scale_animation_; 427 scoped_ptr<PendingPageScaleAnimation> pending_page_scale_animation_;
428 428
429 private: 429 private:
430 DISALLOW_COPY_AND_ASSIGN(LayerTreeImpl); 430 DISALLOW_COPY_AND_ASSIGN(LayerTreeImpl);
431 }; 431 };
432 432
433 } // namespace cc 433 } // namespace cc
434 434
435 #endif // CC_TREES_LAYER_TREE_IMPL_H_ 435 #endif // CC_TREES_LAYER_TREE_IMPL_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698