| OLD | NEW |
| 1 // Copyright 2011 The Chromium Authors. All rights reserved. | 1 // Copyright 2011 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_HOST_H_ | 5 #ifndef CC_TREES_LAYER_TREE_HOST_H_ |
| 6 #define CC_TREES_LAYER_TREE_HOST_H_ | 6 #define CC_TREES_LAYER_TREE_HOST_H_ |
| 7 | 7 |
| 8 #include <stddef.h> | 8 #include <stddef.h> |
| 9 #include <stdint.h> | 9 #include <stdint.h> |
| 10 | 10 |
| (...skipping 606 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 617 // This is true if atleast one layer in the layer tree has a copy request. We | 617 // This is true if atleast one layer in the layer tree has a copy request. We |
| 618 // use this bool to decide whether we need to compute subtree has copy request | 618 // use this bool to decide whether we need to compute subtree has copy request |
| 619 // for every layer during property tree building. | 619 // for every layer during property tree building. |
| 620 bool has_copy_request_ = false; | 620 bool has_copy_request_ = false; |
| 621 | 621 |
| 622 MutatorHost* mutator_host_; | 622 MutatorHost* mutator_host_; |
| 623 | 623 |
| 624 std::vector<std::pair<sk_sp<const SkImage>, base::Callback<void(bool)>>> | 624 std::vector<std::pair<sk_sp<const SkImage>, base::Callback<void(bool)>>> |
| 625 queued_image_decodes_; | 625 queued_image_decodes_; |
| 626 | 626 |
| 627 bool did_navigate_ = false; | |
| 628 | |
| 629 DISALLOW_COPY_AND_ASSIGN(LayerTreeHost); | 627 DISALLOW_COPY_AND_ASSIGN(LayerTreeHost); |
| 630 }; | 628 }; |
| 631 | 629 |
| 632 } // namespace cc | 630 } // namespace cc |
| 633 | 631 |
| 634 #endif // CC_TREES_LAYER_TREE_HOST_H_ | 632 #endif // CC_TREES_LAYER_TREE_HOST_H_ |
| OLD | NEW |