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

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

Issue 787763006: cc: Adding BeginFrameTracker object and removing Now() from LTHI. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Rebase onto master. Created 5 years, 6 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_context.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 78 matching lines...) Expand 10 before | Expand all | Expand 10 after
89 float device_scale_factor() const; 89 float device_scale_factor() const;
90 DebugRectHistory* debug_rect_history() const; 90 DebugRectHistory* debug_rect_history() const;
91 bool IsActiveTree() const; 91 bool IsActiveTree() const;
92 bool IsPendingTree() const; 92 bool IsPendingTree() const;
93 bool IsRecycleTree() const; 93 bool IsRecycleTree() const;
94 bool IsSyncTree() const; 94 bool IsSyncTree() const;
95 LayerImpl* FindActiveTreeLayerById(int id); 95 LayerImpl* FindActiveTreeLayerById(int id);
96 LayerImpl* FindPendingTreeLayerById(int id); 96 LayerImpl* FindPendingTreeLayerById(int id);
97 bool PinchGestureActive() const; 97 bool PinchGestureActive() const;
98 BeginFrameArgs CurrentBeginFrameArgs() const; 98 BeginFrameArgs CurrentBeginFrameArgs() const;
99 base::TimeDelta begin_impl_frame_interval() const; 99 base::TimeDelta CurrentBeginFrameInterval() const;
100 void SetNeedsCommit(); 100 void SetNeedsCommit();
101 gfx::Rect DeviceViewport() const; 101 gfx::Rect DeviceViewport() const;
102 gfx::Size DrawViewportSize() const; 102 gfx::Size DrawViewportSize() const;
103 const gfx::Rect ViewportRectForTilePriority() const; 103 const gfx::Rect ViewportRectForTilePriority() const;
104 scoped_ptr<ScrollbarAnimationController> CreateScrollbarAnimationController( 104 scoped_ptr<ScrollbarAnimationController> CreateScrollbarAnimationController(
105 LayerImpl* scrolling_layer); 105 LayerImpl* scrolling_layer);
106 void DidAnimateScrollOffset(); 106 void DidAnimateScrollOffset();
107 void InputScrollAnimationFinished(); 107 void InputScrollAnimationFinished();
108 bool use_gpu_rasterization() const; 108 bool use_gpu_rasterization() const;
109 GpuRasterizationStatus GetGpuRasterizationStatus() const; 109 GpuRasterizationStatus GetGpuRasterizationStatus() const;
(...skipping 317 matching lines...) Expand 10 before | Expand all | Expand 10 after
427 427
428 scoped_ptr<PendingPageScaleAnimation> pending_page_scale_animation_; 428 scoped_ptr<PendingPageScaleAnimation> pending_page_scale_animation_;
429 429
430 private: 430 private:
431 DISALLOW_COPY_AND_ASSIGN(LayerTreeImpl); 431 DISALLOW_COPY_AND_ASSIGN(LayerTreeImpl);
432 }; 432 };
433 433
434 } // namespace cc 434 } // namespace cc
435 435
436 #endif // CC_TREES_LAYER_TREE_IMPL_H_ 436 #endif // CC_TREES_LAYER_TREE_IMPL_H_
OLDNEW
« no previous file with comments | « cc/trees/layer_tree_host_unittest_context.cc ('k') | cc/trees/layer_tree_impl.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698