Home
last modified time | relevance | path

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

12

/external/chromium_org/third_party/WebKit/Source/web/
DPageScaleConstraintsSet.cpp83 void PageScaleConstraintsSet::adjustFinalConstraintsToContentsSize(IntSize contentsSize, int nonOve… in adjustFinalConstraintsToContentsSize() argument
85 …m_finalConstraints.fitToContentsWidth(contentsSize.width(), m_viewSize.width() - nonOverlayScrollb… in adjustFinalConstraintsToContentsSize()
95 void PageScaleConstraintsSet::didChangeContentsSize(IntSize contentsSize, float pageScaleFactor) in didChangeContentsSize() argument
100 if (contentsSize.width() > m_lastContentsWidth in didChangeContentsSize()
106 m_lastContentsWidth = contentsSize.width(); in didChangeContentsSize()
145 IntSize PageScaleConstraintsSet::mainFrameSize(const IntSize& contentsSize) const in mainFrameSize()
151 && contentsSize.width() in mainFrameSize()
153 …return IntSize(contentsSize.width(), computeHeightByAspectRatio(contentsSize.width(), m_viewSize)); in mainFrameSize()
DPageScaleConstraintsSet.h64 void adjustFinalConstraintsToContentsSize(IntSize contentsSize, int nonOverlayScrollbarWidth);
66 void didChangeContentsSize(IntSize contentsSize, float pageScaleFactor);
78 IntSize mainFrameSize(const IntSize& contentsSize) const;
DScrollbarGroup.cpp181 …return IntPoint(contentsSize().width() - visibleWidth(), contentsSize().height() - visibleHeight()… in maximumScrollPosition()
204 IntSize ScrollbarGroup::contentsSize() const in contentsSize() function in blink::ScrollbarGroup
DPopupListBox.cpp529 if (y < contentsSize().height()) in pointToRowIndex()
925 if (contentsSize() == newSize) in setContentsSize()
978 bool needsVerticalScrollbar = contentsSize().height() > visibleHeight(); in adjustScrollbarExistence()
996 m_verticalScrollbar->setEnabled(contentsSize().height() > clientHeight); in updateScrollbarGeometry()
997 m_verticalScrollbar->setProportion(clientHeight, contentsSize().height()); in updateScrollbarGeometry()
1044 …IntPoint maximumOffset(contentsSize().width() - visibleWidth() - scrollOrigin().x(), contentsSize(… in maximumScrollPosition()
DScrollbarGroup.h65 virtual IntSize contentsSize() const OVERRIDE;
DPopupMenuTest.cpp524 EXPECT_EQ(container->width(), listBox->contentsSize().width() + 2); in TEST_F()
547 …EXPECT_EQ(container->width(), listBox->contentsSize().width() + ScrollbarTheme::theme()->scrollbar… in TEST_F()
DPopupListBox.h115 virtual IntSize contentsSize() const OVERRIDE { return m_contentsSize; } in contentsSize() function
DWebRemoteFrameImpl.h47 virtual WebSize contentsSize() const OVERRIDE;
/external/chromium_org/third_party/WebKit/Source/platform/graphics/
DGraphicsLayerTest.cpp134 virtual IntSize contentsSize() const OVERRIDE { return IntSize(100, 100); } in contentsSize() function in __anon9e4d41630111::FakeScrollableArea
145 …return IntPoint(contentsSize().width() - visibleWidth(), contentsSize().height() - visibleHeight()… in maximumScrollPosition()
/external/chromium_org/third_party/WebKit/Source/platform/scroll/
DScrollView.h127 …virtual IntSize contentsSize() const OVERRIDE; // Always at least as big as the visibleWidth()/vis…
128 int contentsWidth() const { return contentsSize().width(); } in contentsWidth()
129 int contentsHeight() const { return contentsSize().height(); } in contentsHeight()
DScrollableArea.h170 virtual IntSize contentsSize() const = 0;
DScrollView.cpp194 IntSize ScrollView::contentsSize() const in contentsSize() function in blink::ScrollView
201 if (contentsSize() == newSize) in setContentsSize()
438 …computeScrollbarExistence(newHasHorizontalScrollbar, newHasVerticalScrollbar, contentsSize(), opti… in adjustScrollbarExistence()
/external/chromium_org/third_party/WebKit/Source/core/frame/
DPinchViewport.cpp108 m_innerViewportScrollLayer->setSize(contentsSize()); in mainFrameDidChangeSize()
351 return flooredIntPoint(FloatSize(contentsSize()) - visibleRect().size()); in maximumScrollPosition()
368 IntSize PinchViewport::contentsSize() const in contentsSize() function in blink::PinchViewport
DPinchViewport.h125 virtual IntSize contentsSize() const OVERRIDE;
DFrameView.cpp421 if (size == contentsSize()) in setContentsSize()
438 …IntPoint maxScrollExtent(contentsSize().width() - scrollOrigin().x(), contentsSize().height() - sc… in clampOffsetAtScale()
460 …llOrigin(IntPoint(-rect.x(), -rect.y()), !m_frame->document()->printing(), size == contentsSize()); in adjustViewSize()
578 if (scrollOrigin() == -documentRect.location() && contentsSize() == documentRect.size()) in recalcOverflowAfterStyleChange()
2269 IntSize contentsSize = this->contentsSize(); in scrollingReasons() local
2271 …if ((contentsSize.height() <= visibleContentSize.height() && contentsSize.width() <= visibleConten… in scrollingReasons()
/external/chromium_org/ui/app_list/cocoa/
Dapp_list_view_controller.mm251 NSSize contentsSize = [contentsView_ frame].size;
254 contentsSize.width, contentsSize.height);
/external/chromium_org/third_party/WebKit/Source/core/page/
DPrintContext.cpp209 scaledPageSize.scale(frame->view()->contentsSize().width() / pageRect.width()); in pageNumberForElement()
339 scaledPageSize.scale(frame->view()->contentsSize().width() / pageRect.width()); in numberOfPages()
/external/chromium_org/third_party/WebKit/Source/core/page/scrolling/
DScrollingCoordinator.cpp167 scrollingWebLayer->setBounds(frameView->contentsSize()); in updateAfterCompositingChangeIfNeeded()
175 scrollLayer->setBounds(toLocalFrame(child)->view()->contentsSize()); in updateAfterCompositingChangeIfNeeded()
366 webLayer->setBounds(scrollableArea->contentsSize()); in scrollableAreaScrollLayerDidChange()
984 return blink::WebSize(frameView->contentsSize()) != scrollLayer->bounds(); in frameViewIsDirty()
/external/chromium_org/third_party/WebKit/Source/platform/mac/
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->visibleContent…
1126 …limitDelta.setWidth(m_scrollableArea->contentsSize().width() - (m_scrollableArea->visibleContentRe…
/external/chromium_org/third_party/WebKit/Source/core/rendering/
DRenderLayerScrollableArea.h100 virtual IntSize contentsSize() const OVERRIDE;
/external/chromium_org/third_party/WebKit/Source/core/rendering/compositing/
DCompositedLayerMapping.cpp674 FloatSize contentsSize = relativeCompositingBounds.size(); in updateGraphicsLayerGeometry() local
690 updateForegroundLayerGeometry(contentsSize, clippingBox); in updateGraphicsLayerGeometry()
691 updateBackgroundLayerGeometry(contentsSize); in updateGraphicsLayerGeometry()
724 const IntSize& contentsSize = relativeCompositingBounds.size(); in updateMainGraphicsLayerGeometry() local
725 if (oldSize != contentsSize) in updateMainGraphicsLayerGeometry()
726 m_graphicsLayer->setSize(contentsSize); in updateMainGraphicsLayerGeometry()
/external/chromium_org/android_webview/renderer/
Daw_render_view_ext.cc213 contents_size = main_frame->contentsSize(); in CheckContentsSize()
/external/chromium_org/third_party/WebKit/Source/core/inspector/
DInspectorPageAgent.cpp1216 IntSize contentsSize = m_page->deprecatedLocalMainFrame()->view()->contentsSize(); in viewportChanged() local
1221 .setContentsWidth(contentsSize.width()) in viewportChanged()
1222 .setContentsHeight(contentsSize.height()) in viewportChanged()
/external/chromium_org/third_party/WebKit/public/web/
DWebFrame.h179 virtual WebSize contentsSize() const = 0;
/external/chromium_org/third_party/WebKit/Source/web/tests/
DWebFrameTest.cpp992 …(viewportWidth, webViewHelper.webViewImpl()->mainFrameImpl()->frameView()->contentsSize().width()); in TEST_F()
993 …iewportHeight, webViewHelper.webViewImpl()->mainFrameImpl()->frameView()->contentsSize().height()); in TEST_F()
1014 …wportWidth / 2, webViewHelper.webViewImpl()->mainFrameImpl()->frameView()->contentsSize().width()); in TEST_F()
1015 …ortHeight / 2, webViewHelper.webViewImpl()->mainFrameImpl()->frameView()->contentsSize().height()); in TEST_F()
1035 … EXPECT_EQ(980, webViewHelper.webViewImpl()->mainFrameImpl()->frameView()->contentsSize().width()); in TEST_F()
1036 …iewportHeight, webViewHelper.webViewImpl()->mainFrameImpl()->frameView()->contentsSize().height()); in TEST_F()
1055 …(viewportWidth, webViewHelper.webViewImpl()->mainFrameImpl()->frameView()->contentsSize().width()); in TEST_F()
1075 … EXPECT_EQ(980, webViewHelper.webViewImpl()->mainFrameImpl()->frameView()->contentsSize().width()); in TEST_F()
1076 …iewportHeight, webViewHelper.webViewImpl()->mainFrameImpl()->frameView()->contentsSize().height()); in TEST_F()
1223 …ageScaleFactor, webViewHelper.webViewImpl()->mainFrameImpl()->frameView()->contentsSize().width()); in TEST_F()
[all …]

12