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