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

12

/external/chromium_org/third_party/WebKit/Source/web/
H A DPageScaleConstraintsSet.h64 void adjustFinalConstraintsToContentsSize(IntSize contentsSize, int nonOverlayScrollbarWidth);
66 void didChangeContentsSize(IntSize contentsSize, float pageScaleFactor);
78 IntSize mainFrameSize(const IntSize& contentsSize) const;
H A DPageScaleConstraintsSet.cpp83 void PageScaleConstraintsSet::adjustFinalConstraintsToContentsSize(IntSize contentsSize, int nonOverlayScrollbarWidth) argument
85 m_finalConstraints.fitToContentsWidth(contentsSize.width(), m_viewSize.width() - nonOverlayScrollbarWidth);
95 void PageScaleConstraintsSet::didChangeContentsSize(IntSize contentsSize, float pageScaleFactor) argument
100 if (contentsSize.width() > m_lastContentsWidth
106 m_lastContentsWidth = contentsSize.width();
145 IntSize PageScaleConstraintsSet::mainFrameSize(const IntSize& contentsSize) const
151 && contentsSize.width()
153 return IntSize(contentsSize.width(), computeHeightByAspectRatio(contentsSize.width(), m_viewSize));
H A DScrollbarGroup.h65 virtual IntSize contentsSize() const OVERRIDE;
H A DScrollbarGroup.cpp181 return IntPoint(contentsSize().width() - visibleWidth(), contentsSize().height() - visibleHeight());
204 IntSize ScrollbarGroup::contentsSize() const function in class:blink::ScrollbarGroup
H A DPopupListBox.cpp529 if (y < contentsSize().height())
925 if (contentsSize() == newSize)
978 bool needsVerticalScrollbar = contentsSize().height() > visibleHeight();
996 m_verticalScrollbar->setEnabled(contentsSize().height() > clientHeight);
997 m_verticalScrollbar->setProportion(clientHeight, contentsSize().height());
1044 IntPoint maximumOffset(contentsSize().width() - visibleWidth() - scrollOrigin().x(), contentsSize().height() - visibleHeight() - scrollOrigin().y());
H A DPopupMenuTest.cpp524 EXPECT_EQ(container->width(), listBox->contentsSize().width() + 2);
547 EXPECT_EQ(container->width(), listBox->contentsSize().width() + ScrollbarTheme::theme()->scrollbarThickness() + 2);
H A DPopupListBox.h115 virtual IntSize contentsSize() const OVERRIDE { return m_contentsSize; }
H A DWebRemoteFrameImpl.h47 virtual WebSize contentsSize() const OVERRIDE;
H A DWebLocalFrameImpl.h95 virtual WebSize contentsSize() const OVERRIDE;
H A DWebRemoteFrameImpl.cpp249 WebSize WebRemoteFrameImpl::contentsSize() const function in class:blink::WebRemoteFrameImpl
/external/chromium_org/third_party/WebKit/Source/platform/graphics/
H A DGraphicsLayerTest.cpp134 virtual IntSize contentsSize() const OVERRIDE { return IntSize(100, 100); }
145 return IntPoint(contentsSize().width() - visibleWidth(), contentsSize().height() - visibleHeight());
/external/chromium_org/third_party/WebKit/Source/core/frame/
H A DPinchViewport.cpp108 m_innerViewportScrollLayer->setSize(contentsSize());
351 return flooredIntPoint(FloatSize(contentsSize()) - visibleRect().size());
368 IntSize PinchViewport::contentsSize() const function in class:blink::PinchViewport
H A DPinchViewport.h125 virtual IntSize contentsSize() const OVERRIDE;
H A DFrameView.cpp421 if (size == contentsSize())
438 IntPoint maxScrollExtent(contentsSize().width() - scrollOrigin().x(), contentsSize().height() - scrollOrigin().y());
460 ScrollView::setScrollOrigin(IntPoint(-rect.x(), -rect.y()), !m_frame->document()->printing(), size == contentsSize());
578 if (scrollOrigin() == -documentRect.location() && contentsSize() == documentRect.size())
2269 IntSize contentsSize = this->contentsSize(); local
2271 if ((contentsSize.height() <= visibleContentSize.height() && contentsSize.width() <= visibleContentSize.width()))
/external/chromium_org/third_party/WebKit/Source/platform/scroll/
H A DScrollView.h127 virtual IntSize contentsSize() const OVERRIDE; // Always at least as big as the visibleWidth()/visibleHeight().
128 int contentsWidth() const { return contentsSize().width(); }
129 int contentsHeight() const { return contentsSize().height(); }
H A DScrollableArea.h170 virtual IntSize contentsSize() const = 0;
H A DScrollView.cpp194 IntSize ScrollView::contentsSize() const function in class:blink::ScrollView
201 if (contentsSize() == newSize)
438 computeScrollbarExistence(newHasHorizontalScrollbar, newHasVerticalScrollbar, contentsSize(), option);
/external/chromium_org/third_party/WebKit/Source/platform/mac/
H A DScrollAnimatorMac.mm215 blink::IntSize contentsSize = _scrollableArea->contentsSize();
216 return NSMakeRect(0, 0, contentsSize.width(), contentsSize.height());
1118 limitDelta.setHeight(m_scrollableArea->contentsSize().height() - (m_scrollableArea->visibleContentRect().maxY() + m_scrollableArea->scrollOrigin().y()));
1126 limitDelta.setWidth(m_scrollableArea->contentsSize().width() - (m_scrollableArea->visibleContentRect().maxX() + m_scrollableArea->scrollOrigin().x()));
/external/chromium_org/third_party/WebKit/Source/core/page/
H A DPrintContext.cpp209 scaledPageSize.scale(frame->view()->contentsSize().width() / pageRect.width());
339 scaledPageSize.scale(frame->view()->contentsSize().width() / pageRect.width());
/external/chromium_org/third_party/WebKit/Source/core/page/scrolling/
H A DScrollingCoordinator.cpp167 scrollingWebLayer->setBounds(frameView->contentsSize());
175 scrollLayer->setBounds(toLocalFrame(child)->view()->contentsSize());
366 webLayer->setBounds(scrollableArea->contentsSize());
984 return blink::WebSize(frameView->contentsSize()) != scrollLayer->bounds();
/external/chromium_org/third_party/WebKit/Source/core/rendering/
H A DRenderLayerScrollableArea.h100 virtual IntSize contentsSize() const OVERRIDE;
/external/chromium_org/android_webview/renderer/
H A Daw_render_view_ext.cc213 contents_size = main_frame->contentsSize();
/external/chromium_org/third_party/WebKit/public/web/
H A DWebFrame.h179 virtual WebSize contentsSize() const = 0;
/external/chromium_org/third_party/WebKit/Source/core/rendering/compositing/
H A DCompositedLayerMapping.cpp674 FloatSize contentsSize = relativeCompositingBounds.size(); local
690 updateForegroundLayerGeometry(contentsSize, clippingBox);
691 updateBackgroundLayerGeometry(contentsSize);
724 const IntSize& contentsSize = relativeCompositingBounds.size(); local
725 if (oldSize != contentsSize)
726 m_graphicsLayer->setSize(contentsSize);
/external/chromium_org/third_party/WebKit/Source/core/inspector/
H A DInspectorPageAgent.cpp1216 IntSize contentsSize = m_page->deprecatedLocalMainFrame()->view()->contentsSize();
1221 .setContentsWidth(contentsSize.width())
1222 .setContentsHeight(contentsSize.height())

Completed in 316 milliseconds

12