Home
last modified time | relevance | path

Searched refs:screenPoint (Results 1 – 16 of 16) 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/chromium_org/content/browser/web_contents/
Dweb_drag_dest_mac.mm84 NSPoint screenPoint = [[view window] convertBaseToScreen:windowPoint];
87 screenPoint.y = screenFrame.size.height - screenPoint.y;
88 return screenPoint;
142 NSPoint screenPoint = [self flipWindowPointToScreen:windowPoint view:view];
146 gfx::Point(screenPoint.x, screenPoint.y),
193 NSPoint screenPoint = [self flipWindowPointToScreen:windowPoint view:view];
197 gfx::Point(screenPoint.x, screenPoint.y),
236 NSPoint screenPoint = [self flipWindowPointToScreen:windowPoint view:view];
239 gfx::Point(screenPoint.x, screenPoint.y),
Dweb_drag_source_mac.mm222 - (NSPoint)convertScreenPoint:(NSPoint)screenPoint {
224 NSPoint basePoint = [[contentsView_ window] convertScreenToBase:screenPoint];
262 - (void)endDragAt:(NSPoint)screenPoint
271 // Convert |screenPoint| to view coordinates and flip it.
274 localPoint = [self convertScreenPoint:screenPoint];
277 // Flip |screenPoint|.
279 screenPoint.y = screenFrame.size.height - screenPoint.y;
287 contents_->DragSourceEndedAt(localPoint.x, localPoint.y, screenPoint.x,
288 screenPoint.y, static_cast<blink::WebDragOperation>(operation));
295 - (void)moveDragTo:(NSPoint)screenPoint {
[all …]
Dweb_drag_source_mac.h83 - (void)endDragAt:(NSPoint)screenPoint
87 - (void)moveDragTo:(NSPoint)screenPoint;
Dweb_drag_dest_mac_unittest.mm72 NSPoint screenPoint =
77 EXPECT_EQ(0, screenPoint.x);
80 EXPECT_NE(0, screenPoint.y);
Dweb_contents_view_mac.mm553 endedAt:(NSPoint)screenPoint
555 [dragSource_ endDragAt:screenPoint operation:operation];
562 - (void)draggedImage:(NSImage*)draggedImage movedTo:(NSPoint)screenPoint {
563 [dragSource_ moveDragTo:screenPoint];
/external/chromium_org/third_party/WebKit/public/web/
DWebView.h339 const WebPoint& clientPoint, const WebPoint& screenPoint,
344 const WebPoint& clientPoint, const WebPoint& screenPoint,
354 const WebPoint& clientPoint, const WebPoint& screenPoint,
358 const WebPoint& clientPoint, const WebPoint& screenPoint,
363 const WebPoint& clientPoint, const WebPoint& screenPoint,
/external/chromium_org/third_party/WebKit/Source/web/
DWebViewImpl.h256 const WebPoint& screenPoint,
260 const WebPoint& screenPoint,
266 const WebPoint& screenPoint,
271 const WebPoint& screenPoint,
277 const WebPoint& screenPoint,
614 const WebPoint& screenPoint,
DWebViewImpl.cpp3239 const WebPoint& screenPoint, in dragSourceEndedAt() argument
3243 screenPoint, in dragSourceEndedAt()
3252 const WebPoint& screenPoint, in dragSourceMovedTo() argument
3270 const WebPoint& screenPoint, in dragTargetDragEnter() argument
3279 return dragTargetDragEnterOrOver(clientPoint, screenPoint, DragEnter, keyModifiers); in dragTargetDragEnter()
3284 const WebPoint& screenPoint, in dragTargetDragOver() argument
3290 return dragTargetDragEnterOrOver(clientPoint, screenPoint, DragOver, keyModifiers); in dragTargetDragOver()
3312 const WebPoint& screenPoint, in dragTargetDrop() argument
3333 screenPoint, in dragTargetDrop()
3353 …dragTargetDragEnterOrOver(const WebPoint& clientPoint, const WebPoint& screenPoint, DragAction dra… in dragTargetDragEnterOrOver() argument
[all …]
/external/chromium_org/third_party/WebKit/Source/testing/runner/
DEventSender.cpp370 WebPoint screenPoint(event.globalX, event.globalY); in doDragDrop() local
373 …currentDragEffect = webview()->dragTargetDragEnter(dragData, clientPoint, screenPoint, currentDrag… in doDragDrop()
489 WebPoint screenPoint(e.globalX, e.globalY); in doMouseUp() local
490 …finishDragAndDrop(e, webview()->dragTargetDragOver(clientPoint, screenPoint, currentDragEffectsAll… in doMouseUp()
496 WebPoint screenPoint(e.globalX, e.globalY); in finishDragAndDrop() local
499 webview()->dragTargetDrop(clientPoint, screenPoint, 0); in finishDragAndDrop()
502 webview()->dragSourceEndedAt(clientPoint, screenPoint, currentDragEffect); in finishDragAndDrop()
542 WebPoint screenPoint(e.globalX, e.globalY); in doMouseMove() local
543 …currentDragEffect = webview()->dragTargetDragOver(clientPoint, screenPoint, currentDragEffectsAllo… in doMouseMove()
/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];