Home
last modified time | relevance | path

Searched refs:initialRect (Results 1 – 2 of 2) sorted by relevance

/external/chromium_org/third_party/WebKit/Source/web/tests/
DPopupContainerTest.cpp75 static IntRect calculatePositionWithTransformAndRTL(const IntRect& initialRect, const IntSize& tran… in calculatePositionWithTransformAndRTL() argument
81 int rtlOffset = targetControlWidth - initialRect.width(); in calculatePositionWithTransformAndRTL()
83 …return PopupContainer::layoutAndCalculateWidgetRectInternal(initialRect, targetControlHeight, wind… in calculatePositionWithTransformAndRTL()
86 static IntRect calculatePosition(const IntRect& initialRect, PopupContent* content, FloatRect windo… in calculatePosition() argument
90 int rtlOffset = (targetControlWidth - initialRect.width()) * (isRTL ? 1 : -1); in calculatePosition()
92 …return PopupContainer::layoutAndCalculateWidgetRectInternal(initialRect, targetControlHeight, wind… in calculatePosition()
102 IntRect initialRect(100, 100, 256, 258); in TEST() local
103 MockPopupContent content(initialRect.size()); in TEST()
104 IntRect resultRect = calculatePosition(initialRect, &content); in TEST()
105 EXPECT_EQ(initialRect, resultRect); in TEST()
[all …]
/external/chromium_org/third_party/WebKit/Source/core/page/
DSpatialNavigation.cpp501 static LayoutRect rectToAbsoluteCoordinates(Frame* initialFrame, const LayoutRect& initialRect) in rectToAbsoluteCoordinates() argument
503 LayoutRect rect = initialRect; in rectToAbsoluteCoordinates()