#include "ui/ozone/demo/demo_window.h"
#include <utility>
#include "base/logging.h"
#include "build/build_config.h"
#include "ui/events/event.h"
#include "ui/events/keycodes/dom/dom_code.h"
#include "ui/ozone/demo/renderer.h"
#include "ui/ozone/demo/renderer_factory.h"
#include "ui/ozone/demo/window_manager.h"
#include "ui/ozone/public/ozone_platform.h"
#include "ui/platform_window/platform_window.h"
#include "ui/platform_window/platform_window_init_properties.h"
#if BUILDFLAG(IS_FUCHSIA)
#include "ui/platform_window/fuchsia/initialize_presenter_api_view.h"
#endif
namespace ui {
DemoWindow::DemoWindow(WindowManager* window_manager,
RendererFactory* renderer_factory,
const gfx::Rect& bounds)
: … { … }
DemoWindow::~DemoWindow() { … }
gfx::AcceleratedWidget DemoWindow::GetAcceleratedWidget() { … }
gfx::Size DemoWindow::GetSize() { … }
void DemoWindow::Start() { … }
void DemoWindow::Quit() { … }
void DemoWindow::OnBoundsChanged(const BoundsChange& change) { … }
void DemoWindow::OnMouseEnter() { … }
void DemoWindow::OnDamageRect(const gfx::Rect& damaged_region) { … }
void DemoWindow::DispatchEvent(Event* event) { … }
void DemoWindow::OnCloseRequest() { … }
void DemoWindow::OnClosed() { … }
void DemoWindow::OnWindowStateChanged(PlatformWindowState old_state,
PlatformWindowState new_state) { … }
void DemoWindow::OnLostCapture() { … }
void DemoWindow::OnAcceleratedWidgetAvailable(gfx::AcceleratedWidget widget) { … }
void DemoWindow::OnAcceleratedWidgetDestroyed() { … }
void DemoWindow::OnActivationChanged(bool active) { … }
void DemoWindow::StartRendererIfNecessary() { … }
}