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

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

Issue 2501213002: Drag-and-drop: dragSourceEndedAt, dragSourceSystemDragEnded (Closed)
Patch Set: Rebased. Added check for !GetWebWidget(). Created 4 years, 1 month 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/public/web/WebFrameWidget.h
diff --git a/third_party/WebKit/public/web/WebFrameWidget.h b/third_party/WebKit/public/web/WebFrameWidget.h
index 952132d2c16a6137f3239bc8ce37b598c1d514ad..4dd05097484d2ef191f66aabf2e5de29a0cea8c4 100644
--- a/third_party/WebKit/public/web/WebFrameWidget.h
+++ b/third_party/WebKit/public/web/WebFrameWidget.h
@@ -89,7 +89,7 @@ class WebFrameWidget : public WebWidget {
const = 0;
// Callback methods when a drag-and-drop operation is trying to drop something
- // on the WebWidget.
+ // on the WebFrameWidget.
virtual WebDragOperation dragTargetDragEnter(
const WebDragData&,
const WebPoint& pointInViewport,
@@ -106,6 +106,15 @@ class WebFrameWidget : public WebWidget {
const WebPoint& pointInViewport,
const WebPoint& screenPoint,
int modifiers) = 0;
+
+ // Notifies the WebFrameWidget that a drag has terminated.
+ virtual void dragSourceEndedAt(const WebPoint& pointInViewport,
+ const WebPoint& screenPoint,
+ WebDragOperation) = 0;
+
+ // Notfies the WebFrameWidget that the system drag and drop operation has
+ // ended.
+ virtual void dragSourceSystemDragEnded() = 0;
};
} // namespace blink

Powered by Google App Engine
This is Rietveld 408576698