#include "ui/views/widget/desktop_aura/desktop_capture_client.h"
#include <set>
#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 views {
namespace {
bool CompareWeakPtrs(const base::WeakPtr<DesktopCaptureClient>& lhs,
const base::WeakPtr<DesktopCaptureClient>& rhs) { … }
}
DesktopCaptureClient::ClientSet* DesktopCaptureClient::clients_ = …;
aura::Window* DesktopCaptureClient::GetCaptureWindowGlobal() { … }
DesktopCaptureClient::DesktopCaptureClient(aura::Window* root) : … { … }
DesktopCaptureClient::~DesktopCaptureClient() { … }
void DesktopCaptureClient::SetCapture(aura::Window* new_capture_window) { … }
void DesktopCaptureClient::ReleaseCapture(aura::Window* window) { … }
aura::Window* DesktopCaptureClient::GetCaptureWindow() { … }
aura::Window* DesktopCaptureClient::GetGlobalCaptureWindow() { … }
void DesktopCaptureClient::AddObserver(
aura::client::CaptureClientObserver* observer) { … }
void DesktopCaptureClient::RemoveObserver(
aura::client::CaptureClientObserver* observer) { … }
}