OLD | NEW |
1 /* | 1 /* |
2 * Copyright 2016 Google Inc. | 2 * Copyright 2016 Google Inc. |
3 * | 3 * |
4 * Use of this source code is governed by a BSD-style license that can be | 4 * Use of this source code is governed by a BSD-style license that can be |
5 * found in the LICENSE file. | 5 * found in the LICENSE file. |
6 */ | 6 */ |
7 | 7 |
8 #ifndef GMSlide_DEFINED | 8 #ifndef GMSlide_DEFINED |
9 #define GMSlide_DEFINED | 9 #define GMSlide_DEFINED |
10 | 10 |
11 #include "Slide.h" | 11 #include "Slide.h" |
12 #include "gm.h" | 12 #include "gm.h" |
13 | 13 |
14 class GMSlide : public Slide { | 14 class GMSlide : public Slide { |
15 public: | 15 public: |
16 GMSlide(skiagm::GM* gm); | 16 GMSlide(skiagm::GM* gm); |
17 ~GMSlide() override; | 17 ~GMSlide() override; |
18 | 18 |
19 void draw(SkCanvas* canvas) override; | 19 void draw(SkCanvas* canvas) override; |
| 20 bool animate(const SkAnimTimer&) override; |
20 | 21 |
21 private: | 22 private: |
22 skiagm::GM* fGM; | 23 skiagm::GM* fGM; |
23 }; | 24 }; |
24 | 25 |
25 | 26 |
26 #endif | 27 #endif |
OLD | NEW |