Home
last modified time | relevance | path

Searched refs:contentsSize (Results 1 – 25 of 31) sorted by relevance

12

/external/chromium_org/third_party/WebKit/Source/web/
DPageScaleConstraintsSet.cpp84 …tsSet::adjustFinalConstraintsToContentsSize(IntSize viewSize, IntSize contentsSize, int nonOverlay… in adjustFinalConstraintsToContentsSize() argument
86 …m_finalConstraints.fitToContentsWidth(contentsSize.width(), viewSize.width() - nonOverlayScrollbar… in adjustFinalConstraintsToContentsSize()
96 void PageScaleConstraintsSet::didChangeContentsSize(IntSize contentsSize, float pageScaleFactor) in didChangeContentsSize() argument
101 if (contentsSize.width() > m_lastContentsWidth in didChangeContentsSize()
107 m_lastContentsWidth = contentsSize.width(); in didChangeContentsSize()
DPageScaleConstraintsSet.h63 …ConstraintsToContentsSize(WebCore::IntSize viewSize, WebCore::IntSize contentsSize, int nonOverlay…
65 void didChangeContentsSize(WebCore::IntSize contentsSize, float pageScaleFactor);
DScrollbarGroup.cpp189 …return IntPoint(contentsSize().width() - visibleWidth(), contentsSize().height() - visibleHeight()… in maximumScrollPosition()
212 IntSize ScrollbarGroup::contentsSize() const in contentsSize() function in blink::ScrollbarGroup
DScrollbarGroup.h69 virtual WebCore::IntSize contentsSize() const OVERRIDE;
DWebViewImpl.cpp1102 maxSize = mainFrame()->contentsSize(); in widenRectWithinPageBounds()
1693 int oldContentsWidth = contentsSize().width(); in resize()
1726 … float contentsWidthRatio = static_cast<float>(contentsSize().width()) / oldContentsWidth; in resize()
2858 …IntPoint maxScrollExtent(contentsSize().width() - view->scrollOrigin().x(), contentsSize().height(… in clampOffsetAtScale()
2982 …m_pageScaleConstraintsSet.adjustFinalConstraintsToContentsSize(m_size, contentsSize(), verticalScr… in refreshPageScaleFactorAfterLayout()
3062 IntSize WebViewImpl::contentsSize() const in contentsSize() function in blink::WebViewImpl
3707 m_pageScaleConstraintsSet.didChangeContentsSize(contentsSize(), pageScaleFactor()); in didChangeContentsSize()
DWebFrameImpl.h91 virtual WebSize contentsSize() const;
DWebFrameImpl.cpp607 WebSize WebFrameImpl::contentsSize() const in contentsSize() function in blink::WebFrameImpl
609 return frame()->view()->contentsSize(); in contentsSize()
1845 IntSize currentContentsSize = contentsSize(); in updateFindMatchRects()
DWebViewImpl.h566 WebCore::IntSize contentsSize() const;
/external/chromium_org/third_party/WebKit/Source/web/tests/
DGraphicsLayerTest.cpp128 virtual IntSize contentsSize() const OVERRIDE { return IntSize(100, 100); } in contentsSize() function in __anon759da6710111::FakeScrollableArea
140 …return IntPoint(contentsSize().width() - visibleWidth(), contentsSize().height() - visibleHeight()… in maximumScrollPosition()
DWebFrameTest.cpp812 EXPECT_EQ(divWidth, webViewHelper.webView()->mainFrame()->contentsSize().width); in TEST_F()
813 EXPECT_EQ(divHeight, webViewHelper.webView()->mainFrame()->contentsSize().height); in TEST_F()
838 …(viewportWidth, webViewHelper.webViewImpl()->mainFrameImpl()->frameView()->contentsSize().width()); in TEST_F()
843 … EXPECT_EQ(980, webViewHelper.webViewImpl()->mainFrameImpl()->frameView()->contentsSize().width()); in TEST_F()
1048 …(viewportWidth, webViewHelper.webViewImpl()->mainFrameImpl()->frameView()->contentsSize().width()); in TEST_F()
1049 …iewportHeight, webViewHelper.webViewImpl()->mainFrameImpl()->frameView()->contentsSize().height()); in TEST_F()
1070 …wportWidth / 2, webViewHelper.webViewImpl()->mainFrameImpl()->frameView()->contentsSize().width()); in TEST_F()
1071 …ortHeight / 2, webViewHelper.webViewImpl()->mainFrameImpl()->frameView()->contentsSize().height()); in TEST_F()
1090 … EXPECT_EQ(980, webViewHelper.webViewImpl()->mainFrameImpl()->frameView()->contentsSize().width()); in TEST_F()
1091 …iewportHeight, webViewHelper.webViewImpl()->mainFrameImpl()->frameView()->contentsSize().height()); in TEST_F()
[all …]
/external/chromium_org/third_party/WebKit/Source/platform/scroll/
DScrollView.h142 …virtual IntSize contentsSize() const OVERRIDE; // Always at least as big as the visibleWidth()/vis…
143 int contentsWidth() const { return contentsSize().width(); } in contentsWidth()
144 int contentsHeight() const { return contentsSize().height(); } in contentsHeight()
DScrollView.cpp214 IntSize ScrollView::contentsSize() const in contentsSize() function in WebCore::ScrollView
221 if (contentsSize() == newSize) in setContentsSize()
372 IntSize docSize = contentsSize(); in updateScrollbars()
425 IntSize newDocSize = contentsSize(); in updateScrollbars()
DScrollableArea.h145 virtual IntSize contentsSize() const = 0;
/external/chromium_org/ui/app_list/cocoa/
Dapp_list_view_controller.mm217 NSSize contentsSize = [contentsView_ frame].size;
220 contentsSize.width, contentsSize.height);
/external/chromium_org/third_party/WebKit/Source/core/rendering/
DRenderListBox.h118 virtual IntSize contentsSize() const OVERRIDE;
DRenderLayerScrollableArea.h103 virtual IntSize contentsSize() const OVERRIDE;
DCompositedLayerMapping.cpp640 FloatSize contentsSize = relativeCompositingBounds.size(); in updateGraphicsLayerGeometry() local
646 if (oldSize != contentsSize) { in updateGraphicsLayerGeometry()
647 m_graphicsLayer->setSize(contentsSize); in updateGraphicsLayerGeometry()
715 FloatSize foregroundSize = contentsSize; in updateGraphicsLayerGeometry()
734 FloatSize backgroundSize = contentsSize; in updateGraphicsLayerGeometry()
DRenderListBox.cpp805 IntSize RenderListBox::contentsSize() const in contentsSize() function in WebCore::RenderListBox
/external/chromium_org/third_party/WebKit/Source/core/page/
DPrintContext.cpp252 scaledPageSize.scale(frame->view()->contentsSize().width() / pageRect.width()); in pageNumberForElement()
357 scaledPageSize.scale(frame->view()->contentsSize().width() / pageRect.width()); in numberOfPages()
DSpatialNavigation.cpp482 LayoutSize size = frame->view()->contentsSize(); in canScrollInDirection()
/external/chromium_org/third_party/WebKit/Source/platform/mac/
DScrollAnimatorMac.mm214 WebCore::IntSize contentsSize = _scrollableArea->contentsSize();
215 return NSMakeRect(0, 0, contentsSize.width(), contentsSize.height());
1038 …limitDelta.setHeight(m_scrollableArea->contentsSize().height() - (m_scrollableArea->visibleContent…
1046 …limitDelta.setWidth(m_scrollableArea->contentsSize().width() - (m_scrollableArea->visibleContentRe…
/external/chromium_org/third_party/WebKit/Source/core/frame/
DFrameView.cpp542 if (size == contentsSize()) in setContentsSize()
567 …llOrigin(IntPoint(-rect.x(), -rect.y()), !m_frame->document()->printing(), size == contentsSize()); in adjustViewSize()
2507 return IntRect(IntPoint(), contentsSize()); in windowClipRect()
2637 IntSize contentsSize = this->contentsSize(); in isScrollable() local
2639 …if ((contentsSize.height() <= visibleContentSize.height() && contentsSize.width() <= visibleConten… in isScrollable()
/external/chromium_org/android_webview/renderer/
Daw_render_view_ext.cc248 contents_size = main_frame->contentsSize(); in CheckContentsSize()
/external/chromium_org/third_party/WebKit/public/web/
DWebFrame.h186 virtual WebSize contentsSize() const = 0;
/external/chromium_org/third_party/WebKit/Source/core/page/scrolling/
DScrollingCoordinator.cpp164 scrollLayer->setBounds(child->view()->contentsSize()); in updateAfterCompositingChange()

12