Home
last modified time | relevance | path

Searched refs:contentsWidth (Results 1 – 12 of 12) sorted by relevance

/external/chromium_org/third_party/WebKit/Source/core/page/
DPageScaleConstraints.cpp78 void PageScaleConstraints::fitToContentsWidth(float contentsWidth, int viewWidthNotIncludingScrollb… in fitToContentsWidth() argument
80 if (!contentsWidth || !viewWidthNotIncludingScrollbars) in fitToContentsWidth()
85 minimumScale = std::max(minimumScale, viewWidthNotIncludingScrollbars / contentsWidth); in fitToContentsWidth()
DPageScaleConstraints.h51 void fitToContentsWidth(float contentsWidth, int viewWidthNotIncludingScrollbars);
DPrintContext.cpp183 …float viewLogicalWidth = useViewWidth ? m_frame->view()->contentsWidth() : m_frame->view()->conten… in computeAutomaticScaleFactor()
DEventHandler.cpp2851 rightAligned ? view->contentsWidth() - kContextMenuMargin : kContextMenuMargin, in sendContextMenuEventForKey()
/external/chromium_org/third_party/WebKit/Source/platform/scroll/
DScrollView.cpp230 …IntPoint maximumOffset(contentsWidth() - visibleWidth() - scrollOrigin().x(), contentsHeight() - v… in maximumScrollPosition()
457 m_horizontalScrollbar->setEnabled(contentsWidth() > clientWidth); in updateScrollbars()
458 m_horizontalScrollbar->setProportion(clientWidth, contentsWidth()); in updateScrollbars()
955 } else if (contentsWidth() && physicalScrollX > contentsWidth() - visibleWidth()) { in calculateOverhangAreasForPainting()
956 int width = physicalScrollX - (contentsWidth() - visibleWidth()); in calculateOverhangAreasForPainting()
DScrollView.h143 int contentsWidth() const { return contentsSize().width(); } in contentsWidth() function
/external/chromium_org/third_party/WebKit/Source/core/html/
DHTMLBodyElement.cpp288 return view ? adjustForZoom(view->contentsWidth(), &document) : 0; in scrollWidth()
/external/chromium/chrome/browser/autocomplete/
Dautocomplete_popup_view_mac_unittest.mm501 const float contentsWidth = [contents sizeWithAttributes:attributes].width;
505 float cellWidth = ceil(contentsWidth / 0.7);
/external/chromium_org/chrome/browser/ui/cocoa/omnibox/
Domnibox_popup_view_mac_unittest.mm528 const float contentsWidth = [contents sizeWithAttributes:attributes].width;
532 float cellWidth = ceil(contentsWidth / 0.7);
/external/chromium_org/third_party/WebKit/Source/core/rendering/
DRenderLayer.cpp3556 LayoutUnit contentsWidth = frameView->contentsWidth(); in calculateLayerBounds() local
3559 … boundingBoxRect.setWidth(max(boundingBoxRect.width(), contentsWidth - boundingBoxRect.x())); in calculateLayerBounds()
DRenderBox.cpp560 xOffset = max(0, min(frameView->contentsWidth(), xOffset)); in scrollRectToVisible()
1657 rw = frameView->contentsWidth(); in repaintLayerRectsForImage()
/external/chromium_org/third_party/WebKit/Source/core/frame/
DFrameView.cpp1148 …updateOverflowStatus(layoutSize().width() < contentsWidth(), layoutSize().height() < contentsHeigh… in layout()