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

Unified Diff: experimental/PdfViewer/pdfparser/native/SkNativeParsedPDF.h

Issue 18536014: pdfviewer: more load references dinamically plumming (Closed) Base URL: http://skia.googlecode.com/svn/trunk/
Patch Set: Created 7 years, 5 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/pdfparser/native/SkNativeParsedPDF.h
===================================================================
--- experimental/PdfViewer/pdfparser/native/SkNativeParsedPDF.h (revision 9970)
+++ experimental/PdfViewer/pdfparser/native/SkNativeParsedPDF.h (working copy)
@@ -42,11 +42,11 @@
int pages() const;
SkPdfResourceDictionary* pageResources(int page);
- SkRect MediaBox(int page) const;
- SkPdfNativeTokenizer* tokenizerOfPage(int n) const;
+ SkRect MediaBox(int page);
+ SkPdfNativeTokenizer* tokenizerOfPage(int n);
- SkPdfNativeTokenizer* tokenizerOfStream(SkPdfObject* stream) const;
- SkPdfNativeTokenizer* tokenizerOfBuffer(unsigned char* buffer, size_t len) const;
+ SkPdfNativeTokenizer* tokenizerOfStream(SkPdfObject* stream);
+ SkPdfNativeTokenizer* tokenizerOfBuffer(unsigned char* buffer, size_t len);
size_t objects() const;
SkPdfObject* object(int i);
@@ -61,8 +61,7 @@
void drawPage(int page, SkCanvas* canvas);
- SkPdfObject* resolveReference(SkPdfObject* ref) const;
- SkPdfObject* resolveReference(const SkPdfObject* ref) const;
+ SkPdfObject* resolveReference(const SkPdfObject* ref);
private:
@@ -77,7 +76,7 @@
obj->fOffset = -1;
}
- SkPdfObject* readObject(int id/*, int generation*/) const;
+ SkPdfObject* readObject(int id/*, int generation*/);
void fillPages(SkPdfPageTreeNodeDictionary* tree);
« no previous file with comments | « experimental/PdfViewer/generate_code.py ('k') | experimental/PdfViewer/pdfparser/native/SkNativeParsedPDF.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698