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

Unified Diff: experimental/PdfViewer/autogen/SkPdfNumberTreeNodeDictionary_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/SkPdfNumberTreeNodeDictionary_autogen.h
===================================================================
--- experimental/PdfViewer/autogen/SkPdfNumberTreeNodeDictionary_autogen.h (revision 9765)
+++ experimental/PdfViewer/autogen/SkPdfNumberTreeNodeDictionary_autogen.h (working copy)
@@ -533,13 +533,7 @@
return (ObjectFromDictionary(fPodofoDoc, fPodofoObj->GetDictionary(), "Kids", "", NULL));
}
- SkPdfArray* Kids() const {
- SkPdfArray* ret;
- if (ArrayFromDictionary(fPodofoDoc, fPodofoObj->GetDictionary(), "Kids", "", &ret)) return ret;
- // TODO(edisonn): warn about missing required field, assert for known good pdfs
- return NULL;
- }
-
+ SkPdfArray* Kids() const;
/** (Root and leaf nodes only; required in leaf nodes; present in the root node if and only if Kids
* is not present) An array of the form
* [key1 value1 key2 value2 ... keyn valuen ]
@@ -551,13 +545,7 @@
return (ObjectFromDictionary(fPodofoDoc, fPodofoObj->GetDictionary(), "Nums", "", NULL));
}
- SkPdfArray* Nums() const {
- SkPdfArray* ret;
- if (ArrayFromDictionary(fPodofoDoc, fPodofoObj->GetDictionary(), "Nums", "", &ret)) return ret;
- // TODO(edisonn): warn about missing required field, assert for known good pdfs
- return NULL;
- }
-
+ SkPdfArray* Nums() const;
/** (Intermediate and leaf nodes only; required) An array of two integers, specifying the
* (numerically) least and greatest keys included in the Nums array of a leaf node or in the
* Nums arrays of any leaf nodes that are descendants of an intermediate node.
@@ -566,13 +554,7 @@
return (ObjectFromDictionary(fPodofoDoc, fPodofoObj->GetDictionary(), "Limits", "", NULL));
}
- SkPdfArray* Limits() const {
- SkPdfArray* ret;
- if (ArrayFromDictionary(fPodofoDoc, fPodofoObj->GetDictionary(), "Limits", "", &ret)) return ret;
- // TODO(edisonn): warn about missing required field, assert for known good pdfs
- return NULL;
- }
-
+ SkPdfArray* Limits() const;
};
#endif // __DEFINED__SkPdfNumberTreeNodeDictionary

Powered by Google App Engine
This is Rietveld 408576698