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

Unified Diff: experimental/PdfViewer/autogen/SkPdfFormFieldActionsDictionary_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/SkPdfFormFieldActionsDictionary_autogen.h
===================================================================
--- experimental/PdfViewer/autogen/SkPdfFormFieldActionsDictionary_autogen.h (revision 9765)
+++ experimental/PdfViewer/autogen/SkPdfFormFieldActionsDictionary_autogen.h (working copy)
@@ -533,13 +533,7 @@
return (ObjectFromDictionary(fPodofoDoc, fPodofoObj->GetDictionary(), "K", "", NULL));
}
- SkPdfDictionary* K() const {
- SkPdfDictionary* ret;
- if (DictionaryFromDictionary(fPodofoDoc, fPodofoObj->GetDictionary(), "K", "", &ret)) return ret;
- // TODO(edisonn): warn about missing required field, assert for known good pdfs
- return NULL;
- }
-
+ SkPdfDictionary* K() const;
/** (Optional; PDF 1.3) A JavaScript action to be performed before the field is formatted
* to display its current value. This allows the field's value to be modified before format-
* ting.
@@ -548,13 +542,7 @@
return (ObjectFromDictionary(fPodofoDoc, fPodofoObj->GetDictionary(), "F", "", NULL));
}
- SkPdfDictionary* F() const {
- SkPdfDictionary* ret;
- if (DictionaryFromDictionary(fPodofoDoc, fPodofoObj->GetDictionary(), "F", "", &ret)) return ret;
- // TODO(edisonn): warn about missing required field, assert for known good pdfs
- return NULL;
- }
-
+ SkPdfDictionary* F() const;
/** (Optional; PDF 1.3) A JavaScript action to be performed when the field's value is
* changed. This allows the new value to be checked for validity. (The name V stands for
* "validate.")
@@ -563,13 +551,7 @@
return (ObjectFromDictionary(fPodofoDoc, fPodofoObj->GetDictionary(), "V", "", NULL));
}
- SkPdfDictionary* V() const {
- SkPdfDictionary* ret;
- if (DictionaryFromDictionary(fPodofoDoc, fPodofoObj->GetDictionary(), "V", "", &ret)) return ret;
- // TODO(edisonn): warn about missing required field, assert for known good pdfs
- return NULL;
- }
-
+ SkPdfDictionary* V() const;
/** (Optional; PDF 1.3) A JavaScript action to be performed in order to recalculate the
* value of this field when that of another field changes. (The name C stands for
* "calculate.") The order in which the document's fields are recalculated is defined by the
@@ -580,13 +562,7 @@
return (ObjectFromDictionary(fPodofoDoc, fPodofoObj->GetDictionary(), "C", "", NULL));
}
- SkPdfDictionary* C() const {
- SkPdfDictionary* ret;
- if (DictionaryFromDictionary(fPodofoDoc, fPodofoObj->GetDictionary(), "C", "", &ret)) return ret;
- // TODO(edisonn): warn about missing required field, assert for known good pdfs
- return NULL;
- }
-
+ SkPdfDictionary* C() const;
};
#endif // __DEFINED__SkPdfFormFieldActionsDictionary

Powered by Google App Engine
This is Rietveld 408576698