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

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: Fixing gn bots. Created 6 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
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 <set> 9 #include <set>
10 #include <string> 10 #include <string>
(...skipping 67 matching lines...) Expand 10 before | Expand all | Expand 10 after
78 PaintTimeCounter* paint_time_counter() const; 78 PaintTimeCounter* paint_time_counter() const;
79 MemoryHistory* memory_history() const; 79 MemoryHistory* memory_history() const;
80 gfx::Size device_viewport_size() const; 80 gfx::Size device_viewport_size() const;
81 bool IsActiveTree() const; 81 bool IsActiveTree() const;
82 bool IsPendingTree() const; 82 bool IsPendingTree() const;
83 bool IsRecycleTree() const; 83 bool IsRecycleTree() const;
84 LayerImpl* FindActiveTreeLayerById(int id); 84 LayerImpl* FindActiveTreeLayerById(int id);
85 LayerImpl* FindPendingTreeLayerById(int id); 85 LayerImpl* FindPendingTreeLayerById(int id);
86 bool PinchGestureActive() const; 86 bool PinchGestureActive() const;
87 BeginFrameArgs CurrentBeginFrameArgs() const; 87 BeginFrameArgs CurrentBeginFrameArgs() const;
88 base::TimeDelta begin_impl_frame_interval() const; 88 base::TimeDelta CurrentBeginFrameInterval() const;
89 void SetNeedsCommit(); 89 void SetNeedsCommit();
90 gfx::Rect DeviceViewport() const; 90 gfx::Rect DeviceViewport() const;
91 gfx::Size DrawViewportSize() const; 91 gfx::Size DrawViewportSize() const;
92 const gfx::Rect ViewportRectForTilePriority() const; 92 const gfx::Rect ViewportRectForTilePriority() const;
93 scoped_ptr<ScrollbarAnimationController> CreateScrollbarAnimationController( 93 scoped_ptr<ScrollbarAnimationController> CreateScrollbarAnimationController(
94 LayerImpl* scrolling_layer); 94 LayerImpl* scrolling_layer);
95 void DidAnimateScrollOffset(); 95 void DidAnimateScrollOffset();
96 void InputScrollAnimationFinished(); 96 void InputScrollAnimationFinished();
97 bool use_gpu_rasterization() const; 97 bool use_gpu_rasterization() const;
98 GpuRasterizationStatus GetGpuRasterizationStatus() const; 98 GpuRasterizationStatus GetGpuRasterizationStatus() const;
(...skipping 316 matching lines...) Expand 10 before | Expand all | Expand 10 after
415 415
416 scoped_ptr<PendingPageScaleAnimation> pending_page_scale_animation_; 416 scoped_ptr<PendingPageScaleAnimation> pending_page_scale_animation_;
417 417
418 private: 418 private:
419 DISALLOW_COPY_AND_ASSIGN(LayerTreeImpl); 419 DISALLOW_COPY_AND_ASSIGN(LayerTreeImpl);
420 }; 420 };
421 421
422 } // namespace cc 422 } // namespace cc
423 423
424 #endif // CC_TREES_LAYER_TREE_IMPL_H_ 424 #endif // CC_TREES_LAYER_TREE_IMPL_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698