Index: tools/vulkan/viewer/Slide.h |
diff --git a/tools/vulkan/viewer/Slide.h b/tools/vulkan/viewer/Slide.h |
index f75e3fd6c5815b57d158cb38cfcfd52480b07b4c..cdc225b0a8c24b74762d075d6a4f6b21a1353909 100644 |
--- a/tools/vulkan/viewer/Slide.h |
+++ b/tools/vulkan/viewer/Slide.h |
@@ -9,6 +9,7 @@ |
#define Slide_DEFINED |
#include "SkRefCnt.h" |
+#include "SkSize.h" |
#include "SkString.h" |
class SkCanvas; |
@@ -18,6 +19,8 @@ class Slide : public SkRefCnt { |
public: |
virtual ~Slide() {} |
+ virtual SkISize getDimensions() const = 0; |
+ |
virtual void draw(SkCanvas* canvas) = 0; |
virtual bool animate(const SkAnimTimer&) { return false; } |
virtual void load() {} |