Dan Sinclair | cb87682 | 2018-03-22 16:21:04 +0000 | [diff] [blame] | 1 | // Copyright 2018 The PDFium Authors. All rights reserved. |
| 2 | // Use of this source code is governed by a BSD-style license that can be |
| 3 | // found in the LICENSE file. |
| 4 | |
| 5 | #ifndef SAMPLES_PDFIUM_TEST_EVENT_HELPER_H_ |
| 6 | #define SAMPLES_PDFIUM_TEST_EVENT_HELPER_H_ |
| 7 | |
Tom Sepez | dc85f86 | 2020-12-09 19:06:14 +0000 | [diff] [blame] | 8 | #include <functional> |
Dan Sinclair | cb87682 | 2018-03-22 16:21:04 +0000 | [diff] [blame] | 9 | #include <string> |
| 10 | |
| 11 | #include "public/fpdf_formfill.h" |
| 12 | #include "public/fpdfview.h" |
| 13 | |
| 14 | void SendPageEvents(FPDF_FORMHANDLE form, |
| 15 | FPDF_PAGE page, |
Tom Sepez | dc85f86 | 2020-12-09 19:06:14 +0000 | [diff] [blame] | 16 | const std::string& events, |
| 17 | const std::function<void()>& idler); |
Dan Sinclair | cb87682 | 2018-03-22 16:21:04 +0000 | [diff] [blame] | 18 | |
| 19 | #endif // SAMPLES_PDFIUM_TEST_EVENT_HELPER_H_ |