/external/chromium_org/third_party/WebKit/Source/web/tests/ |
D | PinchViewportTest.cpp | 177 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 …]
|
D | WebInputEventConversionTest.cpp | 640 webViewImpl->page()->frameHost().pinchViewport().setLocation(pinchOffset); in TEST()
|
D | WebFrameTest.cpp | 4248 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/ |
D | WebInputEventConversion.cpp | 85 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()
|
D | ContextMenuClientImpl.cpp | 202 PinchViewport& pinchViewport = selectedFrame->host()->pinchViewport(); in showContextMenu() local 203 mousePoint -= flooredIntSize(pinchViewport.visibleRect().location()); in showContextMenu()
|
D | WebViewImpl.cpp | 765 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 …]
|
D | WebLocalFrameImpl.cpp | 1228 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/ |
D | FrameHost.h | 77 PinchViewport& pinchViewport() const;
|
D | FrameHost.cpp | 78 PinchViewport& FrameHost::pinchViewport() const in pinchViewport() function in blink::FrameHost
|
D | FrameView.cpp | 352 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()
|
D | LocalFrame.cpp | 217 m_host->pinchViewport().mainFrameDidChangeSize(); in setView()
|
/external/chromium_org/third_party/WebKit/Source/core/page/ |
D | Page.cpp | 343 PinchViewport& viewport = frameHost().pinchViewport(); in setPageScaleFactor() 368 return frameHost().pinchViewport().scale(); in pageScaleFactor()
|
/external/chromium_org/third_party/WebKit/Source/core/dom/ |
D | ViewportDescription.cpp | 242 ? mainFrame->host()->pinchViewport().size().width() in reportMobilePageStats()
|
/external/chromium_org/third_party/WebKit/Source/core/loader/ |
D | FrameLoader.cpp | 206 …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/ |
D | RenderBox.cpp | 487 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()
|