Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(1569)

Unified Diff: Source/core/platform/graphics/GraphicsLayerClient.h

Issue 18473002: Add an API to report debugName in GraphicsLayer (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: clear setName Created 7 years, 5 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
Index: Source/core/platform/graphics/GraphicsLayerClient.h
diff --git a/Source/core/platform/graphics/GraphicsLayerClient.h b/Source/core/platform/graphics/GraphicsLayerClient.h
index 662ec203bedc8793b58c8f22702b06097272b795..62e4fe3072805f0111590257e312d37fcac3e20f 100644
--- a/Source/core/platform/graphics/GraphicsLayerClient.h
+++ b/Source/core/platform/graphics/GraphicsLayerClient.h
@@ -26,6 +26,8 @@
#ifndef GraphicsLayerClient_h
#define GraphicsLayerClient_h
+#include "wtf/text/WTFString.h"
+
namespace WebCore {
class FloatPoint;
@@ -77,6 +79,8 @@ public:
virtual bool isTrackingRepaints() const { return false; }
+ virtual String debugName(const GraphicsLayer* graphicsLayer) { return String(); }
+
#ifndef NDEBUG
// RenderLayerBacking overrides this to verify that it is not
// currently painting contents. An ASSERT fails, if it is.

Powered by Google App Engine
This is Rietveld 408576698