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

Side by Side Diff: experimental/PdfViewer/SkPdfUtils.h

Issue 23163007: pdfviewer: make pdfviewer compile on mac 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 unified diff | Download patch | Annotate | Revision Log
« no previous file with comments | « experimental/PdfViewer/SkPdfRenderer.cpp ('k') | experimental/PdfViewer/SkPdfUtils.cpp » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 #ifndef __DEFINED__SkPdfUtils 1 #ifndef __DEFINED__SkPdfUtils
2 #define __DEFINED__SkPdfUtils 2 #define __DEFINED__SkPdfUtils
3 3
4 #include "SkMatrix.h" 4 #include "SkMatrix.h"
5 #include "SkRect.h" 5 #include "SkRect.h"
6 #include "SkPdfConfig.h"
6 7
7 class SkPdfArray; 8 class SkPdfArray;
8 class SkPdfContext; 9 class SkPdfContext;
9 class SkCanvas; 10 class SkCanvas;
10 class SkPdfNativeObject; 11 class SkPdfNativeObject;
11 12
12 // TODO(edisonn): temporary code, to report how much of the PDF we actually thin k we rendered. 13 // TODO(edisonn): temporary code, to report how much of the PDF we actually thin k we rendered.
13 enum SkPdfResult { 14 enum SkPdfResult {
14 kOK_SkPdfResult, 15 kOK_SkPdfResult,
15 kPartial_SkPdfResult, 16 kPartial_SkPdfResult,
(...skipping 35 matching lines...) Expand 10 before | Expand all | Expand 10 after
51 // 52 //
52 #ifdef PDF_TRACE 53 #ifdef PDF_TRACE
53 void SkTraceMatrix(const SkMatrix& matrix, const char* sz); 54 void SkTraceMatrix(const SkMatrix& matrix, const char* sz);
54 void SkTraceRect(const SkRect& rect, const char* sz); 55 void SkTraceRect(const SkRect& rect, const char* sz);
55 #else 56 #else
56 #define SkTraceMatrix(a,b) 57 #define SkTraceMatrix(a,b)
57 #define SkTraceRect(a,b) 58 #define SkTraceRect(a,b)
58 #endif 59 #endif
59 60
60 #endif // __DEFINED__SkPdfUtils 61 #endif // __DEFINED__SkPdfUtils
OLDNEW
« no previous file with comments | « experimental/PdfViewer/SkPdfRenderer.cpp ('k') | experimental/PdfViewer/SkPdfUtils.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698