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

Unified Diff: experimental/PdfViewer/datatypes.py

Issue 22900010: pdfviewer: check in pdfapi classes (Closed) Base URL: http://skia.googlecode.com/svn/trunk/
Patch Set: Created 7 years, 4 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
« no previous file with comments | « experimental/PdfViewer/copy_files.py ('k') | experimental/PdfViewer/generate_code.py » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: experimental/PdfViewer/datatypes.py
===================================================================
--- experimental/PdfViewer/datatypes.py (revision 10721)
+++ experimental/PdfViewer/datatypes.py (working copy)
@@ -1,79 +0,0 @@
-
-class PdfName:
- def __init__(self, name, abr=''):
- self.fName = name
- self.fAbr = abr
-
- def toCpp(self):
- return '\"' + self.fName + '\"'
-
-class PdfString:
- def __init__(self, value):
- self.fValue = value
-
- def toCpp(self):
- return '\"' + self.fValue + '\"'
-
-class PdfInteger:
- def __init__(self, value):
- self.fValue = value
-
- def toCpp(self):
- return str(self.fValue)
-
-class PdfNumber:
- def __init__(self, value):
- self.fValue = value
-
- def toCpp(self):
- return str(self.fValue)
-
-class PdfString:
- def __init__(self, value):
- self.fValue = value
-
- def toCpp(self):
- return self.fValue
-
-class PdfBoolean:
- def __init__(self, value):
- self.fValue = value
-
- def toCpp(self):
- return self.fValue
-
-class CppNull:
- def toCpp(self):
- return 'NULL'
-
-class PdfDateNever:
- def toCpp(self):
- return 'SkPdfDate()'
-
-class FileSpecNone:
- def toCpp(self):
- return 'SkPdfFileSpec()'
-
-class EmptyRect:
- def toCpp(self):
- return 'SkRect::MakeEmpty()'
-
-class IdentityMatrix:
- def toCpp(self):
- return 'SkMatrix::I()'
-
-class PdfEmptyStream:
- def toCpp(self):
- return 'SkPdfStream()'
-
-class PdfArrayNone:
- def toCpp(self):
- return 'SkPdfArray()'
-
-class PdfFunctionNone:
- def toCpp(self):
- return 'SkPdfFunction()'
-
-class EmptyTree:
- def toCpp(self):
- return 'SkPdfTree()'
« no previous file with comments | « experimental/PdfViewer/copy_files.py ('k') | experimental/PdfViewer/generate_code.py » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698