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

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: Implement test helpers. Created 5 years, 8 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 217 matching lines...) Expand 10 before | Expand all | Expand 10 after
228 const LayerImplList& RenderSurfaceLayerList() const; 228 const LayerImplList& RenderSurfaceLayerList() const;
229 const Region& UnoccludedScreenSpaceRegion() const; 229 const Region& UnoccludedScreenSpaceRegion() const;
230 230
231 // These return the size of the root scrollable area and the size of 231 // These return the size of the root scrollable area and the size of
232 // the user-visible scrolling viewport, in CSS layout coordinates. 232 // the user-visible scrolling viewport, in CSS layout coordinates.
233 gfx::Size ScrollableSize() const; 233 gfx::Size ScrollableSize() const;
234 gfx::SizeF ScrollableViewportSize() const; 234 gfx::SizeF ScrollableViewportSize() const;
235 235
236 gfx::Rect RootScrollLayerDeviceViewportBounds() const; 236 gfx::Rect RootScrollLayerDeviceViewportBounds() const;
237 237
238 LayerImpl* LayerById(int id); 238 LayerImpl* LayerById(int id) const;
239 239
240 // These should be called by LayerImpl's ctor/dtor. 240 // These should be called by LayerImpl's ctor/dtor.
241 void RegisterLayer(LayerImpl* layer); 241 void RegisterLayer(LayerImpl* layer);
242 void UnregisterLayer(LayerImpl* layer); 242 void UnregisterLayer(LayerImpl* layer);
243 243
244 size_t NumLayers(); 244 size_t NumLayers();
245 245
246 AnimationRegistrar* GetAnimationRegistrar() const; 246 AnimationRegistrar* GetAnimationRegistrar() const;
247 247
248 void PushPersistedState(LayerTreeImpl* pending_tree); 248 void PushPersistedState(LayerTreeImpl* pending_tree);
(...skipping 173 matching lines...) Expand 10 before | Expand all | Expand 10 after
422 422
423 scoped_ptr<PendingPageScaleAnimation> pending_page_scale_animation_; 423 scoped_ptr<PendingPageScaleAnimation> pending_page_scale_animation_;
424 424
425 private: 425 private:
426 DISALLOW_COPY_AND_ASSIGN(LayerTreeImpl); 426 DISALLOW_COPY_AND_ASSIGN(LayerTreeImpl);
427 }; 427 };
428 428
429 } // namespace cc 429 } // namespace cc
430 430
431 #endif // CC_TREES_LAYER_TREE_IMPL_H_ 431 #endif // CC_TREES_LAYER_TREE_IMPL_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698