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

Unified Diff: experimental/PdfViewer/autogen/SkPdfBoxColorInformationDictionary_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/SkPdfBoxColorInformationDictionary_autogen.h
===================================================================
--- experimental/PdfViewer/autogen/SkPdfBoxColorInformationDictionary_autogen.h (revision 9765)
+++ experimental/PdfViewer/autogen/SkPdfBoxColorInformationDictionary_autogen.h (working copy)
@@ -533,13 +533,7 @@
return (ObjectFromDictionary(fPodofoDoc, fPodofoObj->GetDictionary(), "CropBox", "", NULL));
}
- SkPdfDictionary* CropBox() const {
- SkPdfDictionary* ret;
- if (DictionaryFromDictionary(fPodofoDoc, fPodofoObj->GetDictionary(), "CropBox", "", &ret)) return ret;
- // TODO(edisonn): warn about missing required field, assert for known good pdfs
- return NULL;
- }
-
+ SkPdfDictionary* CropBox() const;
/** (Optional) A box style dictionary (see Table 9.42) specifying the visual characteris-
* tics for displaying guidelines for the page's bleed box. This entry is ignored if no
* bleed box is defined in the page object.
@@ -548,13 +542,7 @@
return (ObjectFromDictionary(fPodofoDoc, fPodofoObj->GetDictionary(), "BleedBox", "", NULL));
}
- SkPdfDictionary* BleedBox() const {
- SkPdfDictionary* ret;
- if (DictionaryFromDictionary(fPodofoDoc, fPodofoObj->GetDictionary(), "BleedBox", "", &ret)) return ret;
- // TODO(edisonn): warn about missing required field, assert for known good pdfs
- return NULL;
- }
-
+ SkPdfDictionary* BleedBox() const;
/** (Optional) A box style dictionary (see Table 9.42) specifying the visual characteris-
* tics for displaying guidelines for the page's trim box. This entry is ignored if no trim
* box is defined in the page object.
@@ -563,13 +551,7 @@
return (ObjectFromDictionary(fPodofoDoc, fPodofoObj->GetDictionary(), "TrimBox", "", NULL));
}
- SkPdfDictionary* TrimBox() const {
- SkPdfDictionary* ret;
- if (DictionaryFromDictionary(fPodofoDoc, fPodofoObj->GetDictionary(), "TrimBox", "", &ret)) return ret;
- // TODO(edisonn): warn about missing required field, assert for known good pdfs
- return NULL;
- }
-
+ SkPdfDictionary* TrimBox() const;
/** (Optional) A box style dictionary (see Table 9.42) specifying the visual characteris-
* tics for displaying guidelines for the page's art box. This entry is ignored if no art
* box is defined in the page object.
@@ -578,13 +560,7 @@
return (ObjectFromDictionary(fPodofoDoc, fPodofoObj->GetDictionary(), "ArtBox", "", NULL));
}
- SkPdfDictionary* ArtBox() const {
- SkPdfDictionary* ret;
- if (DictionaryFromDictionary(fPodofoDoc, fPodofoObj->GetDictionary(), "ArtBox", "", &ret)) return ret;
- // TODO(edisonn): warn about missing required field, assert for known good pdfs
- return NULL;
- }
-
+ SkPdfDictionary* ArtBox() const;
};
#endif // __DEFINED__SkPdfBoxColorInformationDictionary

Powered by Google App Engine
This is Rietveld 408576698