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

Side by Side Diff: samplecode/SamplePdfFileViewer.cpp

Issue 1812323003: Remove uses of SkImageDecoder from samplecode (Closed) Base URL: https://skia.googlesource.com/skia.git@master
Patch Set: Created 4 years, 9 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
« no previous file with comments | « samplecode/SamplePathClip.cpp ('k') | samplecode/SamplePictFile.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 #include "SkTypes.h" 8 #include "SkTypes.h"
9 9
10 #ifdef SAMPLE_PDF_FILE_VIEWER 10 #ifdef SAMPLE_PDF_FILE_VIEWER
11 11
12 #include "SampleCode.h" 12 #include "SampleCode.h"
13 #include "SkDumpCanvas.h" 13 #include "SkDumpCanvas.h"
14 #include "SkView.h" 14 #include "SkView.h"
15 #include "SkCanvas.h" 15 #include "SkCanvas.h"
16 #include "SkGradientShader.h" 16 #include "SkGradientShader.h"
17 #include "SkGraphics.h" 17 #include "SkGraphics.h"
18 #include "SkImageDecoder.h"
19 #include "SkOSFile.h" 18 #include "SkOSFile.h"
20 #include "SkPath.h" 19 #include "SkPath.h"
21 #include "SkPicture.h" 20 #include "SkPicture.h"
22 #include "SkRandom.h" 21 #include "SkRandom.h"
23 #include "SkRegion.h" 22 #include "SkRegion.h"
24 #include "SkShader.h" 23 #include "SkShader.h"
25 #include "SkUtils.h" 24 #include "SkUtils.h"
26 #include "SkColorPriv.h" 25 #include "SkColorPriv.h"
27 #include "SkColorFilter.h" 26 #include "SkColorFilter.h"
28 #include "SkTime.h" 27 #include "SkTime.h"
(...skipping 69 matching lines...) Expand 10 before | Expand all | Expand 10 after
98 } 97 }
99 98
100 ////////////////////////////////////////////////////////////////////////////// 99 //////////////////////////////////////////////////////////////////////////////
101 100
102 #if 0 101 #if 0
103 static SkView* MyFactory() { return new PdfFileViewer; } 102 static SkView* MyFactory() { return new PdfFileViewer; }
104 static SkViewRegister reg(MyFactory); 103 static SkViewRegister reg(MyFactory);
105 #endif 104 #endif
106 105
107 #endif // SAMPLE_PDF_FILE_VIEWER 106 #endif // SAMPLE_PDF_FILE_VIEWER
OLDNEW
« no previous file with comments | « samplecode/SamplePathClip.cpp ('k') | samplecode/SamplePictFile.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698