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

Unified Diff: third_party/WebKit/Source/web/WebViewImpl.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
Index: third_party/WebKit/Source/web/WebViewImpl.h
diff --git a/third_party/WebKit/Source/web/WebViewImpl.h b/third_party/WebKit/Source/web/WebViewImpl.h
index 26e93e70cab528ef4957290ae5bffb546eab2d11..990005c3c86368b17ecb7aa03c8ec514cb5fead7 100644
--- a/third_party/WebKit/Source/web/WebViewImpl.h
+++ b/third_party/WebKit/Source/web/WebViewImpl.h
@@ -236,25 +236,25 @@ public:
WebHitTestResult hitTestResultAt(const WebPoint&) override;
WebHitTestResult hitTestResultForTap(const WebPoint&, const WebSize&) override;
void dragSourceEndedAt(
- const WebPoint& clientPoint,
+ const WebPoint& pointInViewport,
const WebPoint& screenPoint,
WebDragOperation) override;
void dragSourceSystemDragEnded() override;
WebDragOperation dragTargetDragEnter(
const WebDragData&,
- const WebPoint& clientPoint,
+ const WebPoint& pointInViewport,
const WebPoint& screenPoint,
WebDragOperationsMask operationsAllowed,
int modifiers) override;
WebDragOperation dragTargetDragOver(
- const WebPoint& clientPoint,
+ const WebPoint& pointInViewport,
const WebPoint& screenPoint,
WebDragOperationsMask operationsAllowed,
int modifiers) override;
void dragTargetDragLeave() override;
void dragTargetDrop(
const WebDragData&,
- const WebPoint& clientPoint,
+ const WebPoint& pointInViewport,
const WebPoint& screenPoint,
int modifiers) override;
void spellingMarkers(WebVector<uint32_t>* markers) override;
@@ -577,7 +577,7 @@ private:
// Consolidate some common code between starting a drag over a target and
// updating a drag over a target. If we're starting a drag, |isEntering|
// should be true.
- WebDragOperation dragTargetDragEnterOrOver(const WebPoint& clientPoint,
+ WebDragOperation dragTargetDragEnterOrOver(const WebPoint& pointInViewport,
const WebPoint& screenPoint,
DragAction,
int modifiers);

Powered by Google App Engine
This is Rietveld 408576698