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 <set> | 9 #include <set> |
10 #include <string> | 10 #include <string> |
(...skipping 274 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
285 const LayerSelectionBound& end); | 285 const LayerSelectionBound& end); |
286 | 286 |
287 // Compute the current selection handle location and visbility with respect to | 287 // Compute the current selection handle location and visbility with respect to |
288 // the viewport. | 288 // the viewport. |
289 void GetViewportSelection(ViewportSelectionBound* start, | 289 void GetViewportSelection(ViewportSelectionBound* start, |
290 ViewportSelectionBound* end); | 290 ViewportSelectionBound* end); |
291 | 291 |
292 void RegisterPictureLayerImpl(PictureLayerImpl* layer); | 292 void RegisterPictureLayerImpl(PictureLayerImpl* layer); |
293 void UnregisterPictureLayerImpl(PictureLayerImpl* layer); | 293 void UnregisterPictureLayerImpl(PictureLayerImpl* layer); |
294 | 294 |
295 BlockingTaskRunner* BlockingMainThreadTaskRunner() const; | |
danakj
2014/09/03 19:47:42
Move this up to the "Methods called by the layer t
Sami
2014/09/04 09:30:47
Done.
| |
296 | |
295 protected: | 297 protected: |
296 explicit LayerTreeImpl(LayerTreeHostImpl* layer_tree_host_impl); | 298 explicit LayerTreeImpl(LayerTreeHostImpl* layer_tree_host_impl); |
297 void ReleaseResourcesRecursive(LayerImpl* current); | 299 void ReleaseResourcesRecursive(LayerImpl* current); |
298 | 300 |
299 LayerTreeHostImpl* layer_tree_host_impl_; | 301 LayerTreeHostImpl* layer_tree_host_impl_; |
300 int source_frame_number_; | 302 int source_frame_number_; |
301 scoped_ptr<LayerImpl> root_layer_; | 303 scoped_ptr<LayerImpl> root_layer_; |
302 HeadsUpDisplayLayerImpl* hud_layer_; | 304 HeadsUpDisplayLayerImpl* hud_layer_; |
303 LayerImpl* currently_scrolling_layer_; | 305 LayerImpl* currently_scrolling_layer_; |
304 LayerScrollOffsetDelegate* root_layer_scroll_offset_delegate_; | 306 LayerScrollOffsetDelegate* root_layer_scroll_offset_delegate_; |
(...skipping 47 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
352 | 354 |
353 int render_surface_layer_list_id_; | 355 int render_surface_layer_list_id_; |
354 | 356 |
355 private: | 357 private: |
356 DISALLOW_COPY_AND_ASSIGN(LayerTreeImpl); | 358 DISALLOW_COPY_AND_ASSIGN(LayerTreeImpl); |
357 }; | 359 }; |
358 | 360 |
359 } // namespace cc | 361 } // namespace cc |
360 | 362 |
361 #endif // CC_TREES_LAYER_TREE_IMPL_H_ | 363 #endif // CC_TREES_LAYER_TREE_IMPL_H_ |
OLD | NEW |