Index: content/public/browser/web_contents.h |
diff --git a/content/public/browser/web_contents.h b/content/public/browser/web_contents.h |
index 22f0fabafbb7a1f59683d2d9b18d53b61684f2fa..88f2976dd59758845b922774ab4176e8a84ab9f7 100644 |
--- a/content/public/browser/web_contents.h |
+++ b/content/public/browser/web_contents.h |
@@ -17,6 +17,7 @@ |
#include "content/public/browser/web_ui.h" |
#include "ipc/ipc_sender.h" |
#include "third_party/skia/include/core/SkColor.h" |
+#include "third_party/WebKit/Source/WebKit/chromium/public/WebDragOperation.h" |
#include "ui/base/window_open_disposition.h" |
#include "ui/gfx/native_widget_types.h" |
#include "ui/gfx/size.h" |
@@ -345,8 +346,18 @@ class WebContents : public PageNavigator, |
// times, subsequent calls are ignored. |
virtual void OnCloseStarted() = 0; |
- // A render view-originated drag has ended. Informs the render view host and |
- // WebContentsDelegate. |
+ // Informs the render view host and the BrowserPluginEmbedder, if present, of |
+ // a Drag Source End. |
+ virtual void DragSourceEndedAt(int client_x, int client_y, int screen_x, |
+ int screen_y, WebKit::WebDragOperation operation) = 0; |
+ |
+ // Informs the render view host and the BrowserPluginEmbedder, if present, of |
+ // a Drag Source Move. |
+ virtual void DragSourceMovedTo(int client_x, int client_y, |
+ int screen_x, int screen_y) = 0; |
+ |
+ // A render view-originated drag has ended. Informs the render view host, the |
+ // WebContentsDelegate, and the BrowserPluginEmbedder, if present. |
virtual void SystemDragEnded() = 0; |
// Notification the user has made a gesture while focus was on the |