diff options
author | Dan Sinclair <dsinclair@chromium.org> | 2018-03-22 16:21:04 +0000 |
---|---|---|
committer | Chromium commit bot <commit-bot@chromium.org> | 2018-03-22 16:21:04 +0000 |
commit | cb8768294337f42484b418141792f924d836f9d7 (patch) | |
tree | 1f38478ef41d7f670a48267d4fbac46bff3ce8d8 /samples/pdfium_test_event_helper.h | |
parent | 0f494c86440debd22449acd9743382ba14c7a805 (diff) | |
download | pdfium-cb8768294337f42484b418141792f924d836f9d7.tar.xz |
Move helper methods out of pdfium_test.
This CL splits some helper code out of pdfium_test into individual
files. This makes it a bit clearer what each chunk of code is doing and
makes pdfium_test easier to read.
Change-Id: I3dcff5a6a85ac4283336108eb3a24fa5f234284c
Reviewed-on: https://pdfium-review.googlesource.com/28990
Reviewed-by: Henrique Nakashima <hnakashima@chromium.org>
Commit-Queue: dsinclair <dsinclair@chromium.org>
Diffstat (limited to 'samples/pdfium_test_event_helper.h')
-rw-r--r-- | samples/pdfium_test_event_helper.h | 17 |
1 files changed, 17 insertions, 0 deletions
diff --git a/samples/pdfium_test_event_helper.h b/samples/pdfium_test_event_helper.h new file mode 100644 index 0000000000..e823369e78 --- /dev/null +++ b/samples/pdfium_test_event_helper.h @@ -0,0 +1,17 @@ +// Copyright 2018 The PDFium Authors. All rights reserved. +// Use of this source code is governed by a BSD-style license that can be +// found in the LICENSE file. + +#ifndef SAMPLES_PDFIUM_TEST_EVENT_HELPER_H_ +#define SAMPLES_PDFIUM_TEST_EVENT_HELPER_H_ + +#include <string> + +#include "public/fpdf_formfill.h" +#include "public/fpdfview.h" + +void SendPageEvents(FPDF_FORMHANDLE form, + FPDF_PAGE page, + const std::string& events); + +#endif // SAMPLES_PDFIUM_TEST_EVENT_HELPER_H_ |