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

Unified Diff: tools/debugger/SkDrawCommand.h

Issue 1748183007: Remove dependency on SkJsonCanvas.h (Closed) Base URL: https://skia.googlesource.com/skia.git@master
Patch Set: Created 4 years, 10 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
« no previous file with comments | « gyp/skiaserve.gyp ('k') | tools/debugger/SkDrawCommand.cpp » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: tools/debugger/SkDrawCommand.h
diff --git a/tools/debugger/SkDrawCommand.h b/tools/debugger/SkDrawCommand.h
index 74c2b2c69eff2442d0c23baef17a805432ba3b65..a2835dc6e7250d6aedbe425925c1565c823deafe 100644
--- a/tools/debugger/SkDrawCommand.h
+++ b/tools/debugger/SkDrawCommand.h
@@ -113,6 +113,10 @@ public:
static const char* GetCommandString(OpType type);
+ // Helper methods for converting things to JSON
+ static Json::Value MakeJsonIRect(const SkIRect&);
+ static Json::Value MakeJsonMatrix(const SkMatrix&);
+
protected:
SkTDArray<SkString*> fInfo;
« no previous file with comments | « gyp/skiaserve.gyp ('k') | tools/debugger/SkDrawCommand.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698