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

Unified Diff: experimental/PdfViewer/SkPdfDictionary_autogen.h

Issue 17395005: put each generated pdf api class in a file (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/SkPdfDictionary_autogen.h
===================================================================
--- experimental/PdfViewer/SkPdfDictionary_autogen.h (revision 9669)
+++ experimental/PdfViewer/SkPdfDictionary_autogen.h (working copy)
@@ -7,8 +7,8 @@
class SkPdfDictionary : public SkPdfObject {
public:
- virtual SkPdfObjectType getType() const { return kObjectDictionary_SkPdfObjectType;}
- virtual SkPdfObjectType getTypeEnd() const { return kObjectDictionary__End_SkPdfObjectType;}
+ virtual SkPdfObjectType getType() const { return kDictionary_SkPdfObjectType;}
+ virtual SkPdfObjectType getTypeEnd() const { return kDictionary__End_SkPdfObjectType;}
public:
virtual SkPdfDictionary* asDictionary() {return this;}
virtual const SkPdfDictionary* asDictionary() const {return this;}
@@ -20,28 +20,30 @@
virtual SkPdfBoolean* asBoolean() {return NULL;}
virtual const SkPdfBoolean* asBoolean() const {return NULL;}
- virtual SkPdfHexString* asHexString() {return NULL;}
- virtual const SkPdfHexString* asHexString() const {return NULL;}
-
virtual SkPdfInteger* asInteger() {return NULL;}
virtual const SkPdfInteger* asInteger() const {return NULL;}
+ virtual SkPdfNumber* asNumber() {return NULL;}
+ virtual const SkPdfNumber* asNumber() const {return NULL;}
+
virtual SkPdfName* asName() {return NULL;}
virtual const SkPdfName* asName() const {return NULL;}
virtual SkPdfNull* asNull() {return NULL;}
virtual const SkPdfNull* asNull() const {return NULL;}
- virtual SkPdfNumber* asNumber() {return NULL;}
- virtual const SkPdfNumber* asNumber() const {return NULL;}
-
virtual SkPdfReference* asReference() {return NULL;}
virtual const SkPdfReference* asReference() const {return NULL;}
virtual SkPdfString* asString() {return NULL;}
virtual const SkPdfString* asString() const {return NULL;}
+ virtual SkPdfHexString* asHexString() {return NULL;}
+ virtual const SkPdfHexString* asHexString() const {return NULL;}
+
public:
+ const SkPdfObject get(const char* dictionaryKeyName) const {return SkPdfObject(fPodofoDoc, resolveReferenceObject(fPodofoDoc, fPodofoObj->GetDictionary().GetKey(PdfName(dictionaryKeyName))));}
+ SkPdfObject get(const char* dictionaryKeyName) {return SkPdfObject(fPodofoDoc, resolveReferenceObject(fPodofoDoc, fPodofoObj->GetDictionary().GetKey(PdfName(dictionaryKeyName))));}
private:
public:
SkPdfDictionary(const PdfMemDocument* podofoDoc = NULL, const PdfObject* podofoObj = NULL) : SkPdfObject(podofoDoc, podofoObj) {}

Powered by Google App Engine
This is Rietveld 408576698