OLD | NEW |
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 Loading... |
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 |
OLD | NEW |