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

Unified Diff: experimental/PdfViewer/autogen/SkPdfVariableTextFieldDictionary_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/SkPdfVariableTextFieldDictionary_autogen.h
===================================================================
--- experimental/PdfViewer/autogen/SkPdfVariableTextFieldDictionary_autogen.h (revision 9765)
+++ experimental/PdfViewer/autogen/SkPdfVariableTextFieldDictionary_autogen.h (working copy)
@@ -535,13 +535,7 @@
return (ObjectFromDictionary(fPodofoDoc, fPodofoObj->GetDictionary(), "DR", "", NULL));
}
- SkPdfDictionary* DR() const {
- SkPdfDictionary* ret;
- if (DictionaryFromDictionary(fPodofoDoc, fPodofoObj->GetDictionary(), "DR", "", &ret)) return ret;
- // TODO(edisonn): warn about missing required field, assert for known good pdfs
- return NULL;
- }
-
+ SkPdfDictionary* DR() const;
/** (Required; inheritable) The default appearance string, containing a sequence of valid
* page-content graphics or text state operators defining such properties as the field's text
* size and color.
@@ -550,13 +544,7 @@
return (ObjectFromDictionary(fPodofoDoc, fPodofoObj->GetDictionary(), "DA", "", NULL));
}
- std::string DA() const {
- std::string ret;
- if (StringFromDictionary(fPodofoDoc, fPodofoObj->GetDictionary(), "DA", "", &ret)) return ret;
- // TODO(edisonn): warn about missing required field, assert for known good pdfs
- return "";
- }
-
+ std::string DA() const;
/** (Optional; inheritable) A code specifying the form of quadding (justification) to be
* used in displaying the text:
* 0 Left-justified
@@ -568,13 +556,7 @@
return (ObjectFromDictionary(fPodofoDoc, fPodofoObj->GetDictionary(), "Q", "", NULL));
}
- long Q() const {
- long ret;
- if (LongFromDictionary(fPodofoDoc, fPodofoObj->GetDictionary(), "Q", "", &ret)) return ret;
- // TODO(edisonn): warn about missing required field, assert for known good pdfs
- return 0;
- }
-
+ long Q() const;
};
#endif // __DEFINED__SkPdfVariableTextFieldDictionary

Powered by Google App Engine
This is Rietveld 408576698