Home
last modified time | relevance | path

Searched refs:viewPoint (Results 1 – 9 of 9) sorted by relevance

/external/chromium_org/content/browser/web_contents/
Dweb_drag_dest_mac.mm73 NSPoint viewPoint = [view convertPoint:windowPoint fromView:nil];
75 viewPoint.y = viewFrame.size.height - viewPoint.y;
76 return viewPoint;
141 NSPoint viewPoint = [self flipWindowPointToView:windowPoint view:view];
145 gfx::Point(viewPoint.x, viewPoint.y),
192 NSPoint viewPoint = [self flipWindowPointToView:windowPoint view:view];
196 gfx::Point(viewPoint.x, viewPoint.y),
235 NSPoint viewPoint = [self flipWindowPointToView:windowPoint view:view];
238 gfx::Point(viewPoint.x, viewPoint.y),
Dweb_drag_dest_mac_unittest.mm69 NSPoint viewPoint =
75 EXPECT_EQ(0, viewPoint.x);
76 EXPECT_EQ(600, viewPoint.y);
/external/chromium_org/third_party/WebKit/Source/platform/scroll/
DScrollView.cpp574 IntPoint viewPoint = convertFromContainingWindow(rootViewPoint); in rootViewToContents() local
575 return viewPoint + scrollOffset(); in rootViewToContents()
580 IntPoint viewPoint = contentsPoint - scrollOffset(); in contentsToRootView() local
581 return convertToContainingWindow(viewPoint); in contentsToRootView()
600 IntPoint viewPoint = convertFromContainingWindow(windowPoint); in windowToContents() local
601 return viewPoint + scrollOffset(); in windowToContents()
606 FloatPoint viewPoint = convertFromContainingWindow(windowPoint); in windowToContents() local
607 return viewPoint + scrollOffset(); in windowToContents()
612 IntPoint viewPoint = contentsPoint - scrollOffset(); in contentsToWindow() local
613 return convertToContainingWindow(viewPoint); in contentsToWindow()
[all …]
DScrollView.h198 Scrollbar* scrollbarAtViewPoint(const IntPoint& viewPoint);
/external/chromium_org/chrome/browser/ui/cocoa/tabs/
Dtab_view.mm160 NSPoint viewPoint = [self convertPoint:aPoint fromView:[self superview]];
162 if (NSPointInRect(viewPoint, [closeButton_ frame])) return closeButton_;
164 NSRect pointRect = NSMakeRect(viewPoint.x, viewPoint.y, 1, 1);
168 if (viewPoint.x < [left size].width) {
179 if (viewPoint.x > rightX) {
189 if (viewPoint.y < kFillHeight)
Dtab_strip_drag_controller.mm26 NSPoint viewPoint = [view convertPoint:windowPoint fromView:nil];
27 return [view mouse:viewPoint inRect:[view bounds]];
/external/chromium_org/third_party/WebKit/Source/core/rendering/
DRenderView.cpp110 IntPoint viewPoint = location.roundedPoint() - frameView()->scrollOffset(); in hitTest() local
111 if (Scrollbar* frameScrollbar = frameView()->scrollbarAtViewPoint(viewPoint)) in hitTest()
/external/chromium_org/third_party/WebKit/Source/core/frame/
DFrameView.cpp2826 IntPoint FrameView::convertToRenderer(const RenderObject& renderer, const IntPoint& viewPoint) const in convertToRenderer()
2828 IntPoint point = viewPoint; in convertToRenderer()
/external/chromium_org/third_party/WebKit/Source/core/page/
DEventHandler.cpp2159 LayoutPoint viewPoint = view->windowToContents(gestureEvent.position()); in handleGestureScrollEvent() local
2161 HitTestResult result(viewPoint); in handleGestureScrollEvent()