Home
last modified time | relevance | path

Searched refs:availableSpace (Results 1 – 5 of 5) sorted by relevance

/external/chromium/chrome/browser/ui/cocoa/location_bar/
Domnibox_popup_view.mm21 NSRect availableSpace = [self bounds];
26 NSRect instantFrame = availableSpace;
29 availableSpace.origin.y = height;
30 availableSpace.size.height -= height;
36 if (NSHeight(availableSpace) < 0)
37 availableSpace.size.height = 0;
39 [matrixView setFrame:availableSpace];
/external/chromium/chrome/browser/resources/ntp4/
Dtile_page.js142 var availableSpace = this.tileGrid_.clientWidth - 2 * MIN_WIDE_MARGIN;
143 var wide = availableSpace >= grid.minWideWidth;
160 Math.min(Math.max(availableSpace, grid.minWideWidth),
/external/webkit/Source/WebCore/rendering/
DRenderBox.cpp2418 …const int availableSpace = containerLogicalWidth - (logicalLeftValue + logicalWidthValue + logical… in computePositionedLogicalWidthUsing() local
2423 if (availableSpace >= 0) { in computePositionedLogicalWidthUsing()
2424 marginLogicalLeftValue = availableSpace / 2; // split the difference in computePositionedLogicalWidthUsing()
2425 …marginLogicalRightValue = availableSpace - marginLogicalLeftValue; // account for odd valued diffe… in computePositionedLogicalWidthUsing()
2430 marginLogicalRightValue = availableSpace; // will be negative in computePositionedLogicalWidthUsing()
2432 marginLogicalLeftValue = availableSpace; // will be negative in computePositionedLogicalWidthUsing()
2439 marginLogicalLeftValue = availableSpace - marginLogicalRightValue; in computePositionedLogicalWidthUsing()
2443 marginLogicalRightValue = availableSpace - marginLogicalLeftValue; in computePositionedLogicalWidthUsing()
2451 …logicalLeftValue = (availableSpace + logicalLeftValue) - marginLogicalLeftValue - marginLogicalRig… in computePositionedLogicalWidthUsing()
2499 …const int availableSpace = containerLogicalWidth - (marginLogicalLeftValue + marginLogicalRightVal… in computePositionedLogicalWidthUsing() local
[all …]
DRenderFrameSet.h110 void layOutAxis(GridAxis&, const Length*, int availableSpace);
/external/chromium/chrome/browser/ui/cocoa/tabs/
Dtab_strip_controller.mm827 CGFloat availableSpace = 0;
829 availableSpace = NSHeight([tabStripView_ bounds]);
832 availableSpace = availableResizeWidth_;
834 availableSpace = NSWidth([tabStripView_ frame]);
838 availableSpace -= NSWidth([newTabButton_ frame]) + kNewTabButtonOffset;
840 availableSpace -= kIncognitoBadgeTabStripShrink;
846 availableSpace -= [fullscreenButton frame].size.width;
849 availableSpace -= [self indentForControls];
855 CGFloat availableSpaceForNonMini = availableSpace;
890 tabFrame.origin.y = availableSpace - tabFrame.size.height - offset;
[all …]