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

Unified Diff: cc/layers/content_layer_client.h

Issue 16903005: Add layer name into frame viewer (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: get debug name on demand Created 7 years, 6 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: cc/layers/content_layer_client.h
diff --git a/cc/layers/content_layer_client.h b/cc/layers/content_layer_client.h
index e59c1d8c3e10a48d3a79bd7783eed0379a783a62..fc5aa6f9c48c9e262d5a096d03970173ffd42936 100644
--- a/cc/layers/content_layer_client.h
+++ b/cc/layers/content_layer_client.h
@@ -5,6 +5,8 @@
#ifndef CC_LAYERS_CONTENT_LAYER_CLIENT_H_
#define CC_LAYERS_CONTENT_LAYER_CLIENT_H_
+#include <string>
+
#include "cc/base/cc_export.h"
class SkCanvas;
@@ -25,6 +27,7 @@ class CC_EXPORT ContentLayerClient {
// Called by the content layer during the update phase.
// If the client paints LCD text, it may want to invalidate the layer.
virtual void DidChangeLayerCanUseLCDText() = 0;
+ virtual std::string DebugName() { return std::string(); }
protected:
virtual ~ContentLayerClient() {}
« no previous file with comments | « cc/layers/content_layer.cc ('k') | cc/layers/layer.h » ('j') | cc/layers/layer.cc » ('J')

Powered by Google App Engine
This is Rietveld 408576698