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

Unified Diff: experimental/PdfViewer/autogen/SkPdfEmbeddedFontStreamDictionary_autogen.cpp

Issue 18179007: refactor folders to make prepare for native pdf parser (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/SkPdfEmbeddedFontStreamDictionary_autogen.cpp
===================================================================
--- experimental/PdfViewer/autogen/SkPdfEmbeddedFontStreamDictionary_autogen.cpp (revision 9812)
+++ experimental/PdfViewer/autogen/SkPdfEmbeddedFontStreamDictionary_autogen.cpp (working copy)
@@ -1,36 +0,0 @@
-#include "SkPdfEmbeddedFontStreamDictionary_autogen.h"
-
-long SkPdfEmbeddedFontStreamDictionary::Length1() const {
- long ret;
- if (LongFromDictionary(fPodofoDoc, fPodofoObj->GetDictionary(), "Length1", "", &ret)) return ret;
- // TODO(edisonn): warn about missing required field, assert for known good pdfs
- return 0;
-}
-
-long SkPdfEmbeddedFontStreamDictionary::Length2() const {
- long ret;
- if (LongFromDictionary(fPodofoDoc, fPodofoObj->GetDictionary(), "Length2", "", &ret)) return ret;
- // TODO(edisonn): warn about missing required field, assert for known good pdfs
- return 0;
-}
-
-long SkPdfEmbeddedFontStreamDictionary::Length3() const {
- long ret;
- if (LongFromDictionary(fPodofoDoc, fPodofoObj->GetDictionary(), "Length3", "", &ret)) return ret;
- // TODO(edisonn): warn about missing required field, assert for known good pdfs
- return 0;
-}
-
-std::string SkPdfEmbeddedFontStreamDictionary::Subtype() const {
- std::string ret;
- if (NameFromDictionary(fPodofoDoc, fPodofoObj->GetDictionary(), "Subtype", "", &ret)) return ret;
- // TODO(edisonn): warn about missing required field, assert for known good pdfs
- return "";
-}
-
-SkPdfStream* SkPdfEmbeddedFontStreamDictionary::Metadata() const {
- SkPdfStream* ret;
- if (StreamFromDictionary(fPodofoDoc, fPodofoObj->GetDictionary(), "Metadata", "", &ret)) return ret;
- // TODO(edisonn): warn about missing required field, assert for known good pdfs
- return NULL;
-}

Powered by Google App Engine
This is Rietveld 408576698