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

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

Issue 394113002: Tiling priorities in Android Webview. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: better fix Created 6 years, 4 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
« no previous file with comments | « cc/trees/layer_tree_host_impl_unittest.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 <string> 9 #include <string>
10 #include <vector> 10 #include <vector>
(...skipping 69 matching lines...) Expand 10 before | Expand all | Expand 10 after
80 bool IsPendingTree() const; 80 bool IsPendingTree() const;
81 bool IsRecycleTree() const; 81 bool IsRecycleTree() const;
82 LayerImpl* FindActiveTreeLayerById(int id); 82 LayerImpl* FindActiveTreeLayerById(int id);
83 LayerImpl* FindPendingTreeLayerById(int id); 83 LayerImpl* FindPendingTreeLayerById(int id);
84 LayerImpl* FindRecycleTreeLayerById(int id); 84 LayerImpl* FindRecycleTreeLayerById(int id);
85 int MaxTextureSize() const; 85 int MaxTextureSize() const;
86 bool PinchGestureActive() const; 86 bool PinchGestureActive() const;
87 base::TimeTicks CurrentFrameTimeTicks() const; 87 base::TimeTicks CurrentFrameTimeTicks() const;
88 base::TimeDelta begin_impl_frame_interval() const; 88 base::TimeDelta begin_impl_frame_interval() const;
89 void SetNeedsCommit(); 89 void SetNeedsCommit();
90 gfx::Rect DeviceViewport() const;
90 gfx::Size DrawViewportSize() const; 91 gfx::Size DrawViewportSize() const;
92 const gfx::Rect ViewportRectForTilePriority() const;
91 scoped_ptr<ScrollbarAnimationController> CreateScrollbarAnimationController( 93 scoped_ptr<ScrollbarAnimationController> CreateScrollbarAnimationController(
92 LayerImpl* scrolling_layer); 94 LayerImpl* scrolling_layer);
93 void DidAnimateScrollOffset(); 95 void DidAnimateScrollOffset();
94 void InputScrollAnimationFinished(); 96 void InputScrollAnimationFinished();
95 bool use_gpu_rasterization() const; 97 bool use_gpu_rasterization() const;
96 bool create_low_res_tiling() const; 98 bool create_low_res_tiling() const;
97 99
98 // Tree specific methods exposed to layer-impl tree. 100 // Tree specific methods exposed to layer-impl tree.
99 // --------------------------------------------------------------------------- 101 // ---------------------------------------------------------------------------
100 void SetNeedsRedraw(); 102 void SetNeedsRedraw();
(...skipping 243 matching lines...) Expand 10 before | Expand all | Expand 10 after
344 346
345 int render_surface_layer_list_id_; 347 int render_surface_layer_list_id_;
346 348
347 private: 349 private:
348 DISALLOW_COPY_AND_ASSIGN(LayerTreeImpl); 350 DISALLOW_COPY_AND_ASSIGN(LayerTreeImpl);
349 }; 351 };
350 352
351 } // namespace cc 353 } // namespace cc
352 354
353 #endif // CC_TREES_LAYER_TREE_IMPL_H_ 355 #endif // CC_TREES_LAYER_TREE_IMPL_H_
OLDNEW
« no previous file with comments | « cc/trees/layer_tree_host_impl_unittest.cc ('k') | cc/trees/layer_tree_impl.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698