OLD | NEW |
1 // Copyright (c) 2015 PDFium Authors. All rights reserved. | 1 // Copyright (c) 2015 PDFium 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 #ifndef TESTING_EMBEDDER_TEST_H_ | 5 #ifndef TESTING_EMBEDDER_TEST_H_ |
6 #define TESTING_EMBEDDER_TEST_H_ | 6 #define TESTING_EMBEDDER_TEST_H_ |
7 | 7 |
8 #include <map> | 8 #include <map> |
9 #include <string> | 9 #include <string> |
10 | 10 |
11 #include "../public/fpdf_dataavail.h" | 11 #include "public/fpdf_dataavail.h" |
12 #include "../public/fpdf_ext.h" | 12 #include "public/fpdf_ext.h" |
13 #include "../public/fpdf_formfill.h" | 13 #include "public/fpdf_formfill.h" |
14 #include "../public/fpdfview.h" | 14 #include "public/fpdfview.h" |
15 #include "testing/gtest/include/gtest/gtest.h" | 15 #include "testing/gtest/include/gtest/gtest.h" |
16 #include "third_party/base/nonstd_unique_ptr.h" | 16 #include "third_party/base/nonstd_unique_ptr.h" |
17 | 17 |
18 #ifdef PDF_ENABLE_V8 | 18 #ifdef PDF_ENABLE_V8 |
19 #include "v8/include/v8.h" | 19 #include "v8/include/v8.h" |
20 #endif // PDF_ENABLE_v8 | 20 #endif // PDF_ENABLE_v8 |
21 | 21 |
22 class TestLoader; | 22 class TestLoader; |
23 | 23 |
24 // This class is used to load a PDF document, and then run programatic | 24 // This class is used to load a PDF document, and then run programatic |
(...skipping 107 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
132 static int SetTimerTrampoline(FPDF_FORMFILLINFO* info, | 132 static int SetTimerTrampoline(FPDF_FORMFILLINFO* info, |
133 int msecs, | 133 int msecs, |
134 TimerCallback fn); | 134 TimerCallback fn); |
135 static void KillTimerTrampoline(FPDF_FORMFILLINFO* info, int id); | 135 static void KillTimerTrampoline(FPDF_FORMFILLINFO* info, int id); |
136 static FPDF_PAGE GetPageTrampoline(FPDF_FORMFILLINFO* info, | 136 static FPDF_PAGE GetPageTrampoline(FPDF_FORMFILLINFO* info, |
137 FPDF_DOCUMENT document, | 137 FPDF_DOCUMENT document, |
138 int page_index); | 138 int page_index); |
139 }; | 139 }; |
140 | 140 |
141 #endif // TESTING_EMBEDDER_TEST_H_ | 141 #endif // TESTING_EMBEDDER_TEST_H_ |
OLD | NEW |