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

Unified Diff: tools/VisualBench/VisualModule.h

Issue 1304083007: Create module system for VisualBench (Closed) Base URL: https://skia.googlesource.com/skia.git@master
Patch Set: address comment Created 5 years, 3 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: tools/VisualBench/VisualModule.h
diff --git a/tools/VisualBench/VisualModule.h b/tools/VisualBench/VisualModule.h
new file mode 100644
index 0000000000000000000000000000000000000000..0d9b31593ffc5c5376de335851df0808913cd9ff
--- /dev/null
+++ b/tools/VisualBench/VisualModule.h
@@ -0,0 +1,24 @@
+/*
+ * Copyright 2015 Google Inc.
+ *
+ * Use of this source code is governed by a BSD-style license that can be
+ * found in the LICENSE file.
+ *
+ */
+
+#ifndef VisualModule_DEFINED
+#define VisualModule_DEFINED
+
+#include "SkRefCnt.h"
+
+class SkCanvas;
robertphillips 2015/09/08 12:38:05 Do we need SkSurface ?
+class SkSurface;
+
robertphillips 2015/09/08 12:38:05 // This guy exists for some reason ... ?
+class VisualModule : public SkRefCnt {
+public:
+ virtual ~VisualModule() {}
+
+ virtual void draw(SkCanvas* canvas)=0;
robertphillips 2015/09/08 12:38:05 private: typedef SkRefCnt INHERITED; ?
+};
+
+#endif

Powered by Google App Engine
This is Rietveld 408576698