Searched defs:overlayRect (Results 1 - 1 of 1) sorted by relevance

/external/webkit/Source/WebCore/inspector/
H A DDOMNodeHighlighter.cpp125 void drawElementTitle(GraphicsContext& context, Node* node, const IntRect& boundingBox, const IntRect& anchorBox, const FloatRect& overlayRect, WebCore::Settings* settings) argument
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, botto
231 FloatRect overlayRect = view->visibleContentRect(); local
[all...]

Completed in 65 milliseconds