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

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

Issue 367833003: cc: Start using raster/eviction iterators. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: rebase Created 6 years, 2 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 | Annotate | Revision Log
« no previous file with comments | « cc/trees/layer_tree_host_impl.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 86 matching lines...) Expand 10 before | Expand all | Expand 10 after
97 gfx::Size DrawViewportSize() const; 97 gfx::Size DrawViewportSize() const;
98 const gfx::Rect ViewportRectForTilePriority() const; 98 const gfx::Rect ViewportRectForTilePriority() const;
99 scoped_ptr<ScrollbarAnimationController> CreateScrollbarAnimationController( 99 scoped_ptr<ScrollbarAnimationController> CreateScrollbarAnimationController(
100 LayerImpl* scrolling_layer); 100 LayerImpl* scrolling_layer);
101 void DidAnimateScrollOffset(); 101 void DidAnimateScrollOffset();
102 void InputScrollAnimationFinished(); 102 void InputScrollAnimationFinished();
103 bool use_gpu_rasterization() const; 103 bool use_gpu_rasterization() const;
104 bool create_low_res_tiling() const; 104 bool create_low_res_tiling() const;
105 BlockingTaskRunner* BlockingMainThreadTaskRunner() const; 105 BlockingTaskRunner* BlockingMainThreadTaskRunner() const;
106 bool RequiresHighResToDraw() const; 106 bool RequiresHighResToDraw() const;
107 bool SmoothnessTakesPriority() const;
107 108
108 // Tree specific methods exposed to layer-impl tree. 109 // Tree specific methods exposed to layer-impl tree.
109 // --------------------------------------------------------------------------- 110 // ---------------------------------------------------------------------------
110 void SetNeedsRedraw(); 111 void SetNeedsRedraw();
111 112
112 // TODO(nduca): These are implemented in cc files temporarily, but will become 113 // TODO(nduca): These are implemented in cc files temporarily, but will become
113 // trivial accessors in a followup patch. 114 // trivial accessors in a followup patch.
114 const LayerTreeDebugState& debug_state() const; 115 const LayerTreeDebugState& debug_state() const;
115 float device_scale_factor() const; 116 float device_scale_factor() const;
116 DebugRectHistory* debug_rect_history() const; 117 DebugRectHistory* debug_rect_history() const;
(...skipping 281 matching lines...) Expand 10 before | Expand all | Expand 10 after
398 399
399 scoped_ptr<PageScaleAnimation> page_scale_animation_; 400 scoped_ptr<PageScaleAnimation> page_scale_animation_;
400 401
401 private: 402 private:
402 DISALLOW_COPY_AND_ASSIGN(LayerTreeImpl); 403 DISALLOW_COPY_AND_ASSIGN(LayerTreeImpl);
403 }; 404 };
404 405
405 } // namespace cc 406 } // namespace cc
406 407
407 #endif // CC_TREES_LAYER_TREE_IMPL_H_ 408 #endif // CC_TREES_LAYER_TREE_IMPL_H_
OLDNEW
« no previous file with comments | « cc/trees/layer_tree_host_impl.cc ('k') | cc/trees/layer_tree_impl.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698