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

Unified Diff: experimental/PdfViewer/autogen/SkPdfDocumentCatalogActionsDictionary_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/SkPdfDocumentCatalogActionsDictionary_autogen.h
===================================================================
--- experimental/PdfViewer/autogen/SkPdfDocumentCatalogActionsDictionary_autogen.h (revision 9765)
+++ experimental/PdfViewer/autogen/SkPdfDocumentCatalogActionsDictionary_autogen.h (working copy)
@@ -532,13 +532,7 @@
return (ObjectFromDictionary(fPodofoDoc, fPodofoObj->GetDictionary(), "DC", "", NULL));
}
- SkPdfDictionary* DC() const {
- SkPdfDictionary* ret;
- if (DictionaryFromDictionary(fPodofoDoc, fPodofoObj->GetDictionary(), "DC", "", &ret)) return ret;
- // TODO(edisonn): warn about missing required field, assert for known good pdfs
- return NULL;
- }
-
+ SkPdfDictionary* DC() const;
/** (Optional; PDF 1.4) A JavaScript action to be performed before saving a document.
* (The name WS stands for "will save.")
**/
@@ -546,13 +540,7 @@
return (ObjectFromDictionary(fPodofoDoc, fPodofoObj->GetDictionary(), "WS", "", NULL));
}
- SkPdfDictionary* WS() const {
- SkPdfDictionary* ret;
- if (DictionaryFromDictionary(fPodofoDoc, fPodofoObj->GetDictionary(), "WS", "", &ret)) return ret;
- // TODO(edisonn): warn about missing required field, assert for known good pdfs
- return NULL;
- }
-
+ SkPdfDictionary* WS() const;
/** (Optional; PDF 1.4) A JavaScript action to be performed after saving a document. (The
* name DS stands for "did save.")
**/
@@ -560,13 +548,7 @@
return (ObjectFromDictionary(fPodofoDoc, fPodofoObj->GetDictionary(), "DS", "", NULL));
}
- SkPdfDictionary* DS() const {
- SkPdfDictionary* ret;
- if (DictionaryFromDictionary(fPodofoDoc, fPodofoObj->GetDictionary(), "DS", "", &ret)) return ret;
- // TODO(edisonn): warn about missing required field, assert for known good pdfs
- return NULL;
- }
-
+ SkPdfDictionary* DS() const;
/** (Optional; PDF 1.4) A JavaScript action to be performed before printing a document.
* (The name WP stands for "will print.")
**/
@@ -574,13 +556,7 @@
return (ObjectFromDictionary(fPodofoDoc, fPodofoObj->GetDictionary(), "WP", "", NULL));
}
- SkPdfDictionary* WP() const {
- SkPdfDictionary* ret;
- if (DictionaryFromDictionary(fPodofoDoc, fPodofoObj->GetDictionary(), "WP", "", &ret)) return ret;
- // TODO(edisonn): warn about missing required field, assert for known good pdfs
- return NULL;
- }
-
+ SkPdfDictionary* WP() const;
/** (Optional; PDF 1.4) A JavaScript action to be performed after printing a document.
* (The name DP stands for "did print.")
**/
@@ -588,13 +564,7 @@
return (ObjectFromDictionary(fPodofoDoc, fPodofoObj->GetDictionary(), "DP", "", NULL));
}
- SkPdfDictionary* DP() const {
- SkPdfDictionary* ret;
- if (DictionaryFromDictionary(fPodofoDoc, fPodofoObj->GetDictionary(), "DP", "", &ret)) return ret;
- // TODO(edisonn): warn about missing required field, assert for known good pdfs
- return NULL;
- }
-
+ SkPdfDictionary* DP() const;
};
#endif // __DEFINED__SkPdfDocumentCatalogActionsDictionary

Powered by Google App Engine
This is Rietveld 408576698