#include "ui/views/examples/examples_skia_gold_pixel_diff.h"
#include <utility>
#include "base/run_loop.h"
#include "testing/gtest/include/gtest/gtest.h"
#include "ui/native_theme/native_theme.h"
#include "ui/snapshot/snapshot.h"
#include "ui/views/examples/examples_window.h"
#if defined(USE_AURA)
#include "ui/snapshot/snapshot_aura.h"
#endif
namespace views::examples {
ExamplesSkiaGoldPixelDiff::ExamplesSkiaGoldPixelDiff() = default;
ExamplesSkiaGoldPixelDiff::~ExamplesSkiaGoldPixelDiff() = default;
void ExamplesSkiaGoldPixelDiff::Init(const std::string& screenshot_prefix) { … }
ExamplesExitCode ExamplesSkiaGoldPixelDiff::CompareScreenshot(
const std::string& screenshot_name,
const views::Widget* widget) const { … }
void ExamplesSkiaGoldPixelDiff::DoScreenshot(views::Widget* widget) { … }
void ExamplesSkiaGoldPixelDiff::OnExamplesWindowShown(views::Widget* widget) { … }
}