Home
last modified time | relevance | path

Searched refs:pinchViewport (Results 1 – 15 of 15) sorted by relevance

/external/chromium_org/third_party/WebKit/Source/web/tests/
DPinchViewportTest.cpp177 PinchViewport& pinchViewport = frame()->page()->frameHost().pinchViewport(); in TEST_F() local
182 EXPECT_SIZE_EQ(webViewSize, pinchViewport.size()); in TEST_F()
188 EXPECT_SIZE_EQ(webViewSize, pinchViewport.size()); in TEST_F()
192 pinchViewport.setSize(newViewportSize); in TEST_F()
194 EXPECT_SIZE_EQ(newViewportSize, pinchViewport.size()); in TEST_F()
240 PinchViewport& pinchViewport = frame()->page()->frameHost().pinchViewport(); in TEST_F() local
241 pinchViewport.setLocation(FloatPoint(0, 300)); in TEST_F()
242 EXPECT_FLOAT_POINT_EQ(FloatPoint(0, 300), pinchViewport.location()); in TEST_F()
245 EXPECT_FLOAT_SIZE_EQ(FloatSize(50, 100), pinchViewport.visibleRect().size()); in TEST_F()
251 EXPECT_FLOAT_SIZE_EQ(FloatSize(50, 25), pinchViewport.visibleRect().size()); in TEST_F()
[all …]
DWebInputEventConversionTest.cpp640 webViewImpl->page()->frameHost().pinchViewport().setLocation(pinchOffset); in TEST()
DWebFrameTest.cpp4248 PinchViewport& pinchViewport = frame->page()->frameHost().pinchViewport(); in TEST_F() local
4249 pinchViewport.setLocation(FloatPoint(0, 0)); in TEST_F()
4250 EXPECT_FLOAT_POINT_EQ(FloatPoint(0, 0), pinchViewport.location()); in TEST_F()
4258 pinchViewport.setLocation(FloatPoint(0, 200)); in TEST_F()
4259 EXPECT_FLOAT_POINT_EQ(FloatPoint(0, 200), pinchViewport.location()); in TEST_F()
/external/chromium_org/third_party/WebKit/Source/web/
DWebInputEventConversion.cpp85 return flooredIntPoint(rootView->page()->frameHost().pinchViewport().visibleRect().location()); in pinchViewportOffset()
94 IntPoint pinchViewport = pinchViewportOffset(widget); in PlatformMouseEventBuilder() local
99 …IntPoint((e.x - offset.width()) / scale + pinchViewport.x(), (e.y - offset.height()) / scale + pin… in PlatformMouseEventBuilder()
143 IntPoint pinchViewport = pinchViewportOffset(widget); in PlatformWheelEventBuilder() local
146 …IntPoint((e.x - offset.width()) / scale + pinchViewport.x(), (e.y - offset.height()) / scale + pin… in PlatformWheelEventBuilder()
186 IntPoint pinchViewport = pinchViewportOffset(widget); in PlatformGestureEventBuilder() local
265 …IntPoint((e.x - offset.width()) / scale + pinchViewport.x(), (e.y - offset.height()) / scale + pin… in PlatformGestureEventBuilder()
427 IntPoint pinchViewport = pinchViewportOffset(widget); in PlatformTouchPointBuilder() local
431 pos.moveBy(pinchViewport); in PlatformTouchPointBuilder()
DContextMenuClientImpl.cpp202 PinchViewport& pinchViewport = selectedFrame->host()->pinchViewport(); in showContextMenu() local
203 mousePoint -= flooredIntSize(pinchViewport.visibleRect().location()); in showContextMenu()
DWebViewImpl.cpp765 flooredIntSize(page()->frameHost().pinchViewport().location()) : IntSize(); in handleGestureEvent()
1654 page()->frameHost().pinchViewport().setSize(newSize); in resizePinchViewport()
1684 page()->frameHost().pinchViewport().setSize(m_size); in performResize()
1785 return enclosedIntRect(page()->frameHost().pinchViewport().visibleRectInDocument()); in visibleRectInDocument()
2469 roundedIntPoint(page()->frameHost().pinchViewport().visibleRect().location()); in selectionBounds()
2954 return page()->frameHost().pinchViewport().scale(); in pageScaleFactor()
2984 page()->frameHost().pinchViewport().setLocation(offset); in setPinchViewportOffset()
2994 return page()->frameHost().pinchViewport().visibleRect().location(); in pinchViewportOffset()
3024 page()->frameHost().pinchViewport().setLocation(pinchViewportOrigin); in scrollAndRescaleViewports()
3043 page()->frameHost().pinchViewport().setScale(scaleFactor); in setPageScaleFactor()
[all …]
DWebLocalFrameImpl.cpp1228 PinchViewport& pinchViewport = frame()->page()->frameHost().pinchViewport(); in visiblePositionForWindowPoint() local
1231 unscaledPoint.moveBy(pinchViewport.visibleRect().location()); in visiblePositionForWindowPoint()
/external/chromium_org/third_party/WebKit/Source/core/frame/
DFrameHost.h77 PinchViewport& pinchViewport() const;
DFrameHost.cpp78 PinchViewport& FrameHost::pinchViewport() const in pinchViewport() function in blink::FrameHost
DFrameView.cpp352 page()->frameHost().pinchViewport().mainFrameDidChangeSize(); in setFrameRect()
1438 PinchViewport& pinchViewport = m_frame->page()->frameHost().pinchViewport(); in scrollElementToRect() local
1440 IntSize pinchViewportSize = expandedIntSize(pinchViewport.visibleRect().size()); in scrollElementToRect()
1441 targetRect.moveBy(ceiledIntPoint(pinchViewport.visibleRect().location())); in scrollElementToRect()
1457 m_frame->page()->frameHost().pinchViewport().move(remainder); in scrollElementToRect()
2232 ? m_frame->page()->frameHost().pinchViewport().scale() in inputEventsScaleFactor()
3033 return page()->frameHost().pinchViewport().handleWheelEvent(wheelEvent); in wheelEvent()
DLocalFrame.cpp217 m_host->pinchViewport().mainFrameDidChangeSize(); in setView()
/external/chromium_org/third_party/WebKit/Source/core/page/
DPage.cpp343 PinchViewport& viewport = frameHost().pinchViewport(); in setPageScaleFactor()
368 return frameHost().pinchViewport().scale(); in pageScaleFactor()
/external/chromium_org/third_party/WebKit/Source/core/dom/
DViewportDescription.cpp242 ? mainFrame->host()->pinchViewport().size().width() in reportMobilePageStats()
/external/chromium_org/third_party/WebKit/Source/core/loader/
DFrameLoader.cpp206 …m_currentItem->setPinchViewportScrollPoint(m_frame->host()->pinchViewport().visibleRect().location… in saveScrollState()
1079 m_frame->host()->pinchViewport().setLocation(pinchViewportOffset); in restoreScrollPositionAndViewState()
/external/chromium_org/third_party/WebKit/Source/core/rendering/
DRenderBox.cpp487 PinchViewport& pinchViewport = frame()->page()->frameHost().pinchViewport(); in scrollRectToVisible() local
488 …LayoutRect r = ScrollAlignment::getRectToExpose(LayoutRect(pinchViewport.visibleRectInDocument()),… in scrollRectToVisible()
489 pinchViewport.scrollIntoView(r); in scrollRectToVisible()