OLD | NEW |
1 #include "SkPdfWebCaptureCommandDictionary_autogen.h" | 1 #include "SkPdfWebCaptureCommandDictionary_autogen.h" |
2 | 2 |
3 std::string SkPdfWebCaptureCommandDictionary::URL() const { | 3 std::string SkPdfWebCaptureCommandDictionary::URL() const { |
4 std::string ret; | 4 std::string ret; |
5 if (StringFromDictionary(fPodofoDoc, fPodofoObj->GetDictionary(), "URL", "", &
ret)) return ret; | 5 if (StringFromDictionary(fPodofoDoc, fPodofoObj->GetDictionary(), "URL", "", &
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 ""; | 7 return ""; |
8 } | 8 } |
9 | 9 |
10 long SkPdfWebCaptureCommandDictionary::L() const { | 10 long SkPdfWebCaptureCommandDictionary::L() const { |
(...skipping 37 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
48 // TODO(edisonn): warn about missing required field, assert for known good pdf
s | 48 // TODO(edisonn): warn about missing required field, assert for known good pdf
s |
49 return ""; | 49 return ""; |
50 } | 50 } |
51 | 51 |
52 SkPdfDictionary* SkPdfWebCaptureCommandDictionary::S() const { | 52 SkPdfDictionary* SkPdfWebCaptureCommandDictionary::S() const { |
53 SkPdfDictionary* ret; | 53 SkPdfDictionary* ret; |
54 if (DictionaryFromDictionary(fPodofoDoc, fPodofoObj->GetDictionary(), "S", "",
&ret)) return ret; | 54 if (DictionaryFromDictionary(fPodofoDoc, fPodofoObj->GetDictionary(), "S", "",
&ret)) return ret; |
55 // TODO(edisonn): warn about missing required field, assert for known good pdf
s | 55 // TODO(edisonn): warn about missing required field, assert for known good pdf
s |
56 return NULL; | 56 return NULL; |
57 } | 57 } |
| 58 |
OLD | NEW |