Index: gm/gm.h |
diff --git a/gm/gm.h b/gm/gm.h |
index b474729366adcb505409c0f76f977308add8b4a2..edb92b201e8dd18b26b9f7a96a96a9df0fd69c62 100644 |
--- a/gm/gm.h |
+++ b/gm/gm.h |
@@ -92,6 +92,8 @@ namespace skiagm { |
fStarterMatrix = matrix; |
} |
+ bool animatePulse(SkMSec curr, SkMSec prev); |
+ |
protected: |
virtual void onOnceBeforeDraw() {} |
virtual void onDraw(SkCanvas*) = 0; |
@@ -99,6 +101,7 @@ namespace skiagm { |
virtual SkISize onISize() = 0; |
virtual SkString onShortName() = 0; |
+ virtual bool onAnimatePulse(SkMSec curr, SkMSec prev) { return false; } |
virtual SkMatrix onGetInitialTransform() const { return SkMatrix::I(); } |
private: |