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_DEBUG_LAYER_TREE_DEBUG_STATE_H_ | 5 #ifndef CC_DEBUG_LAYER_TREE_DEBUG_STATE_H_ |
6 #define CC_DEBUG_LAYER_TREE_DEBUG_STATE_H_ | 6 #define CC_DEBUG_LAYER_TREE_DEBUG_STATE_H_ |
7 | 7 |
8 #include "base/basictypes.h" | |
9 #include "cc/base/cc_export.h" | 8 #include "cc/base/cc_export.h" |
10 | 9 |
11 namespace cc { | 10 namespace cc { |
12 | 11 |
13 namespace proto { | 12 namespace proto { |
14 class LayerTreeDebugState; | 13 class LayerTreeDebugState; |
15 } // namespace proto | 14 } // namespace proto |
16 | 15 |
17 class CC_EXPORT LayerTreeDebugState { | 16 class CC_EXPORT LayerTreeDebugState { |
18 public: | 17 public: |
(...skipping 32 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
51 static LayerTreeDebugState Unite(const LayerTreeDebugState& a, | 50 static LayerTreeDebugState Unite(const LayerTreeDebugState& a, |
52 const LayerTreeDebugState& b); | 51 const LayerTreeDebugState& b); |
53 | 52 |
54 private: | 53 private: |
55 bool record_rendering_stats_; | 54 bool record_rendering_stats_; |
56 }; | 55 }; |
57 | 56 |
58 } // namespace cc | 57 } // namespace cc |
59 | 58 |
60 #endif // CC_DEBUG_LAYER_TREE_DEBUG_STATE_H_ | 59 #endif // CC_DEBUG_LAYER_TREE_DEBUG_STATE_H_ |
OLD | NEW |