Searched refs:anchorBox (Results 1 - 7 of 7) sorted by relevance

/external/chromium_org/third_party/WebKit/Source/devtools/front_end/ui/
H A DSuggestBox.js79 * @param {!AnchorBox} anchorBox
81 setPosition: function(anchorBox)
83 this._updateBoxPosition(anchorBox);
87 * @param {!AnchorBox} anchorBox
89 _updateBoxPosition: function(anchorBox)
92 if (this._lastAnchorBox && this._lastAnchorBox.equals(anchorBox))
94 this._lastAnchorBox = anchorBox;
98 anchorBox = anchorBox.relativeToElement(container);
101 var aboveHeight = anchorBox
[all...]
H A DPopover.js162 var anchorBox = anchorElement instanceof AnchorBox ? anchorElement : anchorElement.boxInWindow(window); variable
163 anchorBox = anchorBox.relativeToElement(container);
167 var roomAbove = anchorBox.y;
168 var roomBelow = totalHeight - anchorBox.y - anchorBox.height;
172 if ((anchorBox.y > newElementPosition.height + arrowHeight + borderRadius) || (arrowDirection === WebInspector.Popover.Orientation.Bottom))
173 newElementPosition.y = anchorBox.y - newElementPosition.height - arrowHeight;
176 newElementPosition.height = anchorBox.y - borderRadius * 2 - arrowHeight;
185 newElementPosition.y = anchorBox
[all...]
H A DDOMExtension.js504 * @param {?AnchorBox} anchorBox
507 AnchorBox.prototype.equals = function(anchorBox)
509 return !!anchorBox && this.x === anchorBox.x && this.y === anchorBox.y && this.width === anchorBox.width && this.height === anchorBox.height;
542 var anchorBox = this.offsetRelativeToWindow(window);
543 anchorBox.width = Math.min(this.offsetWidth, window.innerWidth - anchorBox
[all...]
/external/chromium_org/third_party/WebKit/Source/core/rendering/
H A DEllipsisBox.cpp83 InlineBox* anchorBox = lastLine->lastChild();
84 if (!anchorBox || !anchorBox->renderer().style()->isLink())
87 return anchorBox;
H A DRenderDeprecatedFlexibleBox.cpp933 InlineBox* anchorBox = lastLine->lastChild(); local
934 if (anchorBox && anchorBox->renderer().style()->isLink())
935 totalWidth = anchorBox->logicalWidth() + font.width(constructTextRun(this, font, ellipsisAndSpace, 2, style(), style()->direction()));
937 anchorBox = 0;
960 lastVisibleLine->placeEllipsis(anchorBox ? ellipsisAndSpaceStr : ellipsisStr, leftToRight, blockLeftEdge.toFloat(), blockRightEdge.toFloat(), totalWidth, anchorBox);
/external/chromium_org/third_party/WebKit/Source/devtools/front_end/sources/
H A DJavaScriptSourceFrame.js509 var anchorBox = new AnchorBox(leftCorner.x, leftCorner.y, rightCorner.x - leftCorner.x, leftCorner.height);
510 anchorBox.highlight = {
515 anchorBox.forSelection = true;
516 return anchorBox;
532 var anchorBox = new AnchorBox(leftCorner.x, leftCorner.y, rightCorner.x - leftCorner.x, leftCorner.height);
534 anchorBox.highlight = {
540 return anchorBox;
543 _resolveObjectForPopover: function(anchorBox, showCallback, objectGroupName)
550 var lineNumber = anchorBox.highlight.lineNumber;
551 var startHighlight = anchorBox
[all...]
/external/chromium_org/third_party/WebKit/Source/devtools/front_end/components/
H A DFilterBar.js338 var anchorBox = this._filterInputElement.boxInWindow().relativeTo(new AnchorBox(-3, 0));
339 this._suggestBox.updateSuggestions(anchorBox, suggestions, 0, true, "");

Completed in 274 milliseconds