Index: experimental/PdfViewer/autogen/SkPdfAlternateImageDictionary_autogen.cpp |
=================================================================== |
--- experimental/PdfViewer/autogen/SkPdfAlternateImageDictionary_autogen.cpp (revision 0) |
+++ experimental/PdfViewer/autogen/SkPdfAlternateImageDictionary_autogen.cpp (revision 0) |
@@ -0,0 +1,16 @@ |
+#include "SkPdfAlternateImageDictionary_autogen.h" |
+ |
+SkPdfStream* SkPdfAlternateImageDictionary::Image() const { |
+ SkPdfStream* ret; |
+ if (StreamFromDictionary(fPodofoDoc, fPodofoObj->GetDictionary(), "Image", "", &ret)) return ret; |
+ // TODO(edisonn): warn about missing required field, assert for known good pdfs |
+ return NULL; |
+} |
+ |
+bool SkPdfAlternateImageDictionary::DefaultForPrinting() const { |
+ bool ret; |
+ if (BoolFromDictionary(fPodofoDoc, fPodofoObj->GetDictionary(), "DefaultForPrinting", "", &ret)) return ret; |
+ // TODO(edisonn): warn about missing required field, assert for known good pdfs |
+ return false; |
+} |
+ |