#include "ui/webui/examples/browser/ui/aura/content_window.h"
#include "content/public/browser/web_contents.h"
#include "ui/aura/window.h"
#include "ui/aura/window_tree_host.h"
#include "ui/aura/window_tree_host_observer.h"
#include "ui/aura/window_tree_host_platform.h"
#include "ui/platform_window/platform_window.h"
#include "ui/wm/core/compound_event_filter.h"
namespace webui_examples {
namespace {
class QuitOnClose : public aura::WindowTreeHostObserver { … };
}
ContentWindow::ContentWindow(AuraContext* aura_context,
std::unique_ptr<content::WebContents> web_contents)
: … { … }
ContentWindow::~ContentWindow() = default;
void ContentWindow::SetTitle(const std::u16string& title) { … }
void ContentWindow::Show() { … }
void ContentWindow::SetCloseCallback(base::OnceClosure on_close) { … }
}