OLD | NEW |
(Empty) | |
| 1 // Copyright 2014 The Chromium Authors. All rights reserved. |
| 2 // Use of this source code is governed by a BSD-style license that can be |
| 3 // found in the LICENSE file. |
| 4 |
| 5 #ifndef CC_DEBUG_LAYER_DEBUG_INFO_H_ |
| 6 #define CC_DEBUG_LAYER_DEBUG_INFO_H_ |
| 7 |
| 8 #include <string> |
| 9 #include <vector> |
| 10 |
| 11 #include "base/debug/trace_event_impl.h" |
| 12 #include "cc/base/cc_export.h" |
| 13 |
| 14 namespace cc { |
| 15 |
| 16 struct DebugRect; |
| 17 class Layer; |
| 18 |
| 19 class CC_EXPORT LayerDebugInfo : public base::debug::ConvertableToTraceFormat { |
| 20 public: |
| 21 virtual std::vector<DebugRect> GetInvalidationRects(Layer* layer) const; |
| 22 |
| 23 protected: |
| 24 virtual ~LayerDebugInfo() {} |
| 25 }; |
| 26 |
| 27 } // namespace cc |
| 28 |
| 29 #endif // CC_DEBUG_LAYER_DEBUG_INFO_H_ |
OLD | NEW |