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

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

Issue 20662003: pdfviewer: fix a few warnings (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 unified diff | Download patch | Annotate | Revision Log
« no previous file with comments | « experimental/PdfViewer/SkPdfBasics.h ('k') | experimental/PdfViewer/SkPdfRenderer.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 /* 1 /*
2 * Copyright 2013 Google Inc. 2 * Copyright 2013 Google Inc.
3 * 3 *
4 * Use of this source code is governed by a BSD-style license that can be 4 * Use of this source code is governed by a BSD-style license that can be
5 * found in the LICENSE file. 5 * found in the LICENSE file.
6 */ 6 */
7 7
8 8
9 #ifndef SkPdfRenderer_DEFINED 9 #ifndef SkPdfRenderer_DEFINED
10 #define SkPdfRenderer_DEFINED 10 #define SkPdfRenderer_DEFINED
11 11
12 class SkBitmap; 12 class SkBitmap;
13 class SkCanvas; 13 class SkCanvas;
14 class SkNativeParsedPDF; 14 class SkNativeParsedPDF;
15 class SkRect; 15 struct SkRect;
16 class SkStream; 16 class SkStream;
17 17
18 enum SkPdfContent { 18 enum SkPdfContent {
19 kNoForms_SkPdfContent, 19 kNoForms_SkPdfContent,
20 kAll_SkPdfContent, 20 kAll_SkPdfContent,
21 }; 21 };
22 22
23 // TODO(edisonn): move in another file 23 // TODO(edisonn): move in another file
24 class SkPdfRenderer : public SkRefCnt { 24 class SkPdfRenderer : public SkRefCnt {
25 SkNativeParsedPDF* fPdfDoc; 25 SkNativeParsedPDF* fPdfDoc;
(...skipping 15 matching lines...) Expand all
41 41
42 void reportPdfRenderStats(); 42 void reportPdfRenderStats();
43 43
44 bool SkPDFNativeRenderToBitmap(SkStream* stream, 44 bool SkPDFNativeRenderToBitmap(SkStream* stream,
45 SkBitmap* output, 45 SkBitmap* output,
46 int page = 0, 46 int page = 0,
47 SkPdfContent content = kAll_SkPdfContent, 47 SkPdfContent content = kAll_SkPdfContent,
48 double dpi = 72.0); 48 double dpi = 72.0);
49 49
50 #endif // SkPdfRenderer_DEFINED 50 #endif // SkPdfRenderer_DEFINED
OLDNEW
« no previous file with comments | « experimental/PdfViewer/SkPdfBasics.h ('k') | experimental/PdfViewer/SkPdfRenderer.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698