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

12

/external/webkit/Source/WebKit/qt/docs/webkitsnippets/webpage/
H A Dmain.cpp68 page.setViewportSize(page.mainFrame()->contentsSize());
/external/webkit/Source/WebKit/qt/tests/benchmarks/painting/
H A Dtst_painting.cpp127 QPixmap pixmap(mainFrame->contentsSize());
130 mainFrame->render(&painter, QRect(QPoint(0, 0), mainFrame->contentsSize()));
/external/webkit/Source/WebCore/platform/gtk/
H A DScrollViewGtk.cpp115 resetValues ? 0 : contentsSize().width(),
154 resetValues ? 0 : contentsSize().height(),
/external/webkit/Source/WebCore/rendering/
H A DRenderIFrame.cpp103 return absoluteBoundingBoxRect().intersects(IntRect(IntPoint(0, 0), view->contentsSize()));
H A DRenderListBox.h115 virtual IntSize contentsSize() const;
H A DRenderLayer.h584 virtual IntSize contentsSize() const;
/external/webkit/Source/WebKit/qt/Api/
H A Dqwebframe.h115 Q_PROPERTY(QSize contentsSize READ contentsSize)
190 QSize contentsSize() const;
H A Dqwebview.cpp163 QSize range = hitFrame->contentsSize() - hitFrame->geometry().size();
175 QSize s = frame ? frame->contentsSize() - frame->geometry().size() : QSize(0, 0);
/external/webkit/Source/WebCore/platform/
H A DScrollView.h165 IntSize contentsSize() const; // Always at least as big as the visibleWidth()/visibleHeight().
166 int contentsWidth() const { return contentsSize().width(); }
167 int contentsHeight() const { return contentsSize().height(); }
H A DScrollableArea.h126 virtual IntSize contentsSize() const { ASSERT_NOT_REACHED(); return IntSize(); } function in class:WebCore::ScrollableArea
H A DScrollView.cpp236 return IntRect(IntPoint(0, 0), contentsSize());
285 IntSize ScrollView::contentsSize() const function in class:WebCore::ScrollView
294 if (contentsSize() == newSize)
510 IntSize docSize = contentsSize();
549 IntSize newDocSize = contentsSize();
/external/webkit/Source/WebCore/platform/mac/
H A DScrollAnimatorMac.mm181 WebCore::IntSize contentsSize = _animator->scrollableArea()->contentsSize();
182 return NSMakeRect(0, 0, contentsSize.width(), contentsSize.height());
557 return max<float>(min<float>(position, m_scrollableArea->contentsSize().width() - m_scrollableArea->visibleWidth()), 0);
565 return max<float>(min<float>(position, m_scrollableArea->contentsSize().height() - m_scrollableArea->visibleHeight()), 0);
573 float newX = max<float>(min<float>(position.x(), m_scrollableArea->contentsSize().width() - m_scrollableArea->visibleWidth()), 0);
574 float newY = max<float>(min<float>(position.y(), m_scrollableArea->contentsSize().height() - m_scrollableArea->visibleHeight()), 0);
851 limitDelta.setHeight(m_scrollableArea->contentsSize().height() - (m_scrollableArea->visibleContentRect().maxY() + m_scrollableArea->scrollOrigin().y()));
859 limitDelta.setWidth(m_scrollableArea->contentsSize()
[all...]
/external/webkit/Source/WebKit/qt/declarative/
H A Dqdeclarativewebview_p.h124 Q_PROPERTY(QSize contentsSize READ contentsSize NOTIFY contentsSizeChanged)
194 QSize contentsSize() const;
H A Dqdeclarativewebview.cpp965 QSize QDeclarativeWebView::contentsSize() const function in class:QDeclarativeWebView
967 return page()->mainFrame()->contentsSize() * contentsScale();
/external/webkit/Source/WebCore/page/
H A DPrintContext.cpp259 scaledPageSize.scale(frame->view()->contentsSize().width() / pageRect.width());
323 scaledPageSize.scale(frame->view()->contentsSize().width() / pageRect.width());
H A DFrameView.cpp461 if (size == contentsSize())
490 ScrollView::setScrollOrigin(IntPoint(-root->docLeft(), -root->docTop()), !m_frame->document()->printing(), size == contentsSize());
2121 return IntRect(IntPoint(0, 0), contentsSize());
H A DFrame.cpp929 return IntRect(IntPoint(), m_view->contentsSize());
H A DSpatialNavigation.cpp487 IntSize size = frame->view()->contentsSize();
/external/webkit/Source/WebKit/chromium/public/
H A DWebFrame.h157 virtual WebSize contentsSize() const = 0;
/external/webkit/Source/WebKit2/WebProcess/WebPage/
H A DTiledDrawingArea.cpp218 contentsRect.intersect(IntRect(IntPoint::zero(), m_webPage->mainFrame()->coreFrame()->view()->contentsSize()));
H A DWebFrame.cpp303 return frameView->contentsSize();
/external/webkit/Tools/QtTestBrowser/
H A Dwebview.cpp116 QRectF itemRect(graphicsWebView()->geometry().topLeft(), graphicsWebView()->page()->mainFrame()->contentsSize());
/external/webkit/Source/WebKit/qt/tests/qwebview/
H A Dtst_qwebview.cpp380 view1.page()->setViewportSize(view1.page()->currentFrame()->contentsSize());
427 view2.page()->setViewportSize(view2.page()->currentFrame()->contentsSize());
/external/webkit/Source/WebKit/chromium/src/
H A DWebFrameImpl.h77 virtual WebSize contentsSize() const;
H A DWebFrameImpl.cpp575 WebSize WebFrameImpl::contentsSize() const function in class:WebKit::WebFrameImpl
577 return frame()->view()->contentsSize();

Completed in 3287 milliseconds

12