Index: cc/debug/layer_debug_info.h |
diff --git a/cc/debug/layer_debug_info.h b/cc/debug/layer_debug_info.h |
new file mode 100644 |
index 0000000000000000000000000000000000000000..215b383fbe4b2506cd6be2264090a30a5f671c52 |
--- /dev/null |
+++ b/cc/debug/layer_debug_info.h |
@@ -0,0 +1,29 @@ |
+// Copyright 2014 The Chromium Authors. All rights reserved. |
+// Use of this source code is governed by a BSD-style license that can be |
+// found in the LICENSE file. |
+ |
+#ifndef CC_DEBUG_LAYER_DEBUG_INFO_H_ |
+#define CC_DEBUG_LAYER_DEBUG_INFO_H_ |
+ |
+#include <string> |
+#include <vector> |
+ |
+#include "base/debug/trace_event_impl.h" |
+#include "cc/base/cc_export.h" |
+ |
+namespace cc { |
+ |
+struct DebugRect; |
+class Layer; |
+ |
+class CC_EXPORT LayerDebugInfo : public base::debug::ConvertableToTraceFormat { |
+ public: |
+ virtual std::vector<DebugRect> GetInvalidationRects(Layer* layer) const; |
+ |
+ protected: |
+ virtual ~LayerDebugInfo() {} |
+}; |
+ |
+} // namespace cc |
+ |
+#endif // CC_DEBUG_LAYER_DEBUG_INFO_H_ |