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