Lines Matching defs:pageScaleFactor
830 EXPECT_EQ(1, webViewHelper.webView()->pageScaleFactor());
855 EXPECT_EQ(minimumPageScaleFactor, webViewHelper.webView()->pageScaleFactor());
866 EXPECT_EQ(userPinchPageScaleFactor, webViewHelper.webView()->pageScaleFactor());
870 EXPECT_EQ(userPinchPageScaleFactor, webViewHelper.webView()->pageScaleFactor());
892 EXPECT_EQ(minimumPageScaleFactor, webViewHelper.webView()->pageScaleFactor());
903 EXPECT_EQ(userPinchPageScaleFactor, webViewHelper.webView()->pageScaleFactor());
907 EXPECT_EQ(userPinchPageScaleFactor, webViewHelper.webView()->pageScaleFactor());
924 EXPECT_EQ(0.25f, webViewHelper.webView()->pageScaleFactor());
931 EXPECT_EQ(2, webViewHelper.webView()->pageScaleFactor());
951 EXPECT_EQ(1.0f, webViewHelper.webView()->pageScaleFactor());
972 EXPECT_EQ(1.0f, webViewHelper.webView()->pageScaleFactor());
1095 EXPECT_EQ(2.0f, webViewHelper.webView()->pageScaleFactor());
1116 EXPECT_EQ(enforcedPageScaleFactor, webViewHelper.webView()->pageScaleFactor());
1123 EXPECT_EQ(enforcedPageScaleFactor, webViewHelper.webView()->pageScaleFactor());
1127 EXPECT_EQ(1.0, webViewHelper.webView()->pageScaleFactor());
1147 EXPECT_EQ(enforcedPageScaleFactor, webViewHelper.webView()->pageScaleFactor());
1166 EXPECT_EQ(enforcedPageScaleFactor, webViewHelper.webView()->pageScaleFactor());
1200 EXPECT_EQ(expectedPageScaleFactor, webViewHelper.webView()->pageScaleFactor());
1224 EXPECT_EQ(enforcedPageScaleFactor, webViewHelper.webView()->pageScaleFactor());
1329 EXPECT_EQ(minimumPageScaleFactor, webViewHelper.webView()->pageScaleFactor());
1354 EXPECT_EQ(1, webViewHelper.webView()->pageScaleFactor());
1379 EXPECT_EQ(1, webViewHelper.webView()->pageScaleFactor());
1428 EXPECT_EQ(1.0f, webViewHelper.webView()->pageScaleFactor());
1433 EXPECT_EQ(1.0f, webViewHelper.webView()->pageScaleFactor());
1492 EXPECT_EQ(expectedPageScaleFactor, webViewHelper.webView()->pageScaleFactor());
1497 EXPECT_EQ(expectedPageScaleFactor, webViewHelper.webView()->pageScaleFactor());
1561 EXPECT_EQ(3, toLocalFrame(webViewHelper.webViewImpl()->page()->mainFrame())->loader().currentItem()->pageScaleFactor());
1581 EXPECT_EQ(minimumPageScaleFactor, toLocalFrame(webViewHelper.webViewImpl()->page()->mainFrame())->loader().currentItem()->pageScaleFactor());
1668 EXPECT_NEAR(1.0f / densityDpiScaleRatio, webViewHelper.webView()->pageScaleFactor(), 0.01f);
1694 EXPECT_NEAR(1.0f / client.m_screenInfo.deviceScaleFactor, webViewHelper.webView()->pageScaleFactor(), 0.01f);
1721 EXPECT_NEAR(1.0f, webViewHelper.webView()->pageScaleFactor(), 0.01f);
1745 EXPECT_NEAR(1.0f / client.m_screenInfo.deviceScaleFactor, webViewHelper.webView()->pageScaleFactor(), 0.01f);
1769 EXPECT_NEAR(1.0f / client.m_screenInfo.deviceScaleFactor, webViewHelper.webView()->pageScaleFactor(), 0.01f);
1792 EXPECT_NEAR(enforcedPageScaleFactor, webViewHelper.webView()->pageScaleFactor(), 0.01f);
1812 EXPECT_NEAR(1.0f, webViewHelper.webView()->pageScaleFactor(), 0.01f);
1836 EXPECT_NEAR(1.0f / client.m_screenInfo.deviceScaleFactor, webViewHelper.webView()->pageScaleFactor(), 0.01f);
1857 EXPECT_NEAR(1.0f, webViewHelper.webView()->pageScaleFactor(), 0.01f);
1875 EXPECT_NEAR(1.0f, webViewHelper.webView()->pageScaleFactor(), 0.01f);
1908 ASSERT_EQ(initialPageScaleFactor, webViewHelper.webViewImpl()->pageScaleFactor());
1911 EXPECT_NEAR(expectedPageScaleFactor, webViewHelper.webViewImpl()->pageScaleFactor(), 0.05f);
1915 // Resizing just the height should not affect pageScaleFactor or scrollOffset.
1923 EXPECT_EQ(initialPageScaleFactor, webViewHelper.webViewImpl()->pageScaleFactor());
1926 EXPECT_EQ(initialPageScaleFactor, webViewHelper.webViewImpl()->pageScaleFactor());
1934 float pageScaleFactor = webViewHelper.webViewImpl()->pageScaleFactor();
1936 float expectedPageScaleFactor = pageScaleFactor * (shouldScaleRelativeToViewportWidth ? aspectRatio : 1);
1937 EXPECT_NEAR(expectedPageScaleFactor, webViewHelper.webViewImpl()->pageScaleFactor(), 0.05f);
1944 pageScaleFactor = webViewHelper.webViewImpl()->pageScaleFactor();
1952 expectedPageScaleFactor = pageScaleFactor * (shouldScaleRelativeToViewportWidth ? 1 / aspectRatio : 1);
1953 EXPECT_NEAR(expectedPageScaleFactor, webViewHelper.webViewImpl()->pageScaleFactor(), 0.05f);
1960 // With width=device-width, pageScaleFactor is preserved across resizes as
1990 // With a fixed width, pageScaleFactor scales by the relative change in viewport width.
2003 // With a fixed layout, pageScaleFactor scales by the relative change in viewport width.
2215 float scaleDelta = webViewImpl->fakePageScaleAnimationPageScaleForTesting() / webViewImpl->pageScaleFactor();
2217 scale = webViewImpl->pageScaleFactor();
2697 const float pageScaleFactor = 1.1684f;
2709 webViewHelper.webViewImpl()->setPageScaleFactor(pageScaleFactor);
2712 float previousScale = webViewHelper.webViewImpl()->pageScaleFactor();
2719 ASSERT_EQ(previousScale, webViewHelper.webViewImpl()->pageScaleFactor());
2726 ASSERT_EQ(previousScale, webViewHelper.webViewImpl()->pageScaleFactor());
3874 virtual void setPageScaleFactorAndLimits(float pageScaleFactor, float minimum, float maximum) OVERRIDE { }