#include "ui/wm/core/capture_controller.h"
#include "base/observer_list.h"
#include "ui/aura/client/capture_client_observer.h"
#include "ui/aura/env.h"
#include "ui/aura/window.h"
#include "ui/aura/window_event_dispatcher.h"
#include "ui/aura/window_tracker.h"
#include "ui/aura/window_tree_host.h"
namespace wm {
CaptureController* CaptureController::instance_ = …;
CaptureController::CaptureController()
: … { … }
CaptureController::~CaptureController() { … }
void CaptureController::Attach(aura::Window* root) { … }
void CaptureController::Detach(aura::Window* root) { … }
void CaptureController::PrepareForShutdown() { … }
void CaptureController::SetCapture(aura::Window* new_capture_window) { … }
void CaptureController::ReleaseCapture(aura::Window* window) { … }
aura::Window* CaptureController::GetCaptureWindow() { … }
aura::Window* CaptureController::GetGlobalCaptureWindow() { … }
void CaptureController::AddObserver(
aura::client::CaptureClientObserver* observer) { … }
void CaptureController::RemoveObserver(
aura::client::CaptureClientObserver* observer) { … }
ScopedCaptureClient::ScopedCaptureClient(aura::Window* root)
: … { … }
ScopedCaptureClient::~ScopedCaptureClient() { … }
void ScopedCaptureClient::OnWindowDestroyed(aura::Window* window) { … }
void ScopedCaptureClient::Shutdown() { … }
void ScopedCaptureClient::TestApi::SetDelegate(
aura::client::CaptureDelegate* delegate) { … }
}