HomeSort by relevance Sort by last modified time
    Searched refs:overlayRect (Results 1 - 2 of 2) sorted by null

  /external/webkit/Source/WebCore/inspector/
DOMNodeHighlighter.cpp 125 void drawElementTitle(GraphicsContext& context, Node* node, const IntRect& boundingBox, const IntRect& anchorBox, const FloatRect& overlayRect, WebCore::Settings* settings)
182 // If the tip sticks beyond the right of overlayRect, right-align the tip with the said boundary.
183 if (titleRect.maxX() > overlayRect.maxX())
184 dx = overlayRect.maxX() - titleRect.maxX();
186 // If the tip sticks beyond the left of overlayRect, left-align the tip with the said boundary.
187 if (titleRect.x() + dx < overlayRect.x())
188 dx = overlayRect.x() - titleRect.x() - borderWidthPx;
190 // If the tip sticks beyond the bottom of overlayRect, show the tip at top of bounding box.
191 if (titleRect.maxY() > overlayRect.maxY()) {
193 // If the tip still sticks beyond the bottom of overlayRect, bottom-align the tip with the said boundary
    [all...]
  /external/chromium/chrome/browser/resources/bookmark_manager/js/
main.js 790 var overlayRect = overlay.getBoundingClientRect();
792 overlay.style.top = targetRect.top - overlayRect.height / 2 + 'px';
795 overlayRect.height / 2 + 'px';
    [all...]

Completed in 783 milliseconds