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

Unified Diff: experimental/PdfViewer/autogen/SkPdfCIDSystemInfoDictionary_autogen.h

Issue 17856004: refactoring for pdf viewer lib (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/SkPdfCIDSystemInfoDictionary_autogen.h
===================================================================
--- experimental/PdfViewer/autogen/SkPdfCIDSystemInfoDictionary_autogen.h (revision 9765)
+++ experimental/PdfViewer/autogen/SkPdfCIDSystemInfoDictionary_autogen.h (working copy)
@@ -534,13 +534,7 @@
return (ObjectFromDictionary(fPodofoDoc, fPodofoObj->GetDictionary(), "Registry", "", NULL));
}
- std::string Registry() const {
- std::string ret;
- if (StringFromDictionary(fPodofoDoc, fPodofoObj->GetDictionary(), "Registry", "", &ret)) return ret;
- // TODO(edisonn): warn about missing required field, assert for known good pdfs
- return "";
- }
-
+ std::string Registry() const;
/** (Required) A string that uniquely names the character collection within the speci-
* fied registry-for example, Japan1.
**/
@@ -548,13 +542,7 @@
return (ObjectFromDictionary(fPodofoDoc, fPodofoObj->GetDictionary(), "Ordering", "", NULL));
}
- std::string Ordering() const {
- std::string ret;
- if (StringFromDictionary(fPodofoDoc, fPodofoObj->GetDictionary(), "Ordering", "", &ret)) return ret;
- // TODO(edisonn): warn about missing required field, assert for known good pdfs
- return "";
- }
-
+ std::string Ordering() const;
/** (Required) The supplement number of the character collection. An original charac-
* ter collection has a supplement number of 0. Whenever additional CIDs are
* assigned in a character collection, the supplement number is increased. Supple-
@@ -565,13 +553,7 @@
return (ObjectFromDictionary(fPodofoDoc, fPodofoObj->GetDictionary(), "Supplement", "", NULL));
}
- long Supplement() const {
- long ret;
- if (LongFromDictionary(fPodofoDoc, fPodofoObj->GetDictionary(), "Supplement", "", &ret)) return ret;
- // TODO(edisonn): warn about missing required field, assert for known good pdfs
- return 0;
- }
-
+ long Supplement() const;
};
#endif // __DEFINED__SkPdfCIDSystemInfoDictionary

Powered by Google App Engine
This is Rietveld 408576698