#include "third_party/blink/renderer/core/css/media_values_dynamic.h"
#include "third_party/blink/public/common/css/forced_colors.h"
#include "third_party/blink/public/common/css/navigation_controls.h"
#include "third_party/blink/public/common/css/scripting.h"
#include "third_party/blink/renderer/core/css/css_primitive_value.h"
#include "third_party/blink/renderer/core/css/css_resolution_units.h"
#include "third_party/blink/renderer/core/css/css_to_length_conversion_data.h"
#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"
#include "ui/base/ui_base_types.h"
namespace blink {
MediaValues* MediaValuesDynamic::Create(Document& document) { … }
MediaValues* MediaValuesDynamic::Create(LocalFrame* frame) { … }
MediaValuesDynamic::MediaValuesDynamic(LocalFrame* frame)
: … { … }
MediaValuesDynamic::MediaValuesDynamic(LocalFrame* frame,
bool overridden_viewport_dimensions,
double viewport_width,
double viewport_height)
: … { … }
float MediaValuesDynamic::EmFontSize(float zoom) const { … }
float MediaValuesDynamic::RemFontSize(float zoom) const { … }
float MediaValuesDynamic::ExFontSize(float zoom) const { … }
float MediaValuesDynamic::RexFontSize(float zoom) const { … }
float MediaValuesDynamic::ChFontSize(float zoom) const { … }
float MediaValuesDynamic::RchFontSize(float zoom) const { … }
float MediaValuesDynamic::IcFontSize(float zoom) const { … }
float MediaValuesDynamic::RicFontSize(float zoom) const { … }
float MediaValuesDynamic::LineHeight(float zoom) const { … }
float MediaValuesDynamic::RootLineHeight(float zoom) const { … }
float MediaValuesDynamic::CapFontSize(float zoom) const { … }
float MediaValuesDynamic::RcapFontSize(float zoom) const { … }
double MediaValuesDynamic::ViewportWidth() const { … }
double MediaValuesDynamic::ViewportHeight() const { … }
double MediaValuesDynamic::SmallViewportWidth() const { … }
double MediaValuesDynamic::SmallViewportHeight() const { … }
double MediaValuesDynamic::LargeViewportWidth() const { … }
double MediaValuesDynamic::LargeViewportHeight() const { … }
double MediaValuesDynamic::DynamicViewportWidth() const { … }
double MediaValuesDynamic::DynamicViewportHeight() const { … }
double MediaValuesDynamic::ContainerWidth() const { … }
double MediaValuesDynamic::ContainerHeight() const { … }
double MediaValuesDynamic::ContainerWidth(const ScopedCSSName&) const { … }
double MediaValuesDynamic::ContainerHeight(const ScopedCSSName&) const { … }
int MediaValuesDynamic::DeviceWidth() const { … }
int MediaValuesDynamic::DeviceHeight() const { … }
float MediaValuesDynamic::DevicePixelRatio() const { … }
bool MediaValuesDynamic::DeviceSupportsHDR() const { … }
int MediaValuesDynamic::ColorBitsPerComponent() const { … }
int MediaValuesDynamic::MonochromeBitsPerComponent() const { … }
bool MediaValuesDynamic::InvertedColors() const { … }
mojom::blink::PointerType MediaValuesDynamic::PrimaryPointerType() const { … }
int MediaValuesDynamic::AvailablePointerTypes() const { … }
mojom::blink::HoverType MediaValuesDynamic::PrimaryHoverType() const { … }
mojom::blink::OutputDeviceUpdateAbilityType
MediaValuesDynamic::OutputDeviceUpdateAbilityType() const { … }
int MediaValuesDynamic::AvailableHoverTypes() const { … }
bool MediaValuesDynamic::ThreeDEnabled() const { … }
const String MediaValuesDynamic::MediaType() const { … }
blink::mojom::DisplayMode MediaValuesDynamic::DisplayMode() const { … }
ui::WindowShowState MediaValuesDynamic::WindowShowState() const { … }
bool MediaValuesDynamic::Resizable() const { … }
bool MediaValuesDynamic::StrictMode() const { … }
ColorSpaceGamut MediaValuesDynamic::ColorGamut() const { … }
mojom::blink::PreferredColorScheme MediaValuesDynamic::GetPreferredColorScheme()
const { … }
mojom::blink::PreferredContrast MediaValuesDynamic::GetPreferredContrast()
const { … }
bool MediaValuesDynamic::PrefersReducedMotion() const { … }
bool MediaValuesDynamic::PrefersReducedData() const { … }
bool MediaValuesDynamic::PrefersReducedTransparency() const { … }
ForcedColors MediaValuesDynamic::GetForcedColors() const { … }
NavigationControls MediaValuesDynamic::GetNavigationControls() const { … }
int MediaValuesDynamic::GetHorizontalViewportSegments() const { … }
int MediaValuesDynamic::GetVerticalViewportSegments() const { … }
mojom::blink::DevicePostureType MediaValuesDynamic::GetDevicePosture() const { … }
Scripting MediaValuesDynamic::GetScripting() const { … }
Document* MediaValuesDynamic::GetDocument() const { … }
bool MediaValuesDynamic::HasValues() const { … }
void MediaValuesDynamic::Trace(Visitor* visitor) const { … }
}