Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(59)

Unified Diff: experimental/PdfViewer/autogen/SkPdfSourceInformationDictionary_autogen.cpp

Issue 18179007: refactor folders to make prepare for native pdf parser (Closed) Base URL: http://skia.googlecode.com/svn/trunk/
Patch Set: Created 7 years, 6 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
Index: experimental/PdfViewer/autogen/SkPdfSourceInformationDictionary_autogen.cpp
===================================================================
--- experimental/PdfViewer/autogen/SkPdfSourceInformationDictionary_autogen.cpp (revision 9812)
+++ experimental/PdfViewer/autogen/SkPdfSourceInformationDictionary_autogen.cpp (working copy)
@@ -1,43 +0,0 @@
-#include "SkPdfSourceInformationDictionary_autogen.h"
-
-std::string SkPdfSourceInformationDictionary::getAUAsString() const {
- std::string ret = "";
- if (StringFromDictionary(fPodofoDoc, fPodofoObj->GetDictionary(), "AU", "", &ret)) return ret;
- // TODO(edisonn): warn about missing required field, assert for known good pdfs
- return "";
-}
-
-SkPdfDictionary* SkPdfSourceInformationDictionary::getAUAsDictionary() const {
- SkPdfDictionary* ret = NULL;
- if (DictionaryFromDictionary(fPodofoDoc, fPodofoObj->GetDictionary(), "AU", "", &ret)) return ret;
- // TODO(edisonn): warn about missing required field, assert for known good pdfs
- return NULL;
-}
-
-SkPdfDate SkPdfSourceInformationDictionary::TS() const {
- SkPdfDate ret;
- if (DateFromDictionary(fPodofoDoc, fPodofoObj->GetDictionary(), "TS", "", &ret)) return ret;
- // TODO(edisonn): warn about missing required field, assert for known good pdfs
- return SkPdfDate();
-}
-
-SkPdfDate SkPdfSourceInformationDictionary::E() const {
- SkPdfDate ret;
- if (DateFromDictionary(fPodofoDoc, fPodofoObj->GetDictionary(), "E", "", &ret)) return ret;
- // TODO(edisonn): warn about missing required field, assert for known good pdfs
- return SkPdfDate();
-}
-
-long SkPdfSourceInformationDictionary::S() const {
- long ret;
- if (LongFromDictionary(fPodofoDoc, fPodofoObj->GetDictionary(), "S", "", &ret)) return ret;
- // TODO(edisonn): warn about missing required field, assert for known good pdfs
- return 0;
-}
-
-SkPdfDictionary* SkPdfSourceInformationDictionary::C() const {
- SkPdfDictionary* ret;
- if (DictionaryFromDictionary(fPodofoDoc, fPodofoObj->GetDictionary(), "C", "", &ret)) return ret;
- // TODO(edisonn): warn about missing required field, assert for known good pdfs
- return NULL;
-}

Powered by Google App Engine
This is Rietveld 408576698