#include "ui/gfx/x/future.h"
#include "ui/gfx/x/connection.h"
#include "ui/gfx/x/event.h"
namespace x11 {
FutureImpl::FutureImpl(Connection* connection,
SequenceType sequence,
bool generates_reply,
const char* request_name_for_tracing)
: … { … }
void FutureImpl::Wait() { … }
void FutureImpl::DispatchNow() { … }
bool FutureImpl::AfterEvent(const Event& event) const { … }
void FutureImpl::Sync(RawReply* raw_reply, std::unique_ptr<Error>* error) { … }
void FutureImpl::OnResponse(ResponseCallback callback) { … }
void FutureImpl::UpdateRequestHandler(ResponseCallback callback) { … }
void FutureImpl::ProcessResponse() { … }
void FutureImpl::TakeResponse(RawReply* raw_reply,
std::unique_ptr<Error>* error) { … }
FutureBase::FutureBase() = default;
FutureBase::FutureBase(std::unique_ptr<FutureImpl> impl)
: … { … }
FutureBase::FutureBase(FutureBase&&) = default;
FutureBase& FutureBase::operator=(FutureBase&&) = default;
FutureBase::~FutureBase() = default;
void FutureBase::Wait() { … }
void FutureBase::DispatchNow() { … }
bool FutureBase::AfterEvent(const Event& event) const { … }
}