Home
last modified time | relevance | path

Searched refs:viewPoint (Results 1 – 10 of 10) 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/chrome/browser/ui/cocoa/tab_contents/
Dweb_drop_target.mm41 NSPoint viewPoint = [view convertPoint:windowPoint fromView:nil];
43 viewPoint.y = viewFrame.size.height - viewPoint.y;
44 return viewPoint;
97 NSPoint viewPoint = [self flipWindowPointToView:windowPoint view:view];
101 gfx::Point(viewPoint.x, viewPoint.y),
136 NSPoint viewPoint = [self flipWindowPointToView:windowPoint view:view];
140 gfx::Point(viewPoint.x, viewPoint.y),
186 NSPoint viewPoint = [self flipWindowPointToView:windowPoint view:view];
189 gfx::Point(viewPoint.x, viewPoint.y),
Dweb_drop_target_unittest.mm58 NSPoint viewPoint =
64 EXPECT_EQ(0, viewPoint.x);
65 EXPECT_EQ(600, viewPoint.y);
/external/chromium_org/third_party/WebKit/Source/platform/scroll/
DScrollView.cpp577 IntPoint viewPoint = convertFromRootView(rootViewPoint); in rootViewToContents() local
578 return viewPoint + scrollOffset(); in rootViewToContents()
583 IntPoint viewPoint = contentsPoint - scrollOffset(); in contentsToRootView() local
584 return convertToRootView(viewPoint); in contentsToRootView()
603 IntPoint viewPoint = convertFromContainingWindow(windowPoint); in windowToContents() local
604 return viewPoint + scrollOffset(); in windowToContents()
609 IntPoint viewPoint = contentsPoint - scrollOffset(); in contentsToWindow() local
610 return convertToContainingWindow(viewPoint); in contentsToWindow()
698 IntPoint viewPoint = convertFromContainingWindow(windowPoint); in scrollbarAtPoint() local
699 …rollbar->shouldParticipateInHitTesting() && m_horizontalScrollbar->frameRect().contains(viewPoint)) in scrollbarAtPoint()
[all …]
/external/chromium_org/chrome/browser/ui/cocoa/tabs/
Dtab_view.mm142 NSPoint viewPoint = [self convertPoint:aPoint fromView:[self superview]];
144 if (NSPointInRect(viewPoint, [closeButton_ frame])) return closeButton_;
146 NSRect pointRect = NSMakeRect(viewPoint.x, viewPoint.y, 1, 1);
150 if (viewPoint.x < [left size].width) {
161 if (viewPoint.x > rightX) {
171 if (viewPoint.y < kFillHeight)
/external/chromium/chrome/browser/ui/cocoa/
Dprofile_menu_button.mm157 NSPoint viewPoint = [self convertPoint:aPoint fromView:[self superview]];
159 if (NSMouseInRect(viewPoint, [self tabRect], isFlipped))
/external/chromium/chrome/browser/ui/cocoa/tabs/
Dtab_view.mm137 NSPoint viewPoint = [self convertPoint:aPoint fromView:[self superview]];
147 if (NSPointInRect(viewPoint, [closeButton_ frame])) return closeButton_;
/external/chromium_org/third_party/WebKit/Source/core/frame/
DFrameView.cpp3209 IntPoint FrameView::convertToRenderer(const RenderObject* renderer, const IntPoint& viewPoint) const in convertToRenderer()
3211 IntPoint point = viewPoint; in convertToRenderer()
/external/chromium_org/third_party/WebKit/Source/core/page/
DEventHandler.cpp2571 LayoutPoint viewPoint = view->windowToContents(gestureEvent.position()); in handleGestureScrollBegin() local
2573 HitTestResult result(viewPoint); in handleGestureScrollBegin()