#include "chrome/browser/ui/test/test_app_window_icon_observer.h"
#include <string_view>
#include <utility>
#include "base/hash/md5.h"
#include "base/ranges/algorithm.h"
#include "base/run_loop.h"
#include "extensions/browser/app_window/app_window.h"
#include "ui/aura/client/aura_constants.h"
#include "ui/aura/window.h"
#include "ui/gfx/image/image_skia_rep.h"
#include "ui/gfx/image/image_unittest_util.h"
TestAppWindowIconObserver::TestAppWindowIconObserver(
content::BrowserContext* context)
: … { … }
TestAppWindowIconObserver::~TestAppWindowIconObserver() { … }
void TestAppWindowIconObserver::WaitForIconUpdate() { … }
void TestAppWindowIconObserver::WaitForIconUpdates(int updates) { … }
void TestAppWindowIconObserver::WaitForIconUpdates(
const gfx::ImageSkia& image_skia) { … }
void TestAppWindowIconObserver::OnAppWindowAdded(
extensions::AppWindow* app_window) { … }
void TestAppWindowIconObserver::OnAppWindowRemoved(
extensions::AppWindow* app_window) { … }
void TestAppWindowIconObserver::OnWindowPropertyChanged(aura::Window* window,
const void* key,
intptr_t old) { … }