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 <string> | 9 #include <string> |
10 #include <vector> | 10 #include <vector> |
(...skipping 183 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
194 // Useful for debug assertions, probably shouldn't be used for anything else. | 194 // Useful for debug assertions, probably shouldn't be used for anything else. |
195 Proxy* proxy() const; | 195 Proxy* proxy() const; |
196 | 196 |
197 void SetRootLayerScrollOffsetDelegate( | 197 void SetRootLayerScrollOffsetDelegate( |
198 LayerScrollOffsetDelegate* root_layer_scroll_offset_delegate); | 198 LayerScrollOffsetDelegate* root_layer_scroll_offset_delegate); |
199 | 199 |
200 void SetLatencyInfo(const ui::LatencyInfo& latency_info); | 200 void SetLatencyInfo(const ui::LatencyInfo& latency_info); |
201 const ui::LatencyInfo& GetLatencyInfo(); | 201 const ui::LatencyInfo& GetLatencyInfo(); |
202 void ClearLatencyInfo(); | 202 void ClearLatencyInfo(); |
203 | 203 |
204 void WillModifyTilePriorities(); | 204 void DidModifyTilePriorities(); |
205 | 205 |
206 ResourceProvider::ResourceId ResourceIdForUIResource(UIResourceId uid) const; | 206 ResourceProvider::ResourceId ResourceIdForUIResource(UIResourceId uid) const; |
207 void ProcessUIResourceRequestQueue(); | 207 void ProcessUIResourceRequestQueue(); |
208 | 208 |
209 void AddLayerWithCopyOutputRequest(LayerImpl* layer); | 209 void AddLayerWithCopyOutputRequest(LayerImpl* layer); |
210 void RemoveLayerWithCopyOutputRequest(LayerImpl* layer); | 210 void RemoveLayerWithCopyOutputRequest(LayerImpl* layer); |
211 const std::vector<LayerImpl*> LayersWithCopyOutputRequest() const; | 211 const std::vector<LayerImpl*> LayersWithCopyOutputRequest() const; |
212 | 212 |
213 protected: | 213 protected: |
214 explicit LayerTreeImpl(LayerTreeHostImpl* layer_tree_host_impl); | 214 explicit LayerTreeImpl(LayerTreeHostImpl* layer_tree_host_impl); |
(...skipping 42 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
257 | 257 |
258 UIResourceRequestQueue ui_resource_request_queue_; | 258 UIResourceRequestQueue ui_resource_request_queue_; |
259 | 259 |
260 private: | 260 private: |
261 DISALLOW_COPY_AND_ASSIGN(LayerTreeImpl); | 261 DISALLOW_COPY_AND_ASSIGN(LayerTreeImpl); |
262 }; | 262 }; |
263 | 263 |
264 } // namespace cc | 264 } // namespace cc |
265 | 265 |
266 #endif // CC_TREES_LAYER_TREE_IMPL_H_ | 266 #endif // CC_TREES_LAYER_TREE_IMPL_H_ |
OLD | NEW |