Index: cc/layers/layer_client.h |
diff --git a/cc/layers/layer_client.h b/cc/layers/layer_client.h |
index 5a20b11f8f46f088c48f2edcd9cfd7de34a32b88..04a4bdefa0d03550ccd688ee8ef651b15ba6a95e 100644 |
--- a/cc/layers/layer_client.h |
+++ b/cc/layers/layer_client.h |
@@ -7,24 +7,26 @@ |
#include <string> |
+#include "base/debug/trace_event_impl.h" |
#include "base/memory/ref_counted.h" |
#include "cc/base/cc_export.h" |
-namespace base { |
-namespace debug { |
-class ConvertableToTraceFormat; |
-} |
-} |
- |
namespace cc { |
+class CC_EXPORT LayerDebugInfo : public base::debug::ConvertableToTraceFormat { |
+ public: |
+ virtual bool IncludesFirstPaintInvalidation() const = 0; |
+ |
+ protected: |
+ virtual ~LayerDebugInfo() {} |
+}; |
+ |
class CC_EXPORT LayerClient { |
public: |
// Returns a pointer to a debug info object, if one has been computed. |
// If not, returns NULL. If the returned pointer is non-NULL, the caller takes |
// ownership of the pointer. |
- virtual scoped_refptr<base::debug::ConvertableToTraceFormat> |
- TakeDebugInfo() = 0; |
+ virtual scoped_refptr<LayerDebugInfo> TakeDebugInfo() = 0; |
protected: |
virtual ~LayerClient() {} |