Home
last modified time | relevance | path

Searched refs:parentRect (Results 1 – 19 of 19) sorted by relevance

/external/chromium_org/third_party/WebKit/Source/platform/
DWidget.cpp70 IntRect parentRect = parentWidget->convertFromRootView(rootRect); in convertFromRootView() local
71 return convertFromContainingView(parentRect); in convertFromRootView()
79 IntRect parentRect = convertToContainingView(localRect); in convertToRootView() local
80 return parentWidget->convertToRootView(parentRect); in convertToRootView()
106 IntRect parentRect = parentWidget->convertFromContainingWindow(windowRect); in convertFromContainingWindow() local
107 return convertFromContainingView(parentRect); in convertFromContainingWindow()
115 IntRect parentRect = convertToContainingView(localRect); in convertToContainingWindow() local
116 return parentWidget->convertToContainingWindow(parentRect); in convertToContainingWindow()
142 IntRect parentRect(localRect); in convertToContainingView() local
143 parentRect.setLocation(parentWidget->convertChildToSelf(this, localRect.location())); in convertToContainingView()
[all …]
/external/chromium_org/third_party/WebKit/Source/core/accessibility/
DAXSpinButton.cpp102 LayoutRect parentRect = parentObject()->elementRect(); in elementRect() local
104 parentRect.setHeight(parentRect.height() / 2); in elementRect()
106 parentRect.setY(parentRect.y() + parentRect.height() / 2); in elementRect()
107 parentRect.setHeight(parentRect.height() / 2); in elementRect()
110 return parentRect; in elementRect()
DAXListBox.cpp149 LayoutRect parentRect = elementRect(); in elementAccessibilityHitTest() local
154 … LayoutRect rect = toRenderListBox(m_renderer)->itemBoundingBoxRect(parentRect.location(), i); in elementAccessibilityHitTest()
DAXListBoxOption.cpp109 …LayoutRect parentRect = listBoxRenderer->document().axObjectCache()->getOrCreate(listBoxRenderer)-… in elementRect() local
112 rect = toRenderListBox(listBoxRenderer)->itemBoundingBoxRect(parentRect.location(), index); in elementRect()
DAXNodeObject.cpp1270 LayoutRect parentRect = positionProvider->elementRect(); in elementRect() local
1271 …boundingBox.setSize(LayoutSize(parentRect.width(), LayoutUnit(std::min(10.0f, parentRect.height().… in elementRect()
1272 boundingBox.setLocation(parentRect.location()); in elementRect()
/external/chromium/chrome/browser/resources/shared/js/cr/
Dui.js122 var parentRect = parentEl.getBoundingClientRect();
123 var startPos = rtl ? parentRect.right - inputRect.right :
124 inputRect.left - parentRect.left;
/external/chromium_org/chrome/common/extensions/docs/examples/extensions/plugin_settings/domui/js/cr/
Dui.js122 var parentRect = parentEl.getBoundingClientRect();
123 var startPos = rtl ? parentRect.right - inputRect.right :
124 inputRect.left - parentRect.left;
/external/chromium_org/chrome/common/extensions/docs/examples/api/fontSettings/js/cr/
Dui.js123 var parentRect = parentEl.getBoundingClientRect();
124 var startPos = rtl ? parentRect.right - inputRect.right :
125 inputRect.left - parentRect.left;
/external/chromium_org/ui/webui/resources/js/cr/
Dui.js123 var parentRect = parentEl.getBoundingClientRect();
124 var startPos = rtl ? parentRect.right - inputRect.right :
125 inputRect.left - parentRect.left;
/external/chromium_org/third_party/WebKit/Source/platform/scroll/
DScrollableArea.h119 …t convertFromContainingViewToScrollbar(const Scrollbar* scrollbar, const IntRect& parentRect) const in convertFromContainingViewToScrollbar() argument
121 return scrollbar->Widget::convertFromContainingView(parentRect); in convertFromContainingViewToScrollbar()
DScrollbar.cpp571 IntRect Scrollbar::convertFromContainingView(const IntRect& parentRect) const in convertFromContainingView()
574 return m_scrollableArea->convertFromContainingViewToScrollbar(this, parentRect); in convertFromContainingView()
576 return Widget::convertFromContainingView(parentRect); in convertFromContainingView()
DScrollView.cpp1044 …::convertFromContainingViewToScrollbar(const Scrollbar* scrollbar, const IntRect& parentRect) const in convertFromContainingViewToScrollbar()
1046 IntRect newRect = parentRect; in convertFromContainingViewToScrollbar()
/external/chromium_org/chrome/browser/ui/cocoa/
Dhover_close_button.mm208 NSRect parentRect = [[self superview] bounds];
209 if (NSIntersectsRect(buttonRect, parentRect))
Dconfirm_bubble_cocoa.mm263 NSRect parentRect = [parent_ frame];
265 frameRect.origin.x = (NSWidth(parentRect) - NSWidth(frameRect)) / 2;
266 frameRect.origin.y = NSHeight(parentRect) - NSHeight(frameRect);
/external/chromium_org/third_party/WebKit/Source/core/rendering/
DRenderListBox.cpp765 …::convertFromContainingViewToScrollbar(const Scrollbar* scrollbar, const IntRect& parentRect) const in convertFromContainingViewToScrollbar()
769 return parentRect; in convertFromContainingViewToScrollbar()
771 IntRect rect = view->frameView()->convertToRenderer(this, parentRect); in convertFromContainingViewToScrollbar()
DRenderLayerScrollableArea.cpp279 …::convertFromContainingViewToScrollbar(const Scrollbar* scrollbar, const IntRect& parentRect) const in convertFromContainingViewToScrollbar()
283 return parentRect; in convertFromContainingViewToScrollbar()
285 IntRect rect = view->frameView()->convertToRenderer(m_box, parentRect); in convertFromContainingViewToScrollbar()
DRenderObject.cpp3363 IntRect parentRect = parent()->absoluteBoundingBoxRect(); in isContainedInParentBoundingBox() local
3364 return parentRect.contains(absoluteBoundingBoxRect()); in isContainedInParentBoundingBox()
/external/chromium_org/third_party/WebKit/Source/core/page/
DSpatialNavigation.cpp682 LayoutRect parentRect = nodeRectInAbsoluteCoordinates(parentNode); in canBeScrolledIntoView() local
683 if (!candidateRect.intersects(parentRect)) { in canBeScrolledIntoView()
/external/chromium_org/third_party/WebKit/Source/core/frame/
DFrameView.cpp3242 IntRect FrameView::convertFromContainingView(const IntRect& parentRect) const in convertFromContainingView()
3251 return parentRect; in convertFromContainingView()
3253 IntRect rect = parentView->convertToRenderer(renderer, parentRect); in convertFromContainingView()
3260 return Widget::convertFromContainingView(parentRect); in convertFromContainingView()
3263 return parentRect; in convertFromContainingView()