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

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

Issue 95763002: cc: Support animating scroll offset (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 7 years 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 | Annotate | Revision Log
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 <list> 8 #include <list>
9 #include <string> 9 #include <string>
10 #include <vector> 10 #include <vector>
(...skipping 62 matching lines...) Expand 10 before | Expand all | Expand 10 after
73 LayerImpl* FindActiveTreeLayerById(int id); 73 LayerImpl* FindActiveTreeLayerById(int id);
74 LayerImpl* FindPendingTreeLayerById(int id); 74 LayerImpl* FindPendingTreeLayerById(int id);
75 int MaxTextureSize() const; 75 int MaxTextureSize() const;
76 bool PinchGestureActive() const; 76 bool PinchGestureActive() const;
77 base::TimeTicks CurrentFrameTimeTicks() const; 77 base::TimeTicks CurrentFrameTimeTicks() const;
78 base::Time CurrentFrameTime() const; 78 base::Time CurrentFrameTime() const;
79 base::TimeTicks CurrentPhysicalTimeTicks() const; 79 base::TimeTicks CurrentPhysicalTimeTicks() const;
80 void SetNeedsCommit(); 80 void SetNeedsCommit();
81 gfx::Size DrawViewportSize() const; 81 gfx::Size DrawViewportSize() const;
82 void StartScrollbarAnimation(); 82 void StartScrollbarAnimation();
83 void DidAnimateScrollOffset();
83 84
84 // Tree specific methods exposed to layer-impl tree. 85 // Tree specific methods exposed to layer-impl tree.
85 // --------------------------------------------------------------------------- 86 // ---------------------------------------------------------------------------
86 void SetNeedsRedraw(); 87 void SetNeedsRedraw();
87 88
88 // TODO(nduca): These are implemented in cc files temporarily, but will become 89 // TODO(nduca): These are implemented in cc files temporarily, but will become
89 // trivial accessors in a followup patch. 90 // trivial accessors in a followup patch.
90 const LayerTreeDebugState& debug_state() const; 91 const LayerTreeDebugState& debug_state() const;
91 float device_scale_factor() const; 92 float device_scale_factor() const;
92 DebugRectHistory* debug_rect_history() const; 93 DebugRectHistory* debug_rect_history() const;
(...skipping 180 matching lines...) Expand 10 before | Expand all | Expand 10 after
273 274
274 UIResourceRequestQueue ui_resource_request_queue_; 275 UIResourceRequestQueue ui_resource_request_queue_;
275 276
276 private: 277 private:
277 DISALLOW_COPY_AND_ASSIGN(LayerTreeImpl); 278 DISALLOW_COPY_AND_ASSIGN(LayerTreeImpl);
278 }; 279 };
279 280
280 } // namespace cc 281 } // namespace cc
281 282
282 #endif // CC_TREES_LAYER_TREE_IMPL_H_ 283 #endif // CC_TREES_LAYER_TREE_IMPL_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698