#include "pdf/test/test_helpers.h"
#include "base/base_paths.h"
#include "base/files/file_path.h"
#include "base/path_service.h"
#include "cc/test/pixel_comparator.h"
#include "cc/test/pixel_test_utils.h"
#include "testing/gtest/include/gtest/gtest.h"
#include "third_party/skia/include/core/SkBitmap.h"
#include "third_party/skia/include/core/SkCanvas.h"
#include "third_party/skia/include/core/SkColor.h"
#include "third_party/skia/include/core/SkImage.h"
#include "third_party/skia/include/core/SkRefCnt.h"
#include "third_party/skia/include/core/SkSurface.h"
#include "ui/gfx/geometry/size.h"
namespace chrome_pdf {
base::FilePath GetTestDataFilePath(const base::FilePath& path) { … }
testing::AssertionResult MatchesPngFile(
const SkImage* actual_image,
const base::FilePath& expected_png_file) { … }
sk_sp<SkSurface> CreateSkiaSurfaceForTesting(const gfx::Size& size,
SkColor color) { … }
sk_sp<SkImage> CreateSkiaImageForTesting(const gfx::Size& size, SkColor color) { … }
static v8::Isolate* g_isolate = …;
v8::Isolate* GetBlinkIsolate() { … }
void SetBlinkIsolate(v8::Isolate* isolate) { … }
}