Index: content/browser/web_contents/web_drag_source_win.h |
diff --git a/content/browser/web_contents/web_drag_source_win.h b/content/browser/web_contents/web_drag_source_win.h |
index 72d4a1692a243afb8ab7a3394de5e329d154a20c..967c7abbe1fc3f84eb5b15ad759f9103cba7f1c6 100644 |
--- a/content/browser/web_contents/web_drag_source_win.h |
+++ b/content/browser/web_contents/web_drag_source_win.h |
@@ -48,6 +48,7 @@ class WebDragSource : public ui::DragSourceWin, |
virtual void OnDragSourceCancel(); |
virtual void OnDragSourceDrop(); |
virtual void OnDragSourceMove(); |
+ virtual bool ShouldDropDragSource(BOOL escape_pressed, DWORD key_state); |
private: |
// Cannot construct thusly. |
@@ -57,6 +58,8 @@ class WebDragSource : public ui::DragSourceWin, |
// by posting a task to this function. |
void DelayedOnDragSourceDrop(); |
+ void OnDragSourceEnded(); |
+ |
// Keep a reference to the window so we can translate the cursor position. |
gfx::NativeWindow source_wnd_; |