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

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

Issue 774413002: Update from https://crrev.com/306724 (Closed) Base URL: git@github.com:domokit/mojo.git@master
Patch Set: 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
« 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 72 matching lines...) Expand 10 before | Expand all | Expand 10 after
83 base::TimeDelta begin_impl_frame_interval() const; 83 base::TimeDelta begin_impl_frame_interval() const;
84 void SetNeedsCommit(); 84 void SetNeedsCommit();
85 gfx::Rect DeviceViewport() const; 85 gfx::Rect DeviceViewport() const;
86 gfx::Size DrawViewportSize() const; 86 gfx::Size DrawViewportSize() const;
87 const gfx::Rect ViewportRectForTilePriority() const; 87 const gfx::Rect ViewportRectForTilePriority() const;
88 scoped_ptr<ScrollbarAnimationController> CreateScrollbarAnimationController( 88 scoped_ptr<ScrollbarAnimationController> CreateScrollbarAnimationController(
89 LayerImpl* scrolling_layer); 89 LayerImpl* scrolling_layer);
90 void DidAnimateScrollOffset(); 90 void DidAnimateScrollOffset();
91 void InputScrollAnimationFinished(); 91 void InputScrollAnimationFinished();
92 bool use_gpu_rasterization() const; 92 bool use_gpu_rasterization() const;
93 GpuRasterizationStatus GetGpuRasterizationStatus() const;
93 bool create_low_res_tiling() const; 94 bool create_low_res_tiling() const;
94 BlockingTaskRunner* BlockingMainThreadTaskRunner() const; 95 BlockingTaskRunner* BlockingMainThreadTaskRunner() const;
95 bool RequiresHighResToDraw() const; 96 bool RequiresHighResToDraw() const;
96 bool SmoothnessTakesPriority() const; 97 bool SmoothnessTakesPriority() const;
97 98
98 // Tree specific methods exposed to layer-impl tree. 99 // Tree specific methods exposed to layer-impl tree.
99 // --------------------------------------------------------------------------- 100 // ---------------------------------------------------------------------------
100 void SetNeedsRedraw(); 101 void SetNeedsRedraw();
101 102
102 // TODO(nduca): These are implemented in cc files temporarily, but will become 103 // TODO(nduca): These are implemented in cc files temporarily, but will become
(...skipping 289 matching lines...) Expand 10 before | Expand all | Expand 10 after
392 393
393 scoped_ptr<PendingPageScaleAnimation> pending_page_scale_animation_; 394 scoped_ptr<PendingPageScaleAnimation> pending_page_scale_animation_;
394 395
395 private: 396 private:
396 DISALLOW_COPY_AND_ASSIGN(LayerTreeImpl); 397 DISALLOW_COPY_AND_ASSIGN(LayerTreeImpl);
397 }; 398 };
398 399
399 } // namespace cc 400 } // namespace cc
400 401
401 #endif // CC_TREES_LAYER_TREE_IMPL_H_ 402 #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