OLD | NEW |
1 #include "SkPdfMovieDictionary_autogen.h" | 1 #include "SkPdfMovieDictionary_autogen.h" |
2 | 2 |
3 SkPdfFileSpec SkPdfMovieDictionary::F() const { | 3 SkPdfFileSpec SkPdfMovieDictionary::F() const { |
4 SkPdfFileSpec ret; | 4 SkPdfFileSpec ret; |
5 if (FileSpecFromDictionary(fPodofoDoc, fPodofoObj->GetDictionary(), "F", "", &
ret)) return ret; | 5 if (FileSpecFromDictionary(fPodofoDoc, fPodofoObj->GetDictionary(), "F", "", &
ret)) return ret; |
6 // TODO(edisonn): warn about missing required field, assert for known good pdf
s | 6 // TODO(edisonn): warn about missing required field, assert for known good pdf
s |
7 return SkPdfFileSpec(); | 7 return SkPdfFileSpec(); |
8 } | 8 } |
9 | 9 |
10 SkPdfArray* SkPdfMovieDictionary::Aspect() const { | 10 SkPdfArray* SkPdfMovieDictionary::Aspect() const { |
(...skipping 16 matching lines...) Expand all Loading... |
27 // TODO(edisonn): warn about missing required field, assert for known good pdf
s | 27 // TODO(edisonn): warn about missing required field, assert for known good pdf
s |
28 return false; | 28 return false; |
29 } | 29 } |
30 | 30 |
31 SkPdfStream* SkPdfMovieDictionary::getPosterAsStream() const { | 31 SkPdfStream* SkPdfMovieDictionary::getPosterAsStream() const { |
32 SkPdfStream* ret = NULL; | 32 SkPdfStream* ret = NULL; |
33 if (StreamFromDictionary(fPodofoDoc, fPodofoObj->GetDictionary(), "Poster", ""
, &ret)) return ret; | 33 if (StreamFromDictionary(fPodofoDoc, fPodofoObj->GetDictionary(), "Poster", ""
, &ret)) return ret; |
34 // TODO(edisonn): warn about missing required field, assert for known good pdf
s | 34 // TODO(edisonn): warn about missing required field, assert for known good pdf
s |
35 return NULL; | 35 return NULL; |
36 } | 36 } |
| 37 |
OLD | NEW |