commit | 8ac0d542b0226e68b0faa935b3402ffc91409a02 | [log] [tgz] |
---|---|---|
author | Scroggo <Scroggo@2bbb7eff-a529-9590-31e7-b0007b416f81> | Tue Jun 21 14:44:57 2011 +0000 |
committer | Scroggo <Scroggo@2bbb7eff-a529-9590-31e7-b0007b416f81> | Tue Jun 21 14:44:57 2011 +0000 |
tree | 0d4eca1c5c49361c036b368fd6affd3c53e55a3d | |
parent | ccb74eabccf19f66b6bf31f4acae89b62baa16c3 [diff] [blame] |
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
diff --git a/include/views/SkOSWindow_Android.h b/include/views/SkOSWindow_Android.h index e547609..c84ff2e 100644 --- a/include/views/SkOSWindow_Android.h +++ b/include/views/SkOSWindow_Android.h
@@ -29,6 +29,9 @@ 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&);