Index: experimental/PdfViewer/autogen/SkPdfJavascriptActionDictionary_autogen.cpp |
=================================================================== |
--- experimental/PdfViewer/autogen/SkPdfJavascriptActionDictionary_autogen.cpp (revision 0) |
+++ experimental/PdfViewer/autogen/SkPdfJavascriptActionDictionary_autogen.cpp (revision 0) |
@@ -0,0 +1,23 @@ |
+#include "SkPdfJavascriptActionDictionary_autogen.h" |
+ |
+std::string SkPdfJavascriptActionDictionary::S() const { |
+ std::string ret; |
+ if (NameFromDictionary(fPodofoDoc, fPodofoObj->GetDictionary(), "S", "", &ret)) return ret; |
+ // TODO(edisonn): warn about missing required field, assert for known good pdfs |
+ return ""; |
+} |
+ |
+std::string SkPdfJavascriptActionDictionary::getJSAsString() const { |
+ std::string ret = ""; |
+ if (StringFromDictionary(fPodofoDoc, fPodofoObj->GetDictionary(), "JS", "", &ret)) return ret; |
+ // TODO(edisonn): warn about missing required field, assert for known good pdfs |
+ return ""; |
+} |
+ |
+SkPdfStream* SkPdfJavascriptActionDictionary::getJSAsStream() const { |
+ SkPdfStream* ret = NULL; |
+ if (StreamFromDictionary(fPodofoDoc, fPodofoObj->GetDictionary(), "JS", "", &ret)) return ret; |
+ // TODO(edisonn): warn about missing required field, assert for known good pdfs |
+ return NULL; |
+} |
+ |