aboutsummaryrefslogtreecommitdiffhomepage
path: root/include/utils/SkDumpCanvas.h
diff options
context:
space:
mode:
Diffstat (limited to 'include/utils/SkDumpCanvas.h')
-rw-r--r--include/utils/SkDumpCanvas.h9
1 files changed, 8 insertions, 1 deletions
diff --git a/include/utils/SkDumpCanvas.h b/include/utils/SkDumpCanvas.h
index 8d9c67d50d..cdb1f19b42 100644
--- a/include/utils/SkDumpCanvas.h
+++ b/include/utils/SkDumpCanvas.h
@@ -45,7 +45,11 @@ public:
kDrawText_Verb,
kDrawPicture_Verb,
kDrawVertices_Verb,
- kDrawData_Verb
+ kDrawData_Verb,
+
+ kBeginCommentGroup_Verb,
+ kAddComment_Verb,
+ kEndCommentGroup_Verb
};
/** Subclasses of this are installed on the DumpCanvas, and then called for
@@ -117,6 +121,9 @@ public:
const uint16_t indices[], int indexCount,
const SkPaint& paint) SK_OVERRIDE;
virtual void drawData(const void*, size_t) SK_OVERRIDE;
+ virtual void beginCommentGroup(const char* description) SK_OVERRIDE;
+ virtual void addComment(const char* kywd, const char* value) SK_OVERRIDE;
+ virtual void endCommentGroup() SK_OVERRIDE;
private:
Dumper* fDumper;