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

Unified Diff: tools/viewer/Slide.h

Issue 2063883002: Revert of Add samples to Viewer. (Closed) Base URL: https://skia.googlesource.com/skia.git@master
Patch Set: Created 4 years, 6 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
« no previous file with comments | « tools/viewer/SampleSlide.cpp ('k') | tools/viewer/Viewer.cpp » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: tools/viewer/Slide.h
diff --git a/tools/viewer/Slide.h b/tools/viewer/Slide.h
index bc0ffd40168f900fee49fa847cc6b699878f246e..cdc225b0a8c24b74762d075d6a4f6b21a1353909 100644
--- a/tools/viewer/Slide.h
+++ b/tools/viewer/Slide.h
@@ -19,13 +19,11 @@
public:
virtual ~Slide() {}
- virtual SkISize getDimensions() const {
- return SkISize::Make(0, 0);
- }
+ virtual SkISize getDimensions() const = 0;
virtual void draw(SkCanvas* canvas) = 0;
virtual bool animate(const SkAnimTimer&) { return false; }
- virtual void load(SkScalar winWidth, SkScalar winHeight) {}
+ virtual void load() {}
virtual void unload() {}
SkString getName() { return fName; }
« no previous file with comments | « tools/viewer/SampleSlide.cpp ('k') | tools/viewer/Viewer.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698