OLD | NEW |
1 // Copyright 2013 The Chromium Authors. All rights reserved. | 1 // Copyright 2013 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_LAYERS_LAYER_CLIENT_H_ | 5 #ifndef CC_LAYERS_LAYER_CLIENT_H_ |
6 #define CC_LAYERS_LAYER_CLIENT_H_ | 6 #define CC_LAYERS_LAYER_CLIENT_H_ |
7 | 7 |
8 #include <string> | 8 #include <string> |
9 | 9 |
10 #include "cc/base/cc_export.h" | 10 #include "cc/base/cc_export.h" |
11 | 11 |
| 12 namespace base { |
| 13 namespace debug { |
| 14 class ConvertableToTraceFormat; |
| 15 } |
| 16 } |
| 17 |
12 namespace cc { | 18 namespace cc { |
13 | 19 |
14 class CC_EXPORT LayerClient { | 20 class CC_EXPORT LayerClient { |
15 public: | 21 public: |
16 virtual std::string DebugName() = 0; | 22 virtual std::string DebugName() = 0; |
17 | 23 |
18 protected: | 24 protected: |
19 virtual ~LayerClient() {} | 25 virtual ~LayerClient() {} |
20 }; | 26 }; |
21 | 27 |
22 } // namespace cc | 28 } // namespace cc |
23 | 29 |
24 #endif // CC_LAYERS_LAYER_CLIENT_H_ | 30 #endif // CC_LAYERS_LAYER_CLIENT_H_ |
OLD | NEW |