summaryrefslogtreecommitdiffstats
path: root/src/core/web_contents_adapter_client.h
diff options
context:
space:
mode:
authorMichal Klocek <michal.klocek@qt.io>2020-10-19 09:57:50 +0200
committerMichal Klocek <michal.klocek@qt.io>2020-11-13 09:26:22 +0100
commit2dcca95c142499baa7f10ffd99c9f085a06c52cf (patch)
tree40660cae1fe9836c1d7fbd88b5997830ac1825c2 /src/core/web_contents_adapter_client.h
parent6ca2cfe2c29f41202491c51ef897c4f211c28c27 (diff)
Small refactor of startDragging
This is required to decouple 'view' logic from page. Change-Id: I84ef8cf729ef87d9339cae3f1bb1f0c709035ccf Reviewed-by: Allan Sandfeld Jensen <allan.jensen@qt.io>
Diffstat (limited to 'src/core/web_contents_adapter_client.h')
-rw-r--r--src/core/web_contents_adapter_client.h4
1 files changed, 1 insertions, 3 deletions
diff --git a/src/core/web_contents_adapter_client.h b/src/core/web_contents_adapter_client.h
index ca5ca10de..13ed99a91 100644
--- a/src/core/web_contents_adapter_client.h
+++ b/src/core/web_contents_adapter_client.h
@@ -238,9 +238,7 @@ public:
virtual void updateContentsSize(const QSizeF &size) = 0;
virtual void updateNavigationActions() = 0;
virtual void updateEditActions() = 0;
- virtual void startDragging(const content::DropData &dropData, Qt::DropActions allowedActions,
- const QPixmap &pixmap, const QPoint &offset) = 0;
- virtual bool supportsDragging() const = 0;
+ virtual QObject *dragSource() const = 0;
virtual bool isEnabled() const = 0;
virtual const QObject *holdingQObject() const = 0;
virtual void setToolTip(const QString& toolTipText) = 0;