/external/chromium_org/third_party/WebKit/Source/web/ |
D | PageScaleConstraintsSet.cpp | 83 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()
|
D | PageScaleConstraintsSet.h | 64 void adjustFinalConstraintsToContentsSize(IntSize contentsSize, int nonOverlayScrollbarWidth); 66 void didChangeContentsSize(IntSize contentsSize, float pageScaleFactor); 78 IntSize mainFrameSize(const IntSize& contentsSize) const;
|
D | ScrollbarGroup.cpp | 181 …return IntPoint(contentsSize().width() - visibleWidth(), contentsSize().height() - visibleHeight()… in maximumScrollPosition() 204 IntSize ScrollbarGroup::contentsSize() const in contentsSize() function in blink::ScrollbarGroup
|
D | PopupListBox.cpp | 529 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()
|
D | ScrollbarGroup.h | 65 virtual IntSize contentsSize() const OVERRIDE;
|
D | PopupMenuTest.cpp | 524 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()
|
D | PopupListBox.h | 115 virtual IntSize contentsSize() const OVERRIDE { return m_contentsSize; } in contentsSize() function
|
D | WebRemoteFrameImpl.h | 47 virtual WebSize contentsSize() const OVERRIDE;
|
/external/chromium_org/third_party/WebKit/Source/platform/graphics/ |
D | GraphicsLayerTest.cpp | 134 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/ |
D | ScrollView.h | 127 …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()
|
D | ScrollableArea.h | 170 virtual IntSize contentsSize() const = 0;
|
D | ScrollView.cpp | 194 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/ |
D | PinchViewport.cpp | 108 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
|
D | PinchViewport.h | 125 virtual IntSize contentsSize() const OVERRIDE;
|
D | FrameView.cpp | 421 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/ |
D | app_list_view_controller.mm | 251 NSSize contentsSize = [contentsView_ frame].size; 254 contentsSize.width, contentsSize.height);
|
/external/chromium_org/third_party/WebKit/Source/core/page/ |
D | PrintContext.cpp | 209 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/ |
D | ScrollingCoordinator.cpp | 167 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/ |
D | ScrollAnimatorMac.mm | 215 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/ |
D | RenderLayerScrollableArea.h | 100 virtual IntSize contentsSize() const OVERRIDE;
|
/external/chromium_org/third_party/WebKit/Source/core/rendering/compositing/ |
D | CompositedLayerMapping.cpp | 674 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/ |
D | aw_render_view_ext.cc | 213 contents_size = main_frame->contentsSize(); in CheckContentsSize()
|
/external/chromium_org/third_party/WebKit/Source/core/inspector/ |
D | InspectorPageAgent.cpp | 1216 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/ |
D | WebFrame.h | 179 virtual WebSize contentsSize() const = 0;
|
/external/chromium_org/third_party/WebKit/Source/web/tests/ |
D | WebFrameTest.cpp | 992 …(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 …]
|