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

Side by Side Diff: samples/pdfium_test.cc

Issue 1434543003: Merge to XFA: Fix all relative includes to third_party. (Closed) Base URL: https://pdfium.googlesource.com/pdfium.git@xfa
Patch Set: Fix XFA Created 5 years, 1 month 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
OLDNEW
1 // Copyright (c) 2010 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2010 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be 2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file. 3 // found in the LICENSE file.
4 4
5 #include <limits.h> 5 #include <limits.h>
6 #include <stdio.h> 6 #include <stdio.h>
7 #include <stdlib.h> 7 #include <stdlib.h>
8 #include <string.h> 8 #include <string.h>
9 #include <wchar.h> 9 #include <wchar.h>
10 10
11 #include <list> 11 #include <list>
12 #include <sstream> 12 #include <sstream>
13 #include <string> 13 #include <string>
14 #include <utility> 14 #include <utility>
15 #include <vector> 15 #include <vector>
16 16
17 #include "../public/fpdf_dataavail.h" 17 #include "../public/fpdf_dataavail.h"
18 #include "../public/fpdf_ext.h" 18 #include "../public/fpdf_ext.h"
19 #include "../public/fpdf_formfill.h" 19 #include "../public/fpdf_formfill.h"
20 #include "../public/fpdf_text.h" 20 #include "../public/fpdf_text.h"
21 #include "../public/fpdfview.h" 21 #include "../public/fpdfview.h"
22 #include "../testing/test_support.h" 22 #include "../testing/test_support.h"
23 #include "image_diff_png.h" 23 #include "image_diff_png.h"
24 24
25 #ifdef PDF_ENABLE_V8 25 #ifdef PDF_ENABLE_V8
26 #include "v8/include/libplatform/libplatform.h" 26 #include "v8/include/libplatform/libplatform.h"
27 #include "v8/include/v8.h" 27 #include "v8/include/v8.h"
28 #endif 28 #endif // PDF_ENABLE_V8
29 29
30 #ifdef _WIN32 30 #ifdef _WIN32
31 #define snprintf _snprintf 31 #define snprintf _snprintf
32 #endif 32 #endif
33 33
34 enum OutputFormat { 34 enum OutputFormat {
35 OUTPUT_NONE, 35 OUTPUT_NONE,
36 OUTPUT_PPM, 36 OUTPUT_PPM,
37 OUTPUT_PNG, 37 OUTPUT_PNG,
38 #ifdef _WIN32 38 #ifdef _WIN32
(...skipping 537 matching lines...) Expand 10 before | Expand all | Expand 10 after
576 } 576 }
577 577
578 FPDF_DestroyLibrary(); 578 FPDF_DestroyLibrary();
579 #ifdef PDF_ENABLE_V8 579 #ifdef PDF_ENABLE_V8
580 v8::V8::ShutdownPlatform(); 580 v8::V8::ShutdownPlatform();
581 delete platform; 581 delete platform;
582 #endif // PDF_ENABLE_V8 582 #endif // PDF_ENABLE_V8
583 583
584 return 0; 584 return 0;
585 } 585 }
OLDNEW
« no previous file with comments | « samples/image_diff_png.cc ('k') | samples/samples.gyp » ('j') | xfa.gyp » ('J')

Powered by Google App Engine
This is Rietveld 408576698