#include "ui/ozone/demo/window_manager.h"
#include <memory>
#include <utility>
#include "base/command_line.h"
#include "base/functional/bind.h"
#include "base/logging.h"
#include "base/task/single_thread_task_runner.h"
#include "ui/display/types/display_configuration_params.h"
#include "ui/display/types/display_snapshot.h"
#include "ui/display/types/native_display_delegate.h"
#include "ui/ozone/demo/demo_window.h"
#include "ui/ozone/public/ozone_platform.h"
namespace ui {
namespace {
const int kTestWindowWidth = …;
const int kTestWindowHeight = …;
const char kWindowSize[] = …;
}
WindowManager::WindowManager(std::unique_ptr<RendererFactory> renderer_factory,
base::OnceClosure quit_closure)
: … { … }
WindowManager::~WindowManager() { … }
void WindowManager::Quit() { … }
void WindowManager::OnConfigurationChanged() { … }
void WindowManager::OnDisplaySnapshotsInvalidated() { … }
void WindowManager::OnDisplaysAcquired(
const std::vector<raw_ptr<display::DisplaySnapshot, VectorExperimental>>&
displays) { … }
void WindowManager::OnDisplayConfigured(
const std::vector<display::DisplayConfigurationParams>& request_results,
bool config_success) { … }
}