| 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 <map> | 8 #include <map> |
| 9 #include <set> | 9 #include <set> |
| 10 #include <string> | 10 #include <string> |
| (...skipping 359 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 370 void FinishSwapPromises(CompositorFrameMetadata* metadata); | 370 void FinishSwapPromises(CompositorFrameMetadata* metadata); |
| 371 void BreakSwapPromises(SwapPromise::DidNotSwapReason reason); | 371 void BreakSwapPromises(SwapPromise::DidNotSwapReason reason); |
| 372 | 372 |
| 373 void DidModifyTilePriorities(); | 373 void DidModifyTilePriorities(); |
| 374 | 374 |
| 375 ResourceId ResourceIdForUIResource(UIResourceId uid) const; | 375 ResourceId ResourceIdForUIResource(UIResourceId uid) const; |
| 376 void ProcessUIResourceRequestQueue(); | 376 void ProcessUIResourceRequestQueue(); |
| 377 | 377 |
| 378 bool IsUIResourceOpaque(UIResourceId uid) const; | 378 bool IsUIResourceOpaque(UIResourceId uid) const; |
| 379 | 379 |
| 380 bool OutputIsSecure() const; | |
| 381 | |
| 382 void RegisterPictureLayerImpl(PictureLayerImpl* layer); | 380 void RegisterPictureLayerImpl(PictureLayerImpl* layer); |
| 383 void UnregisterPictureLayerImpl(PictureLayerImpl* layer); | 381 void UnregisterPictureLayerImpl(PictureLayerImpl* layer); |
| 384 const std::vector<PictureLayerImpl*>& picture_layers() const { | 382 const std::vector<PictureLayerImpl*>& picture_layers() const { |
| 385 return picture_layers_; | 383 return picture_layers_; |
| 386 } | 384 } |
| 387 | 385 |
| 388 void RegisterScrollbar(ScrollbarLayerImplBase* scrollbar_layer); | 386 void RegisterScrollbar(ScrollbarLayerImplBase* scrollbar_layer); |
| 389 void UnregisterScrollbar(ScrollbarLayerImplBase* scrollbar_layer); | 387 void UnregisterScrollbar(ScrollbarLayerImplBase* scrollbar_layer); |
| 390 ScrollbarSet ScrollbarsFor(int scroll_layer_id) const; | 388 ScrollbarSet ScrollbarsFor(int scroll_layer_id) const; |
| 391 | 389 |
| (...skipping 199 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 591 | 589 |
| 592 std::unique_ptr<PendingPageScaleAnimation> pending_page_scale_animation_; | 590 std::unique_ptr<PendingPageScaleAnimation> pending_page_scale_animation_; |
| 593 | 591 |
| 594 private: | 592 private: |
| 595 DISALLOW_COPY_AND_ASSIGN(LayerTreeImpl); | 593 DISALLOW_COPY_AND_ASSIGN(LayerTreeImpl); |
| 596 }; | 594 }; |
| 597 | 595 |
| 598 } // namespace cc | 596 } // namespace cc |
| 599 | 597 |
| 600 #endif // CC_TREES_LAYER_TREE_IMPL_H_ | 598 #endif // CC_TREES_LAYER_TREE_IMPL_H_ |
| OLD | NEW |