summaryrefslogtreecommitdiffstats
path: root/src/core/web_contents_view_qt.h
diff options
context:
space:
mode:
authorJocelyn Turcotte <jocelyn.turcotte@digia.com>2014-02-14 17:56:19 +0100
committerThe Qt Project <gerrit-noreply@qt-project.org>2014-02-14 18:10:28 +0100
commitf67e53d038a78f0ca1bc1ccdbfecfbcddfc2f816 (patch)
tree264052047f8730f9ea5c20b7a1c19e8a48cc7fde /src/core/web_contents_view_qt.h
parent10a9cda2c25aa453ad1fa7a0b6fbf3426f886971 (diff)
Avoid locking up the web view when starting a drag
We currently don't have an implementation for drag and drop and we need to explicitly call SystemDragEnded to avoid leaving the render process in an inconsisten state. See http://crbug.com/157134 Change-Id: I52220602d4e4832d11ef601589a588c91bb81285 Reviewed-by: Andras Becsi <andras.becsi@digia.com>
Diffstat (limited to 'src/core/web_contents_view_qt.h')
-rw-r--r--src/core/web_contents_view_qt.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/core/web_contents_view_qt.h b/src/core/web_contents_view_qt.h
index 1c9da487b..63e240b99 100644
--- a/src/core/web_contents_view_qt.h
+++ b/src/core/web_contents_view_qt.h
@@ -110,6 +110,8 @@ public:
virtual void ShowPopupMenu(const gfx::Rect& bounds, int item_height, double item_font_size, int selected_item,
const std::vector<content::MenuItem>& items, bool right_aligned, bool allow_multiple_selection) Q_DECL_OVERRIDE { QT_NOT_YET_IMPLEMENTED }
+ virtual void StartDragging(const content::DropData& drop_data, WebKit::WebDragOperationsMask allowed_ops, const gfx::ImageSkia& image, const gfx::Vector2d& image_offset, const content::DragEventSourceInfo& event_info) Q_DECL_OVERRIDE;
+
virtual void ShowContextMenu(const content::ContextMenuParams &params) Q_DECL_OVERRIDE;
virtual void TakeFocus(bool reverse) Q_DECL_OVERRIDE;