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

Unified Diff: src/utils/debugger/SkDrawCommand.h

Issue 916983002: Add staging for Chromium (Closed) Base URL: https://skia.googlesource.com/skia.git@master
Patch Set: Fix compilation issue Created 5 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 | « no previous file | src/utils/debugger/SkDrawCommand.cpp » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: src/utils/debugger/SkDrawCommand.h
diff --git a/src/utils/debugger/SkDrawCommand.h b/src/utils/debugger/SkDrawCommand.h
index 746bf5979c842a84820690ee4c49aea5d17778d1..ab72a88d718630210c654dd1dc7a0b540d593aa6 100644
--- a/src/utils/debugger/SkDrawCommand.h
+++ b/src/utils/debugger/SkDrawCommand.h
@@ -15,6 +15,22 @@
class SK_API SkDrawCommand {
public:
+ // Staging for Chromium
+ typedef DrawType OpType;
+
+ static const int kOpTypeCount = LAST_DRAWTYPE_ENUM+1;
+
+ static const char* kDrawRectString;
+ static const char* kClipRectString;
+
+ static const OpType kSave_OpType;
+ static const OpType kClipRect_OpType;
+ static const OpType kDrawRect_OpType;
+ static const OpType kRestore_OpType;
+ static const OpType kSetMatrix_OpType;
+ // End Staging
+
+
SkDrawCommand(DrawType drawType);
virtual ~SkDrawCommand();
« no previous file with comments | « no previous file | src/utils/debugger/SkDrawCommand.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698