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

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

Issue 485043003: cc: Use correct message loop proxy in BlockingTaskRunner (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Nits. Created 6 years, 3 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_unittest_context.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 84 matching lines...) Expand 10 before | Expand all | Expand 10 after
95 void SetNeedsCommit(); 95 void SetNeedsCommit();
96 gfx::Rect DeviceViewport() const; 96 gfx::Rect DeviceViewport() const;
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 106
106 // Tree specific methods exposed to layer-impl tree. 107 // Tree specific methods exposed to layer-impl tree.
107 // --------------------------------------------------------------------------- 108 // ---------------------------------------------------------------------------
108 void SetNeedsRedraw(); 109 void SetNeedsRedraw();
109 110
110 // TODO(nduca): These are implemented in cc files temporarily, but will become 111 // TODO(nduca): These are implemented in cc files temporarily, but will become
111 // trivial accessors in a followup patch. 112 // trivial accessors in a followup patch.
112 const LayerTreeDebugState& debug_state() const; 113 const LayerTreeDebugState& debug_state() const;
113 float device_scale_factor() const; 114 float device_scale_factor() const;
114 DebugRectHistory* debug_rect_history() const; 115 DebugRectHistory* debug_rect_history() const;
(...skipping 237 matching lines...) Expand 10 before | Expand all | Expand 10 after
352 353
353 int render_surface_layer_list_id_; 354 int render_surface_layer_list_id_;
354 355
355 private: 356 private:
356 DISALLOW_COPY_AND_ASSIGN(LayerTreeImpl); 357 DISALLOW_COPY_AND_ASSIGN(LayerTreeImpl);
357 }; 358 };
358 359
359 } // namespace cc 360 } // namespace cc
360 361
361 #endif // CC_TREES_LAYER_TREE_IMPL_H_ 362 #endif // CC_TREES_LAYER_TREE_IMPL_H_
OLDNEW
« no previous file with comments | « cc/trees/layer_tree_host_unittest_context.cc ('k') | cc/trees/layer_tree_impl.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698