Searched refs:layoutSize (Results 1 - 16 of 16) sorted by relevance

/external/chromium_org/third_party/WebKit/Source/core/page/
H A DPageScaleConstraints.cpp55 if (!other.layoutSize.isEmpty())
56 layoutSize = other.layoutSize;
97 return layoutSize == other.layoutSize
H A DPageScaleConstraints.h39 FloatSize layoutSize; member in struct:blink::PageScaleConstraints
/external/chromium_org/third_party/WebKit/Source/web/tests/
H A DViewportTest.cpp126 constraints.fitToContentsWidth(constraints.layoutSize.width(), initialWidth);
141 EXPECT_EQ(320, constraints.layoutSize.width());
142 EXPECT_EQ(352, constraints.layoutSize.height());
160 EXPECT_EQ(980, constraints.layoutSize.width());
161 EXPECT_EQ(352, constraints.layoutSize.height());
179 EXPECT_EQ(320, constraints.layoutSize.width());
180 EXPECT_EQ(352, constraints.layoutSize.height());
198 EXPECT_EQ(160, constraints.layoutSize.width());
199 EXPECT_EQ(176, constraints.layoutSize.height());
217 EXPECT_EQ(640, constraints.layoutSize
[all...]
H A DWebFrameTest.cpp803 EXPECT_EQ(viewportWidth, webViewHelper.webViewImpl()->mainFrameImpl()->frameView()->layoutSize().width());
804 EXPECT_EQ(viewportHeight, webViewHelper.webViewImpl()->mainFrameImpl()->frameView()->layoutSize().height());
1243 EXPECT_LE(viewportHeight, webViewHelper.webViewImpl()->mainFrameImpl()->frameView()->layoutSize().height());
1247 EXPECT_EQ(0, webViewHelper.webViewImpl()->mainFrameImpl()->frameView()->layoutSize().height());
1251 EXPECT_EQ(0, webViewHelper.webViewImpl()->mainFrameImpl()->frameView()->layoutSize().height());
1255 EXPECT_EQ(0, webViewHelper.webViewImpl()->mainFrameImpl()->frameView()->layoutSize().height());
1258 EXPECT_LE(viewportHeight, webViewHelper.webViewImpl()->mainFrameImpl()->frameView()->layoutSize().height());
1282 EXPECT_EQ(0, webViewHelper.webViewImpl()->mainFrameImpl()->frameView()->layoutSize().height());
1304 EXPECT_EQ(0, webViewHelper.webViewImpl()->mainFrameImpl()->frameView()->layoutSize().height());
1353 EXPECT_EQ(800, webViewHelper.webViewImpl()->mainFrameImpl()->frameView()->layoutSize()
[all...]
/external/chromium_org/third_party/WebKit/Source/core/paint/
H A DHTMLCanvasPainter.cpp36 LayoutSize layoutSize = contentRect.size(); local
38 && (layoutSize.width() > canvas->width() || layoutSize.height() > canvas->height() || layoutSize == canvas->size())) {
/external/chromium_org/third_party/WebKit/Source/core/rendering/
H A DImageQualityController.cpp68 InterpolationQuality ImageQualityController::chooseInterpolationQuality(GraphicsContext* context, RenderObject* object, Image* image, const void* layer, const LayoutSize& layoutSize) argument
72 && (layoutSize.width() > image->width() || layoutSize.height() > image->height() || layoutSize == image->size())) {
79 if (shouldPaintAtLowQuality(context, object, image, layer, layoutSize))
156 bool ImageQualityController::shouldPaintAtLowQuality(GraphicsContext* context, RenderObject* object, Image* image, const void *layer, const LayoutSize& layoutSize) argument
185 LayoutSize scaledLayoutSize = currentTransform.mapSize(roundedIntSize(layoutSize));
H A DTextAutosizer.cpp516 IntSize layoutSize = mainFrame->view()->layoutSize(); local
517 m_pageInfo.m_layoutWidth = horizontalWritingMode ? layoutSize.width() : layoutSize.height();
H A DRenderView.cpp777 height = m_frameView->layoutSize(scrollbarInclusion).height();
786 width = m_frameView->layoutSize(scrollbarInclusion).width();
/external/chromium_org/third_party/WebKit/Source/web/
H A DPageScaleConstraintsSet.cpp180 float adjustedLayoutSizeWidth = m_pageDefinedConstraints.layoutSize.width();
181 float adjustedLayoutSizeHeight = m_pageDefinedConstraints.layoutSize.height();
231 m_pageDefinedConstraints.layoutSize.setWidth(adjustedLayoutSizeWidth);
232 m_pageDefinedConstraints.layoutSize.setHeight(adjustedLayoutSizeHeight);
H A DWebViewImpl.cpp3265 WebSize layoutSize = m_size;
3268 layoutSize = flooredIntSize(m_pageScaleConstraintsSet.pageDefinedConstraints().layoutSize);
3271 layoutSize.height = 0;
3273 view->setLayoutSize(layoutSize);
4417 return mainFrameImpl()->frameView()->layoutSize().width() == m_size.width
/external/chromium_org/third_party/WebKit/Source/core/css/
H A DMediaValues.cpp37 int viewportWidth = frame->view()->layoutSize(IncludeScrollbars).width();
44 int viewportHeight = frame->view()->layoutSize(IncludeScrollbars).height();
/external/chromium_org/third_party/WebKit/Source/core/dom/
H A DViewportDescription.cpp198 result.layoutSize.setWidth(resultWidth);
199 result.layoutSize.setHeight(resultHeight);
H A DElement.cpp585 return adjustLayoutUnitForAbsoluteZoom(view->layoutSize().width(), *renderView);
606 return adjustLayoutUnitForAbsoluteZoom(view->layoutSize().height(), *renderView);
/external/chromium_org/third_party/WebKit/Source/core/frame/
H A DFrameView.cpp843 if (!m_firstLayout && m_size.height() != layoutSize().height() && body->renderer()->enclosingBox()->stretchesToViewport())
865 m_lastViewportSize = layoutSize(IncludeScrollbars);
883 m_size = LayoutSize(layoutSize().width(), layoutSize().height());
930 updateOverflowStatus(layoutSize().width() < contentsWidth(), layoutSize().height() < contentsHeight());
1493 IntSize FrameView::layoutSize(IncludeScrollbarsInRect scrollbarInclusion) const function in class:blink::FrameView
2057 return (layoutSize(IncludeScrollbars) != m_lastViewportSize || renderView->style()->zoom() != m_lastZoomFactor);
2071 m_lastViewportSize = layoutSize(IncludeScrollbars);
H A DFrameView.h113 IntSize layoutSize(IncludeScrollbarsInRect = ExcludeScrollbars) const;
/external/chromium_org/third_party/WebKit/Source/core/testing/
H A DInternals.cpp827 constraints.fitToContentsWidth(constraints.layoutSize.width(), availableWidth);
832 builder.append(String::number(constraints.layoutSize.width()));
834 builder.append(String::number(constraints.layoutSize.height()));

Completed in 2875 milliseconds