Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(897)

Unified Diff: third_party/WebKit/public/web/WebView.h

Issue 2397883002: Convert drag event position to root frame. (Closed)
Patch Set: Created 4 years, 2 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « third_party/WebKit/Source/web/WebViewImpl.cpp ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: third_party/WebKit/public/web/WebView.h
diff --git a/third_party/WebKit/public/web/WebView.h b/third_party/WebKit/public/web/WebView.h
index bba44bc96072625e1b883833ebf064ece38818a5..c363fb349b2f9710b655a0201c7ba66f169e232d 100644
--- a/third_party/WebKit/public/web/WebView.h
+++ b/third_party/WebKit/public/web/WebView.h
@@ -370,7 +370,7 @@ public:
// Notifies the WebView that a drag has terminated.
virtual void dragSourceEndedAt(
- const WebPoint& clientPoint, const WebPoint& screenPoint,
+ const WebPoint& pointInViewport, const WebPoint& screenPoint,
WebDragOperation operation) = 0;
// Notfies the WebView that the system drag and drop operation has ended.
@@ -380,17 +380,17 @@ public:
// something on the WebView.
virtual WebDragOperation dragTargetDragEnter(
const WebDragData&,
- const WebPoint& clientPoint, const WebPoint& screenPoint,
+ const WebPoint& pointInViewport, const WebPoint& screenPoint,
WebDragOperationsMask operationsAllowed,
int modifiers) = 0;
virtual WebDragOperation dragTargetDragOver(
- const WebPoint& clientPoint, const WebPoint& screenPoint,
+ const WebPoint& pointInViewport, const WebPoint& screenPoint,
WebDragOperationsMask operationsAllowed,
int modifiers) = 0;
virtual void dragTargetDragLeave() = 0;
virtual void dragTargetDrop(
const WebDragData&,
- const WebPoint& clientPoint, const WebPoint& screenPoint,
+ const WebPoint& pointInViewport, const WebPoint& screenPoint,
int modifiers) = 0;
// Retrieves a list of spelling markers.
« no previous file with comments | « third_party/WebKit/Source/web/WebViewImpl.cpp ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698