Home
last modified time | relevance | path

Searched refs:m_cue (Results 1 – 4 of 4) sorted by relevance

/external/chromium_org/third_party/WebKit/Source/core/rendering/
DRenderVTTCue.cpp36 , m_cue(element->getCue()) in RenderVTTCue()
48 if (!m_cue->regionId().isEmpty()) in layout()
53 if (m_cue->snapToLines()) in layout()
77 …step = m_cue->getWritingDirection() == VTTCue::Horizontal ? firstLineBox->height() : firstLineBox-… in initializeLayoutParameters()
84 int linePosition = m_cue->calculateComputedLinePosition(); in initializeLayoutParameters()
87 if (m_cue->getWritingDirection() == VTTCue::VerticalGrowingLeft) in initializeLayoutParameters()
95 if (m_cue->getWritingDirection() == VTTCue::VerticalGrowingLeft) { in initializeLayoutParameters()
104 …position += m_cue->getWritingDirection() == VTTCue::Horizontal ? parentBlock->height() : parentBlo… in initializeLayoutParameters()
116 if (m_cue->getWritingDirection() == VTTCue::Horizontal) { in placeBoxInDefaultPosition()
163 …if (m_cue->getWritingDirection() == VTTCue::Horizontal && ((step < 0 && top < 0) || (step > 0 && b… in shouldSwitchDirection()
[all …]
DRenderVTTCue.h58 VTTCue* m_cue; variable
/external/chromium_org/third_party/WebKit/Source/core/html/track/vtt/
DVTTCue.cpp130 , m_cue(cue) in VTTCueBox()
138 if (!m_cue->regionId().isEmpty()) { in applyCSSProperties()
152 setInlineStyleProperty(CSSPropertyDirection, m_cue->getCSSWritingDirection()); in applyCSSProperties()
155 setInlineStyleProperty(CSSPropertyWebkitWritingMode, m_cue->getCSSWritingMode()); in applyCSSProperties()
157 std::pair<float, float> position = m_cue->getCSSPosition(); in applyCSSProperties()
166 if (m_cue->vertical() == horizontalKeyword()) { in applyCSSProperties()
167 …setInlineStyleProperty(CSSPropertyWidth, static_cast<double>(m_cue->getCSSSize()), CSSPrimitiveVal… in applyCSSProperties()
171 …setInlineStyleProperty(CSSPropertyHeight, static_cast<double>(m_cue->getCSSSize()), CSSPrimitiveV… in applyCSSProperties()
178 setInlineStyleProperty(CSSPropertyTextAlign, m_cue->getCSSAlignment()); in applyCSSProperties()
180 if (!m_cue->snapToLines()) { in applyCSSProperties()
[all …]
DVTTCue.h50 VTTCue* getCue() const { return m_cue; } in getCue()
60 RawPtrWillBeMember<VTTCue> m_cue; variable