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

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

Issue 676953003: cc: Always keep the PictureLayerImpl::twin_layer_ pointer valid. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: twins: anothercheck Created 6 years, 1 month 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_picture.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 <set> 9 #include <set>
10 #include <string> 10 #include <string>
(...skipping 59 matching lines...) Expand 10 before | Expand all | Expand 10 after
70 TileManager* tile_manager() const; 70 TileManager* tile_manager() const;
71 FrameRateCounter* frame_rate_counter() const; 71 FrameRateCounter* frame_rate_counter() const;
72 PaintTimeCounter* paint_time_counter() const; 72 PaintTimeCounter* paint_time_counter() const;
73 MemoryHistory* memory_history() const; 73 MemoryHistory* memory_history() const;
74 gfx::Size device_viewport_size() const; 74 gfx::Size device_viewport_size() const;
75 bool IsActiveTree() const; 75 bool IsActiveTree() const;
76 bool IsPendingTree() const; 76 bool IsPendingTree() const;
77 bool IsRecycleTree() const; 77 bool IsRecycleTree() const;
78 LayerImpl* FindActiveTreeLayerById(int id); 78 LayerImpl* FindActiveTreeLayerById(int id);
79 LayerImpl* FindPendingTreeLayerById(int id); 79 LayerImpl* FindPendingTreeLayerById(int id);
80 LayerImpl* FindRecycleTreeLayerById(int id);
81 bool PinchGestureActive() const; 80 bool PinchGestureActive() const;
82 BeginFrameArgs CurrentBeginFrameArgs() const; 81 BeginFrameArgs CurrentBeginFrameArgs() const;
83 base::TimeDelta begin_impl_frame_interval() const; 82 base::TimeDelta begin_impl_frame_interval() const;
84 void SetNeedsCommit(); 83 void SetNeedsCommit();
85 gfx::Rect DeviceViewport() const; 84 gfx::Rect DeviceViewport() const;
86 gfx::Size DrawViewportSize() const; 85 gfx::Size DrawViewportSize() const;
87 const gfx::Rect ViewportRectForTilePriority() const; 86 const gfx::Rect ViewportRectForTilePriority() const;
88 scoped_ptr<ScrollbarAnimationController> CreateScrollbarAnimationController( 87 scoped_ptr<ScrollbarAnimationController> CreateScrollbarAnimationController(
89 LayerImpl* scrolling_layer); 88 LayerImpl* scrolling_layer);
90 void DidAnimateScrollOffset(); 89 void DidAnimateScrollOffset();
(...skipping 299 matching lines...) Expand 10 before | Expand all | Expand 10 after
390 389
391 scoped_ptr<PageScaleAnimation> page_scale_animation_; 390 scoped_ptr<PageScaleAnimation> page_scale_animation_;
392 391
393 private: 392 private:
394 DISALLOW_COPY_AND_ASSIGN(LayerTreeImpl); 393 DISALLOW_COPY_AND_ASSIGN(LayerTreeImpl);
395 }; 394 };
396 395
397 } // namespace cc 396 } // namespace cc
398 397
399 #endif // CC_TREES_LAYER_TREE_IMPL_H_ 398 #endif // CC_TREES_LAYER_TREE_IMPL_H_
OLDNEW
« no previous file with comments | « cc/trees/layer_tree_host_unittest_picture.cc ('k') | cc/trees/layer_tree_impl.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698