#include "third_party/blink/renderer/core/css/media_values_cached.h"
#include "third_party/blink/renderer/core/dom/document.h"
#include "third_party/blink/renderer/core/frame/local_frame.h"
namespace blink {
MediaValuesCached::MediaValuesCachedData::MediaValuesCachedData() = default;
MediaValuesCached::MediaValuesCachedData::MediaValuesCachedData(
Document& document)
: … { … }
MediaValuesCached::MediaValuesCached() = default;
MediaValuesCached::MediaValuesCached(const MediaValuesCachedData& data)
: … { … }
MediaValuesCached::MediaValuesCached(Document& document) : … { … }
MediaValues* MediaValuesCached::Copy() const { … }
float MediaValuesCached::EmFontSize(float zoom) const { … }
float MediaValuesCached::RemFontSize(float zoom) const { … }
float MediaValuesCached::ExFontSize(float zoom) const { … }
float MediaValuesCached::RexFontSize(float zoom) const { … }
float MediaValuesCached::ChFontSize(float zoom) const { … }
float MediaValuesCached::RchFontSize(float zoom) const { … }
float MediaValuesCached::IcFontSize(float zoom) const { … }
float MediaValuesCached::RicFontSize(float zoom) const { … }
float MediaValuesCached::LineHeight(float zoom) const { … }
float MediaValuesCached::RootLineHeight(float zoom) const { … }
float MediaValuesCached::CapFontSize(float zoom) const { … }
float MediaValuesCached::RcapFontSize(float zoom) const { … }
double MediaValuesCached::ViewportWidth() const { … }
double MediaValuesCached::ViewportHeight() const { … }
double MediaValuesCached::SmallViewportWidth() const { … }
double MediaValuesCached::SmallViewportHeight() const { … }
double MediaValuesCached::LargeViewportWidth() const { … }
double MediaValuesCached::LargeViewportHeight() const { … }
double MediaValuesCached::DynamicViewportWidth() const { … }
double MediaValuesCached::DynamicViewportHeight() const { … }
double MediaValuesCached::ContainerWidth() const { … }
double MediaValuesCached::ContainerHeight() const { … }
double MediaValuesCached::ContainerWidth(const ScopedCSSName&) const { … }
double MediaValuesCached::ContainerHeight(const ScopedCSSName&) const { … }
int MediaValuesCached::DeviceWidth() const { … }
int MediaValuesCached::DeviceHeight() const { … }
float MediaValuesCached::DevicePixelRatio() const { … }
bool MediaValuesCached::DeviceSupportsHDR() const { … }
int MediaValuesCached::ColorBitsPerComponent() const { … }
int MediaValuesCached::MonochromeBitsPerComponent() const { … }
bool MediaValuesCached::InvertedColors() const { … }
mojom::blink::PointerType MediaValuesCached::PrimaryPointerType() const { … }
int MediaValuesCached::AvailablePointerTypes() const { … }
mojom::blink::HoverType MediaValuesCached::PrimaryHoverType() const { … }
mojom::blink::OutputDeviceUpdateAbilityType
MediaValuesCached::OutputDeviceUpdateAbilityType() const { … }
int MediaValuesCached::AvailableHoverTypes() const { … }
bool MediaValuesCached::ThreeDEnabled() const { … }
bool MediaValuesCached::StrictMode() const { … }
const String MediaValuesCached::MediaType() const { … }
blink::mojom::DisplayMode MediaValuesCached::DisplayMode() const { … }
ui::WindowShowState MediaValuesCached::WindowShowState() const { … }
bool MediaValuesCached::Resizable() const { … }
Document* MediaValuesCached::GetDocument() const { … }
bool MediaValuesCached::HasValues() const { … }
void MediaValuesCached::OverrideViewportDimensions(double width,
double height) { … }
ColorSpaceGamut MediaValuesCached::ColorGamut() const { … }
mojom::blink::PreferredColorScheme MediaValuesCached::GetPreferredColorScheme()
const { … }
mojom::blink::PreferredContrast MediaValuesCached::GetPreferredContrast()
const { … }
bool MediaValuesCached::PrefersReducedMotion() const { … }
bool MediaValuesCached::PrefersReducedData() const { … }
bool MediaValuesCached::PrefersReducedTransparency() const { … }
ForcedColors MediaValuesCached::GetForcedColors() const { … }
NavigationControls MediaValuesCached::GetNavigationControls() const { … }
int MediaValuesCached::GetHorizontalViewportSegments() const { … }
int MediaValuesCached::GetVerticalViewportSegments() const { … }
mojom::blink::DevicePostureType MediaValuesCached::GetDevicePosture() const { … }
Scripting MediaValuesCached::GetScripting() const { … }
}