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

Unified Diff: testing/embedder_test.h

Issue 1652533002: Add tests for CBA_AnnotIterator. (Closed) Base URL: https://pdfium.googlesource.com/pdfium.git@master
Patch Set: Created 4 years, 11 months 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 side-by-side diff with in-line comments
Download patch
Index: testing/embedder_test.h
diff --git a/testing/embedder_test.h b/testing/embedder_test.h
index a21a55de2ca7a030a37bbd5f94e24768e3ba000f..3f6acac5ef4da2208acf9075dce79f2632382e6a 100644
--- a/testing/embedder_test.h
+++ b/testing/embedder_test.h
@@ -9,6 +9,7 @@
#include <memory>
#include <string>
+#include "fpdfsdk/include/fsdk_mgr.h"
#include "public/fpdf_dataavail.h"
#include "public/fpdf_ext.h"
#include "public/fpdf_formfill.h"
@@ -76,8 +77,9 @@ class EmbedderTest : public ::testing::Test,
delegate_ = delegate ? delegate : default_delegate_.get();
}
- FPDF_DOCUMENT document() { return document_; }
- FPDF_FORMHANDLE form_handle() { return form_handle_; }
+ FPDF_DOCUMENT document() const { return document_; }
+ FPDF_FORMHANDLE form_handle() const { return form_handle_; }
+ CPDFSDK_Document* GetSDKDocument() const;
// Create an empty document, and its form fill environment. Returns true
// on success or false on failure.

Powered by Google App Engine
This is Rietveld 408576698