Home
last modified time | relevance | path

Searched refs:mousePoint (Results 1 – 4 of 4) sorted by relevance

/external/webkit/Source/WebCore/platform/win/
DPopupMenuWin.cpp897 IntPoint mousePoint(MAKEPOINTS(lParam)); in wndProc() local
900 if (scrollbarCapturingMouse() || scrollBarRect.contains(mousePoint)) { in wndProc()
902 mousePoint.move(-scrollBarRect.x(), -scrollBarRect.y()); in wndProc()
903 … PlatformMouseEvent event(hWnd, message, wParam, MAKELPARAM(mousePoint.x(), mousePoint.y())); in wndProc()
916 if (!::PtInRect(&bounds, mousePoint) && !(wParam & MK_LBUTTON) && client()) { in wndProc()
927 if ((shouldHotTrack || wParam & MK_LBUTTON) && ::PtInRect(&bounds, mousePoint)) in wndProc()
928 setFocusedIndex(listIndexAtPoint(mousePoint), true); in wndProc()
933 IntPoint mousePoint(MAKEPOINTS(lParam)); in wndProc() local
936 if (scrollBarRect.contains(mousePoint)) { in wndProc()
938 mousePoint.move(-scrollBarRect.x(), -scrollBarRect.y()); in wndProc()
[all …]
/external/webkit/Source/WebKit2/UIProcess/win/
DWebPopupMenuProxyWin.cpp632 IntPoint mousePoint(MAKEPOINTS(lParam)); in onMouseMove() local
635 if (scrollbarCapturingMouse() || scrollBarRect.contains(mousePoint)) { in onMouseMove()
637 mousePoint.move(-scrollBarRect.x(), -scrollBarRect.y()); in onMouseMove()
638 … PlatformMouseEvent event(hWnd, message, wParam, MAKELPARAM(mousePoint.x(), mousePoint.y())); in onMouseMove()
649 if (!::PtInRect(&bounds, mousePoint) && !(wParam & MK_LBUTTON)) { in onMouseMove()
660 if ((shouldHotTrack || wParam & MK_LBUTTON) && ::PtInRect(&bounds, mousePoint)) in onMouseMove()
661 setFocusedIndex(listIndexAtPoint(mousePoint), true); in onMouseMove()
670 IntPoint mousePoint(MAKEPOINTS(lParam)); in onLButtonDown() local
673 if (scrollBarRect.contains(mousePoint)) { in onLButtonDown()
675 mousePoint.move(-scrollBarRect.x(), -scrollBarRect.y()); in onLButtonDown()
[all …]
/external/chromium/chrome/browser/ui/cocoa/location_bar/
Dautocomplete_text_field_cell.mm347 const NSPoint mousePoint =
349 if (!NSMouseInRect(mousePoint, dragImageRect, [controlView isFlipped])) {
351 NSMakePoint(mousePoint.x - NSWidth(dragImageRect) / 2.0,
352 mousePoint.y - NSHeight(dragImageRect) / 2.0);
/external/chromium/chrome/browser/ui/cocoa/
Dgradient_button_cell.mm734 NSPoint mousePoint = [window mouseLocationOutsideOfEventStream];
735 mousePoint = [controlView convertPointFromBase:mousePoint];
736 mouseInView = [controlView mouse:mousePoint inRect:bounds];