/external/chromium_org/third_party/WebKit/Source/core/page/ |
H A D | PageScaleConstraints.cpp | 55 if (!other.layoutSize.isEmpty()) 56 layoutSize = other.layoutSize; 97 return layoutSize == other.layoutSize
|
H A D | PageScaleConstraints.h | 39 FloatSize layoutSize; member in struct:blink::PageScaleConstraints
|
/external/chromium_org/third_party/WebKit/Source/web/tests/ |
H A D | ViewportTest.cpp | 126 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 D | WebFrameTest.cpp | 803 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 D | HTMLCanvasPainter.cpp | 36 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 D | ImageQualityController.cpp | 68 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 D | TextAutosizer.cpp | 516 IntSize layoutSize = mainFrame->view()->layoutSize(); local 517 m_pageInfo.m_layoutWidth = horizontalWritingMode ? layoutSize.width() : layoutSize.height();
|
H A D | RenderView.cpp | 777 height = m_frameView->layoutSize(scrollbarInclusion).height(); 786 width = m_frameView->layoutSize(scrollbarInclusion).width();
|
/external/chromium_org/third_party/WebKit/Source/web/ |
H A D | PageScaleConstraintsSet.cpp | 180 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 D | WebViewImpl.cpp | 3265 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 D | MediaValues.cpp | 37 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 D | ViewportDescription.cpp | 198 result.layoutSize.setWidth(resultWidth); 199 result.layoutSize.setHeight(resultHeight);
|
H A D | Element.cpp | 585 return adjustLayoutUnitForAbsoluteZoom(view->layoutSize().width(), *renderView); 606 return adjustLayoutUnitForAbsoluteZoom(view->layoutSize().height(), *renderView);
|
/external/chromium_org/third_party/WebKit/Source/core/frame/ |
H A D | FrameView.cpp | 843 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 D | FrameView.h | 113 IntSize layoutSize(IncludeScrollbarsInRect = ExcludeScrollbars) const;
|
/external/chromium_org/third_party/WebKit/Source/core/testing/ |
H A D | Internals.cpp | 827 constraints.fitToContentsWidth(constraints.layoutSize.width(), availableWidth); 832 builder.append(String::number(constraints.layoutSize.width())); 834 builder.append(String::number(constraints.layoutSize.height()));
|