Lines Matching refs:EmbedderTest
51 EmbedderTest::EmbedderTest() in EmbedderTest() function in EmbedderTest
52 : default_delegate_(new EmbedderTest::Delegate()), in EmbedderTest()
67 EmbedderTest::~EmbedderTest() {} in ~EmbedderTest()
69 void EmbedderTest::SetUp() { in SetUp()
86 void EmbedderTest::TearDown() { in TearDown()
98 bool EmbedderTest::CreateEmptyDocument() { in CreateEmptyDocument()
107 bool EmbedderTest::OpenDocument(const std::string& filename) { in OpenDocument()
111 bool EmbedderTest::OpenDocumentLinearized(const std::string& filename) { in OpenDocumentLinearized()
115 bool EmbedderTest::OpenDocumentWithPassword(const std::string& filename, in OpenDocumentWithPassword()
120 bool EmbedderTest::OpenDocumentWithOptions(const std::string& filename, in OpenDocumentWithOptions()
140 bool EmbedderTest::OpenDocumentHelper(const char* password, in OpenDocumentHelper()
204 FPDF_FORMHANDLE EmbedderTest::SetupFormFillEnvironment(FPDF_DOCUMENT doc) { in SetupFormFillEnvironment()
230 void EmbedderTest::DoOpenActions() { in DoOpenActions()
236 int EmbedderTest::GetFirstPageNum() { in GetFirstPageNum()
243 int EmbedderTest::GetPageCount() { in GetPageCount()
251 FPDF_PAGE EmbedderTest::LoadPage(int page_number) { in LoadPage()
270 FPDF_BITMAP EmbedderTest::RenderPage(FPDF_PAGE page) { in RenderPage()
274 FPDF_BITMAP EmbedderTest::RenderPageWithFlags(FPDF_PAGE page, in RenderPageWithFlags()
288 void EmbedderTest::UnloadPage(FPDF_PAGE page) { in UnloadPage()
302 FPDF_DOCUMENT EmbedderTest::OpenSavedDocument(const char* password) { in OpenSavedDocument()
317 void EmbedderTest::CloseSavedDocument() { in CloseSavedDocument()
329 FPDF_PAGE EmbedderTest::LoadSavedPage(int page_number) { in LoadSavedPage()
339 FPDF_BITMAP EmbedderTest::RenderSavedPage(FPDF_PAGE page) { in RenderSavedPage()
343 void EmbedderTest::CloseSavedPage(FPDF_PAGE page) { in CloseSavedPage()
348 void EmbedderTest::VerifySavedRendering(FPDF_PAGE page, in VerifySavedRendering()
360 void EmbedderTest::VerifySavedDocument(int width, int height, const char* md5) { in VerifySavedDocument()
368 void EmbedderTest::SetWholeFileAvailable() { in SetWholeFileAvailable()
373 FPDF_PAGE EmbedderTest::Delegate::GetPage(FPDF_FORMFILLINFO* info, in GetPage()
376 EmbedderTest* test = static_cast<EmbedderTest*>(info); in GetPage()
382 void EmbedderTest::UnsupportedHandlerTrampoline(UNSUPPORT_INFO* info, in UnsupportedHandlerTrampoline()
384 EmbedderTest* test = static_cast<EmbedderTest*>(info); in UnsupportedHandlerTrampoline()
389 int EmbedderTest::AlertTrampoline(IPDF_JSPLATFORM* platform, in AlertTrampoline()
394 EmbedderTest* test = static_cast<EmbedderTest*>(platform); in AlertTrampoline()
399 int EmbedderTest::SetTimerTrampoline(FPDF_FORMFILLINFO* info, in SetTimerTrampoline()
402 EmbedderTest* test = static_cast<EmbedderTest*>(info); in SetTimerTrampoline()
407 void EmbedderTest::KillTimerTrampoline(FPDF_FORMFILLINFO* info, int id) { in KillTimerTrampoline()
408 EmbedderTest* test = static_cast<EmbedderTest*>(info); in KillTimerTrampoline()
413 FPDF_PAGE EmbedderTest::GetPageTrampoline(FPDF_FORMFILLINFO* info, in GetPageTrampoline()
416 return static_cast<EmbedderTest*>(info)->delegate_->GetPage(info, document, in GetPageTrampoline()
421 std::string EmbedderTest::HashBitmap(FPDF_BITMAP bitmap) { in HashBitmap()
433 void EmbedderTest::WriteBitmapToPng(FPDF_BITMAP bitmap, in WriteBitmapToPng()
458 void EmbedderTest::CompareBitmap(FPDF_BITMAP bitmap, in CompareBitmap()
478 int EmbedderTest::WriteBlockCallback(FPDF_FILEWRITE* pFileWrite, in WriteBlockCallback()
481 EmbedderTest* pThis = static_cast<EmbedderTest*>(pFileWrite); in WriteBlockCallback()
487 int EmbedderTest::GetBlockFromString(void* param, in GetBlockFromString()