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

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
« 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 <list> 8 #include <list>
9 #include <string> 9 #include <string>
10 #include <vector> 10 #include <vector>
(...skipping 63 matching lines...) Expand 10 before | Expand all | Expand 10 after
74 LayerImpl* FindActiveTreeLayerById(int id); 74 LayerImpl* FindActiveTreeLayerById(int id);
75 LayerImpl* FindPendingTreeLayerById(int id); 75 LayerImpl* FindPendingTreeLayerById(int id);
76 int MaxTextureSize() const; 76 int MaxTextureSize() const;
77 bool PinchGestureActive() const; 77 bool PinchGestureActive() const;
78 base::TimeTicks CurrentFrameTimeTicks() const; 78 base::TimeTicks CurrentFrameTimeTicks() const;
79 base::Time CurrentFrameTime() const; 79 base::Time CurrentFrameTime() const;
80 base::TimeTicks CurrentPhysicalTimeTicks() const; 80 base::TimeTicks CurrentPhysicalTimeTicks() const;
81 void SetNeedsCommit(); 81 void SetNeedsCommit();
82 gfx::Size DrawViewportSize() const; 82 gfx::Size DrawViewportSize() const;
83 void StartScrollbarAnimation(); 83 void StartScrollbarAnimation();
84 void DidAnimateScrollOffset();
84 85
85 // Tree specific methods exposed to layer-impl tree. 86 // Tree specific methods exposed to layer-impl tree.
86 // --------------------------------------------------------------------------- 87 // ---------------------------------------------------------------------------
87 void SetNeedsRedraw(); 88 void SetNeedsRedraw();
88 89
89 // TODO(nduca): These are implemented in cc files temporarily, but will become 90 // TODO(nduca): These are implemented in cc files temporarily, but will become
90 // trivial accessors in a followup patch. 91 // trivial accessors in a followup patch.
91 const LayerTreeDebugState& debug_state() const; 92 const LayerTreeDebugState& debug_state() const;
92 float device_scale_factor() const; 93 float device_scale_factor() const;
93 DebugRectHistory* debug_rect_history() const; 94 DebugRectHistory* debug_rect_history() const;
(...skipping 185 matching lines...) Expand 10 before | Expand all | Expand 10 after
279 280
280 UIResourceRequestQueue ui_resource_request_queue_; 281 UIResourceRequestQueue ui_resource_request_queue_;
281 282
282 private: 283 private:
283 DISALLOW_COPY_AND_ASSIGN(LayerTreeImpl); 284 DISALLOW_COPY_AND_ASSIGN(LayerTreeImpl);
284 }; 285 };
285 286
286 } // namespace cc 287 } // namespace cc
287 288
288 #endif // CC_TREES_LAYER_TREE_IMPL_H_ 289 #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