| OLD | NEW | 
|---|
| 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  Loading... | 
| 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  Loading... | 
| 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_ | 
| OLD | NEW | 
|---|