#include "third_party/blink/renderer/modules/presentation/presentation_availability.h"
#include "third_party/blink/public/mojom/frame/lifecycle.mojom-blink.h"
#include "third_party/blink/renderer/core/dom/events/event.h"
#include "third_party/blink/renderer/core/execution_context/execution_context.h"
#include "third_party/blink/renderer/core/execution_context/execution_context_lifecycle_state_observer.h"
#include "third_party/blink/renderer/core/frame/local_dom_window.h"
#include "third_party/blink/renderer/modules/event_target_modules_names.h"
#include "third_party/blink/renderer/modules/presentation/presentation_availability_state.h"
#include "third_party/blink/renderer/modules/presentation/presentation_controller.h"
#include "third_party/blink/renderer/platform/instrumentation/use_counter.h"
#include "third_party/blink/renderer/platform/weborigin/kurl.h"
namespace blink {
PresentationAvailability* PresentationAvailability::Take(
PresentationAvailabilityProperty* resolver,
const WTF::Vector<KURL>& urls,
bool value) { … }
PresentationAvailability::PresentationAvailability(
ExecutionContext* execution_context,
const WTF::Vector<KURL>& urls,
bool value)
: … { … }
PresentationAvailability::~PresentationAvailability() = default;
const AtomicString& PresentationAvailability::InterfaceName() const { … }
ExecutionContext* PresentationAvailability::GetExecutionContext() const { … }
void PresentationAvailability::AddedEventListener(
const AtomicString& event_type,
RegisteredEventListener& registered_listener) { … }
void PresentationAvailability::AvailabilityChanged(
blink::mojom::ScreenAvailability availability) { … }
bool PresentationAvailability::HasPendingActivity() const { … }
void PresentationAvailability::ContextLifecycleStateChanged(
mojom::FrameLifecycleState state) { … }
void PresentationAvailability::ContextDestroyed() { … }
void PresentationAvailability::PageVisibilityChanged() { … }
void PresentationAvailability::SetState(State state) { … }
void PresentationAvailability::UpdateListening() { … }
const Vector<KURL>& PresentationAvailability::Urls() const { … }
bool PresentationAvailability::value() const { … }
void PresentationAvailability::Trace(Visitor* visitor) const { … }
}