Home
last modified time | relevance | path

Searched refs:screenPoint (Results 1 – 19 of 19) sorted by relevance

/external/chromium/chrome/browser/ui/cocoa/tab_contents/
Dweb_contents_drag_source.mm28 void FlipPointCoordinates(NSPoint& screenPoint,
33 // Flip |screenPoint|.
35 screenPoint.y = NSHeight(screenFrame) - screenPoint.y;
102 - (void)endDragAt:(NSPoint)screenPoint
108 NSPoint localPoint = [contentsView_ convertPoint:screenPoint fromView: nil];
109 FlipPointCoordinates(screenPoint, localPoint, contentsView_);
111 screenPoint.x, screenPoint.y,
119 - (void)moveDragTo:(NSPoint)screenPoint {
122 NSPoint localPoint = [contentsView_ convertPoint:screenPoint fromView:nil];
123 FlipPointCoordinates(screenPoint, localPoint, contentsView_);
[all …]
Dweb_drag_source.mm234 - (NSPoint)convertScreenPoint:(NSPoint)screenPoint {
236 NSPoint basePoint = [[contentsView_ window] convertScreenToBase:screenPoint];
274 - (void)endDragAt:(NSPoint)screenPoint
280 // Convert |screenPoint| to view coordinates and flip it.
283 localPoint = [self convertScreenPoint:screenPoint];
286 // Flip |screenPoint|.
288 screenPoint.y = screenFrame.size.height - screenPoint.y;
297 screenPoint.x, screenPoint.y,
305 - (void)moveDragTo:(NSPoint)screenPoint {
308 // Convert |screenPoint| to view coordinates and flip it.
[all …]
Dweb_drop_target.mm52 NSPoint screenPoint = [[view window] convertBaseToScreen:windowPoint];
55 screenPoint.y = screenFrame.size.height - screenPoint.y;
56 return screenPoint;
98 NSPoint screenPoint = [self flipWindowPointToScreen:windowPoint view:view];
102 gfx::Point(screenPoint.x, screenPoint.y),
137 NSPoint screenPoint = [self flipWindowPointToScreen:windowPoint view:view];
141 gfx::Point(screenPoint.x, screenPoint.y),
187 NSPoint screenPoint = [self flipWindowPointToScreen:windowPoint view:view];
190 gfx::Point(screenPoint.x, screenPoint.y));
Dweb_contents_drag_source.h54 - (void)endDragAt:(NSPoint)screenPoint
58 - (void)moveDragTo:(NSPoint)screenPoint;
Dweb_drag_source.h68 - (void)endDragAt:(NSPoint)screenPoint
72 - (void)moveDragTo:(NSPoint)screenPoint;
Dweb_drop_target_unittest.mm61 NSPoint screenPoint =
66 EXPECT_EQ(0, screenPoint.x);
69 EXPECT_NE(0, screenPoint.y);
/external/webkit/Source/WebKit/chromium/public/
DWebView.h219 const WebPoint& clientPoint, const WebPoint& screenPoint,
224 const WebPoint& clientPoint, const WebPoint& screenPoint,
234 const WebPoint& clientPoint, const WebPoint& screenPoint,
237 const WebPoint& clientPoint, const WebPoint& screenPoint,
241 const WebPoint& clientPoint, const WebPoint& screenPoint) = 0;
/external/webkit/Source/WebKit/chromium/src/
DWebViewImpl.h153 const WebPoint& screenPoint,
157 const WebPoint& screenPoint,
163 const WebPoint& screenPoint,
167 const WebPoint& screenPoint,
172 const WebPoint& screenPoint);
402 const WebPoint& screenPoint,
DWebViewImpl.cpp1775 const WebPoint& screenPoint, in dragSourceEndedAt() argument
1779 screenPoint, in dragSourceEndedAt()
1789 const WebPoint& screenPoint, in dragSourceMovedTo() argument
1808 const WebPoint& screenPoint, in dragTargetDragEnter() argument
1816 return dragTargetDragEnterOrOver(clientPoint, screenPoint, DragEnter); in dragTargetDragEnter()
1821 const WebPoint& screenPoint, in dragTargetDragOver() argument
1826 return dragTargetDragEnterOrOver(clientPoint, screenPoint, DragOver); in dragTargetDragOver()
1848 const WebPoint& screenPoint) in dragTargetDrop() argument
1867 screenPoint, in dragTargetDrop()
1878 …dragTargetDragEnterOrOver(const WebPoint& clientPoint, const WebPoint& screenPoint, DragAction dra… in dragTargetDragEnterOrOver() argument
[all …]
/external/webkit/Tools/DumpRenderTree/win/
DEventSender.cpp238 POINT screenPoint = msg.pt; in doMouseUp() local
240 ::ClientToScreen(webViewWindow, &screenPoint); in doMouseUp()
242 … webViewDropTarget->DragEnter(draggingInfo->dataObject(), 0, pointl(screenPoint), &effect); in doMouseUp()
248 webViewDropTarget->DragOver(0, pointl(screenPoint), &effect); in doMouseUp()
251 … webViewDropTarget->Drop(draggingInfo->dataObject(), 0, pointl(screenPoint), &effect); in doMouseUp()
311 POINT screenPoint = msg.pt; in doMouseMove() local
312 ::ClientToScreen(webViewWindow, &screenPoint); in doMouseMove()
319 webViewDropTarget->DragOver(MK_LBUTTON, pointl(screenPoint), &effect); in doMouseMove()
321 … webViewDropTarget->DragEnter(draggingInfo->dataObject(), 0, pointl(screenPoint), &effect); in doMouseMove()
/external/webkit/Tools/DumpRenderTree/chromium/
DEventSender.cpp338 WebPoint screenPoint(event.globalX, event.globalY); in doDragDrop() local
341 …currentDragEffect = webview()->dragTargetDragEnter(dragData, clientPoint, screenPoint, currentDrag… in doDragDrop()
441 WebPoint screenPoint(e.globalX, e.globalY); in doMouseUp() local
443 …currentDragEffect = webview()->dragTargetDragOver(clientPoint, screenPoint, currentDragEffectsAllo… in doMouseUp()
445 webview()->dragTargetDrop(clientPoint, screenPoint); in doMouseUp()
448 webview()->dragSourceEndedAt(clientPoint, screenPoint, currentDragEffect); in doMouseUp()
485 WebPoint screenPoint(e.globalX, e.globalY); in doMouseMove() local
486 …currentDragEffect = webview()->dragTargetDragOver(clientPoint, screenPoint, currentDragEffectsAllo… in doMouseMove()
/external/webkit/Tools/DumpRenderTree/mac/
DDumpRenderTreeDraggingInfo.h50 - (void)slideDraggedImageTo:(NSPoint)screenPoint;
DDumpRenderTreeDraggingInfo.mm97 - (void)slideDraggedImageTo:(NSPoint)screenPoint
/external/webkit/Source/WebCore/platform/mac/
DPlatformScreenMac.mm106 NSPoint flipScreenPoint(const NSPoint& screenPoint, NSScreen *screen)
108 NSPoint flippedPoint = screenPoint;
/external/chromium/chrome/browser/tab_contents/
Dtab_contents_view_mac.mm452 endedAt:(NSPoint)screenPoint
454 [dragSource_ endDragAt:screenPoint operation:operation];
461 - (void)draggedImage:(NSImage*)draggedImage movedTo:(NSPoint)screenPoint {
462 [dragSource_ moveDragTo:screenPoint];
/external/webkit/WebKitLibraries/
DWebKitSystemInterface.h463 void WKShowWordDefinitionWindow(NSAttributedString *term, NSPoint screenPoint, NSDictionary *option…
/external/webkit/Source/WebKit/mac/Plugins/Hosted/
DNetscapePluginInstanceProxy.mm415 NSPoint screenPoint = [[event window] convertBaseToScreen:[event locationInWindow]];
429 screenPoint.x, screenPoint.y,
/external/webkit/Source/WebKit2/Shared/mac/
DWebEventFactory.mm126 static NSPoint flipScreenPoint(const NSPoint& screenPoint, NSScreen *screen)
128 NSPoint flippedPoint = screenPoint;
/external/webkit/Source/WebKit/mac/WebView/
DWebHTMLView.mm5442 NSPoint screenPoint = [[self window] convertBaseToScreen:windowPoint];
5445 … coreGraphicsScreenPointForAppKitScreenPoint(screenPoint), false, nil);