Searched refs:contentsSize (Results 1 - 25 of 32) sorted by relevance

12

/external/chromium_org/third_party/WebKit/Source/core/page/
H A DPageScaleConstraintsSet.h63 void adjustFinalConstraintsToContentsSize(IntSize viewSize, IntSize contentsSize, int nonOverlayScrollbarWidth);
65 void didChangeContentsSize(IntSize contentsSize, float pageScaleFactor);
H A DPageScaleConstraintsSet.cpp80 void PageScaleConstraintsSet::adjustFinalConstraintsToContentsSize(IntSize viewSize, IntSize contentsSize, int nonOverlayScrollbarWidth) argument
82 m_finalConstraints.fitToContentsWidth(contentsSize.width(), viewSize.width() - nonOverlayScrollbarWidth);
92 void PageScaleConstraintsSet::didChangeContentsSize(IntSize contentsSize, float pageScaleFactor) argument
97 if (contentsSize.width() > m_lastContentsWidth
103 m_lastContentsWidth = contentsSize.width();
H A DPrintContext.cpp253 scaledPageSize.scale(frame->view()->contentsSize().width() / pageRect.width());
358 scaledPageSize.scale(frame->view()->contentsSize().width() / pageRect.width());
H A DFrameView.cpp518 if (size == contentsSize())
550 ScrollView::setScrollOrigin(IntPoint(-rect.x(), -rect.y()), !m_frame->document()->printing(), size == contentsSize());
2303 // Update various sizes including contentsSize, scrollHeight, etc.
2422 return IntRect(IntPoint(), contentsSize());
2539 IntSize contentsSize = this->contentsSize(); local
2541 if ((contentsSize.height() <= visibleContentSize.height() && contentsSize.width() <= visibleContentSize.width()))
H A DSpatialNavigation.cpp483 LayoutSize size = frame->view()->contentsSize();
/external/chromium_org/third_party/WebKit/Source/web/
H A DWebViewBenchmarkSupportImpl.cpp79 IntSize contentsSize = view->contentsSize(); local
80 paintSize = WebRect(0, 0, contentsSize.width(), contentsSize.height());
H A DScrollbarGroup.cpp189 return IntPoint(contentsSize().width() - visibleWidth(), contentsSize().height() - visibleHeight());
212 IntSize ScrollbarGroup::contentsSize() const function in class:WebKit::ScrollbarGroup
H A DScrollbarGroup.h69 virtual WebCore::IntSize contentsSize() const OVERRIDE;
H A DWebFrameImpl.h88 virtual WebSize contentsSize() const;
H A DWebViewImpl.cpp1110 maxSize = mainFrame()->contentsSize();
1687 int oldContentsWidth = contentsSize().width();
1720 float contentsWidthRatio = static_cast<float>(contentsSize().width()) / oldContentsWidth;
2886 IntPoint maxScrollExtent(contentsSize().width() - view->scrollOrigin().x(), contentsSize().height() - view->scrollOrigin().y());
3038 m_pageScaleConstraintsSet.adjustFinalConstraintsToContentsSize(m_size, contentsSize(), verticalScrollbarWidth);
3087 IntSize WebViewImpl::contentsSize() const function in class:WebKit::WebViewImpl
3748 m_pageScaleConstraintsSet.didChangeContentsSize(contentsSize(), pageScaleFactor());
H A DWebViewImpl.h574 WebCore::IntSize contentsSize() const;
H A DWebFrameImpl.cpp601 WebSize WebFrameImpl::contentsSize() const function in class:WebKit::WebFrameImpl
603 return frame()->view()->contentsSize();
1853 IntSize currentContentsSize = contentsSize();
/external/chromium_org/third_party/WebKit/Source/web/tests/
H A DGraphicsLayerTest.cpp125 virtual IntSize contentsSize() const OVERRIDE { return IntSize(100, 100); }
136 return IntPoint(contentsSize().width() - visibleWidth(), contentsSize().height() - visibleHeight());
H A DWebFrameTest.cpp478 EXPECT_EQ(divWidth, m_webView->mainFrame()->contentsSize().width);
479 EXPECT_EQ(divHeight, m_webView->mainFrame()->contentsSize().height);
504 EXPECT_EQ(viewportWidth, webViewImpl()->mainFrameImpl()->frameView()->contentsSize().width());
509 EXPECT_EQ(980, webViewImpl()->mainFrameImpl()->frameView()->contentsSize().width());
682 EXPECT_EQ(viewportWidth, webViewImpl->mainFrameImpl()->frameView()->contentsSize().width());
683 EXPECT_EQ(viewportHeight, webViewImpl->mainFrameImpl()->frameView()->contentsSize().height());
705 EXPECT_EQ(viewportWidth / 2, webViewImpl->mainFrameImpl()->frameView()->contentsSize().width());
706 EXPECT_EQ(viewportHeight / 2, webViewImpl->mainFrameImpl()->frameView()->contentsSize().height());
726 EXPECT_EQ(980, webViewImpl->mainFrameImpl()->frameView()->contentsSize().width());
727 EXPECT_EQ(980.0 / viewportWidth * viewportHeight, webViewImpl->mainFrameImpl()->frameView()->contentsSize()
[all...]
/external/chromium_org/third_party/WebKit/Source/core/platform/
H A DScrollView.h144 virtual IntSize contentsSize() const OVERRIDE; // Always at least as big as the visibleWidth()/visibleHeight().
145 int contentsWidth() const { return contentsSize().width(); }
146 int contentsHeight() const { return contentsSize().height(); }
H A DScrollView.cpp246 IntSize ScrollView::contentsSize() const function in class:WebCore::ScrollView
253 if (contentsSize() == newSize)
399 IntSize docSize = contentsSize();
452 IntSize newDocSize = contentsSize();
H A DScrollableArea.h148 virtual IntSize contentsSize() const = 0;
/external/chromium_org/third_party/WebKit/Source/core/rendering/
H A DRenderListBox.h118 virtual IntSize contentsSize() const OVERRIDE;
H A DRenderLayerBacking.cpp574 FloatSize contentsSize = relativeCompositingBounds.size(); local
580 if (oldSize != contentsSize) {
581 m_graphicsLayer->setSize(contentsSize);
644 FloatSize foregroundSize = contentsSize;
663 FloatSize backgroundSize = contentsSize;
H A DRenderListBox.cpp798 IntSize RenderListBox::contentsSize() const function in class:WebCore::RenderListBox
/external/chromium_org/third_party/WebKit/Source/core/platform/mac/
H A DScrollAnimatorMac.mm216 WebCore::IntSize contentsSize = _scrollableArea->contentsSize();
217 return NSMakeRect(0, 0, contentsSize.width(), contentsSize.height());
1048 limitDelta.setHeight(m_scrollableArea->contentsSize().height() - (m_scrollableArea->visibleContentRect().maxY() + m_scrollableArea->scrollOrigin().y()));
1056 limitDelta.setWidth(m_scrollableArea->contentsSize().width() - (m_scrollableArea->visibleContentRect().maxX() + m_scrollableArea->scrollOrigin().x()));
H A DThemeMac.mm551 [flippedView setFrameSize:NSSizeFromCGSize(scrollView->contentsSize())];
/external/chromium_org/android_webview/renderer/
H A Daw_render_view_ext.cc245 contents_size = main_frame->contentsSize();
/external/chromium_org/third_party/WebKit/public/web/
H A DWebFrame.h153 virtual WebSize contentsSize() const = 0;
/external/chromium_org/third_party/WebKit/Source/core/page/scrolling/
H A DScrollingCoordinator.cpp143 scrollLayer->setBounds(frameView->contentsSize());

Completed in 954 milliseconds

12