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

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

Issue 1028333002: Chromium -> Mojo roll. (Closed) Base URL: https://github.com/domokit/mojo.git@master
Patch Set: Created 5 years, 9 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_unittest_scroll.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 <set> 8 #include <set>
9 #include <string> 9 #include <string>
10 #include <vector> 10 #include <vector>
(...skipping 98 matching lines...) Expand 10 before | Expand all | Expand 10 after
109 BlockingTaskRunner* BlockingMainThreadTaskRunner() const; 109 BlockingTaskRunner* BlockingMainThreadTaskRunner() const;
110 bool RequiresHighResToDraw() const; 110 bool RequiresHighResToDraw() const;
111 bool SmoothnessTakesPriority() const; 111 bool SmoothnessTakesPriority() const;
112 112
113 // Tree specific methods exposed to layer-impl tree. 113 // Tree specific methods exposed to layer-impl tree.
114 // --------------------------------------------------------------------------- 114 // ---------------------------------------------------------------------------
115 void SetNeedsRedraw(); 115 void SetNeedsRedraw();
116 116
117 // Tracing methods. 117 // Tracing methods.
118 // --------------------------------------------------------------------------- 118 // ---------------------------------------------------------------------------
119 void GetAllTilesForTracing(std::set<const Tile*>* tiles) const; 119 void GetAllTilesAndPrioritiesForTracing(
120 std::map<const Tile*, TilePriority>* tile_map) const;
120 void AsValueInto(base::trace_event::TracedValue* dict) const; 121 void AsValueInto(base::trace_event::TracedValue* dict) const;
121 122
122 // Other public methods 123 // Other public methods
123 // --------------------------------------------------------------------------- 124 // ---------------------------------------------------------------------------
124 LayerImpl* root_layer() const { return root_layer_.get(); } 125 LayerImpl* root_layer() const { return root_layer_.get(); }
125 void SetRootLayer(scoped_ptr<LayerImpl>); 126 void SetRootLayer(scoped_ptr<LayerImpl>);
126 scoped_ptr<LayerImpl> DetachLayerTree(); 127 scoped_ptr<LayerImpl> DetachLayerTree();
127 128
128 void PushPropertiesTo(LayerTreeImpl* tree_impl); 129 void PushPropertiesTo(LayerTreeImpl* tree_impl);
129 130
(...skipping 288 matching lines...) Expand 10 before | Expand all | Expand 10 after
418 419
419 scoped_ptr<PendingPageScaleAnimation> pending_page_scale_animation_; 420 scoped_ptr<PendingPageScaleAnimation> pending_page_scale_animation_;
420 421
421 private: 422 private:
422 DISALLOW_COPY_AND_ASSIGN(LayerTreeImpl); 423 DISALLOW_COPY_AND_ASSIGN(LayerTreeImpl);
423 }; 424 };
424 425
425 } // namespace cc 426 } // namespace cc
426 427
427 #endif // CC_TREES_LAYER_TREE_IMPL_H_ 428 #endif // CC_TREES_LAYER_TREE_IMPL_H_
OLDNEW
« no previous file with comments | « cc/trees/layer_tree_host_unittest_scroll.cc ('k') | cc/trees/layer_tree_impl.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698