diff options
author | 2011-06-21 14:44:57 +0000 | |
---|---|---|
committer | 2011-06-21 14:44:57 +0000 | |
commit | 8ac0d542b0226e68b0faa935b3402ffc91409a02 (patch) | |
tree | 0d4eca1c5c49361c036b368fd6affd3c53e55a3d /include/views/SkOSWindow_Android.h | |
parent | ccb74eabccf19f66b6bf31f4acae89b62baa16c3 (diff) |
Add a way to save to PDF in SampleApp on Android and elsewhere.
In Android, add the PDF file to downloads, so it can be opened.
Reviewed at http://codereview.appspot.com/4638052/
git-svn-id: http://skia.googlecode.com/svn/trunk@1659 2bbb7eff-a529-9590-31e7-b0007b416f81
Diffstat (limited to 'include/views/SkOSWindow_Android.h')
-rw-r--r-- | include/views/SkOSWindow_Android.h | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/include/views/SkOSWindow_Android.h b/include/views/SkOSWindow_Android.h index e547609e73..c84ff2ed96 100644 --- a/include/views/SkOSWindow_Android.h +++ b/include/views/SkOSWindow_Android.h @@ -29,6 +29,9 @@ public: void detachGL() {} void presentGL() {} + virtual void onPDFSaved(const char title[], const char desc[], + const char path[]); + protected: // overrides from SkWindow virtual void onHandleInval(const SkIRect&); |