diff options
author | commit-bot@chromium.org <commit-bot@chromium.org@2bbb7eff-a529-9590-31e7-b0007b416f81> | 2013-12-10 21:51:06 +0000 |
---|---|---|
committer | commit-bot@chromium.org <commit-bot@chromium.org@2bbb7eff-a529-9590-31e7-b0007b416f81> | 2013-12-10 21:51:06 +0000 |
commit | bbe43a9ce0513d37cbd5dca583c391b7b1e39b3a (patch) | |
tree | 77fa8d0aeec5f33b60c25c69b720cf217629d67b /samplecode/SampleCode.h | |
parent | edd370f949a457f5d8f7a62efdaf685d4caf46fe (diff) |
Add SkTileGridPicture SampleApp playback support.
SampleApp already supports switching to a bbox hierarchy playback mode
('b' shortcut). This CL adds an SkTileGridPicture bbox mode.
R=reed@google.com, robertphillips@google.com, fmalita@google.com
Author: fmalita@chromium.org
Review URL: https://codereview.chromium.org/108513006
git-svn-id: http://skia.googlecode.com/svn/trunk@12613 2bbb7eff-a529-9590-31e7-b0007b416f81
Diffstat (limited to 'samplecode/SampleCode.h')
-rw-r--r-- | samplecode/SampleCode.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/samplecode/SampleCode.h b/samplecode/SampleCode.h index 2dacc1fc7d..afca4d2de8 100644 --- a/samplecode/SampleCode.h +++ b/samplecode/SampleCode.h @@ -129,6 +129,8 @@ public: */ virtual void requestMenu(SkOSMenu* menu) {} + virtual void onTileSizeChanged(const SkSize& tileSize) {} + protected: virtual void onDrawBackground(SkCanvas*); virtual void onDrawContent(SkCanvas*) = 0; |