Chromium Code Reviews| 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 |