| // Copyright 2020 The PDFium Authors | |
| // Use of this source code is governed by a BSD-style license that can be | |
| // found in the LICENSE file. | |
| #include "testing/embedder_test_constants.h" | |
| #include "build/build_config.h" | |
| #include "core/fxge/cfx_defaultrenderdevice.h" | |
| namespace pdfium { | |
| const char* AnnotationStampWithApChecksum() { | |
| if (CFX_DefaultRenderDevice::UseSkiaRenderer()) { | |
| #if BUILDFLAG(IS_WIN) | |
| return "d2f803f5cccfc87e955263a78deee246"; | |
| #elif BUILDFLAG(IS_APPLE) | |
| return "8c52190e02e9af7dfec52a3c664c200d"; | |
| #else | |
| return "3b14f454c33025157621411a301faa07"; | |
| #endif | |
| } | |
| #if BUILDFLAG(IS_APPLE) | |
| return "0521eaa52fe2aa43aafd3e4495f63f0b"; | |
| #else | |
| return "5f19ddad9d48f5b7b87ee7d92f577db6"; | |
| #endif | |
| } | |
| const char kBlankPage612By792Checksum[] = "1940568c9ba33bac5d0b1ee9558c76b3"; | |
| const char* Bug890322Checksum() { | |
| if (CFX_DefaultRenderDevice::UseSkiaRenderer()) { | |
| return "793689536cf64fe792c2f241888c0cf3"; | |
| } | |
| return "6c674642154408e877d88c6c082d67e9"; | |
| } | |
| const char* HelloWorldChecksum() { | |
| if (CFX_DefaultRenderDevice::UseSkiaRenderer()) { | |
| #if BUILDFLAG(IS_WIN) | |
| return "6023c7d8b7258cc686a1d1dbd0f4d6d0"; | |
| #elif BUILDFLAG(IS_APPLE) | |
| return "b110924c4af6e87232249ea2a564f0e4"; | |
| #else | |
| return "d1decde2de1c07b5274cc8cb44f92427"; | |
| #endif | |
| } | |
| #if BUILDFLAG(IS_APPLE) | |
| return "6eef7237f7591f07616e238422086737"; | |
| #else | |
| return "c1c548442e0e0f949c5550d89bf8ae3b"; | |
| #endif | |
| } | |
| const char* HelloWorldRemovedChecksum() { | |
| if (CFX_DefaultRenderDevice::UseSkiaRenderer()) { | |
| #if BUILDFLAG(IS_WIN) | |
| return "7db00f520f0838da10ef45373af3f6aa"; | |
| #elif BUILDFLAG(IS_APPLE) | |
| return "99cefacd84710f3fb2e3d129ba68ae8a"; | |
| #else | |
| return "6e0307348e7c1b92f2f061f92f62fd45"; | |
| #endif | |
| } | |
| #if BUILDFLAG(IS_APPLE) | |
| return "6e1cae48a2e35c521dee4ca502f48af6"; | |
| #else | |
| return "4a9b80f675f7f3bf2da1b02f12449e4b"; | |
| #endif | |
| } | |
| const char* ManyRectanglesChecksum() { | |
| if (CFX_DefaultRenderDevice::UseSkiaRenderer()) { | |
| return "4e7e280c1597222afcb0ee3bb90ec119"; | |
| } | |
| return "b0170c575b65ecb93ebafada0ff0f038"; | |
| } | |
| const char* RectanglesChecksum() { | |
| if (CFX_DefaultRenderDevice::UseSkiaRenderer()) { | |
| return "b4e411a6b5ffa59a50efede2efece597"; | |
| } | |
| return "0a90de37f52127619c3dfb642b5fa2fe"; | |
| } | |
| const char* TextFormChecksum() { | |
| if (CFX_DefaultRenderDevice::UseSkiaRenderer()) { | |
| #if BUILDFLAG(IS_WIN) | |
| return "e83f49ddea0822734a16b986e9935732"; | |
| #elif BUILDFLAG(IS_APPLE) | |
| return "32913f21b1012b74eef37737a03a92b7"; | |
| #else | |
| return "b259776fd156003e2a594d1c7ce2d8d7"; | |
| #endif | |
| } | |
| #if BUILDFLAG(IS_APPLE) | |
| return "fa2bf756942a950101fc147fc4ef3f82"; | |
| #else | |
| return "6f86fe1dbed5965d91aec6e0b829e29f"; | |
| #endif | |
| } | |
| } // namespace pdfium |