summaryrefslogtreecommitdiffstats
path: root/src/core/web_contents_adapter.h
diff options
context:
space:
mode:
authorJoerg Bornemann <joerg.bornemann@theqtcompany.com>2015-07-03 16:09:46 +0200
committerJoerg Bornemann <joerg.bornemann@theqtcompany.com>2015-07-06 16:53:16 +0000
commit934d63d395684626cdfc2fc1170d7424955e7cd7 (patch)
treed31438d66725ce121f67030ce4999c1ea52d3041 /src/core/web_contents_adapter.h
parent9b70ebd22d58a89ca605f1f7ea602148b183055f (diff)
add Download*ToDisk web actions
Add the web actions DownloadLinkToDisk, DownloadImageToDisk and DownloadMediaToDisk. Change-Id: If6c9c8a3f4b95ad3032cff71ffc53a48be26e083 Reviewed-by: Allan Sandfeld Jensen <allan.jensen@theqtcompany.com>
Diffstat (limited to 'src/core/web_contents_adapter.h')
-rw-r--r--src/core/web_contents_adapter.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/core/web_contents_adapter.h b/src/core/web_contents_adapter.h
index 2e65b86c1..db8449478 100644
--- a/src/core/web_contents_adapter.h
+++ b/src/core/web_contents_adapter.h
@@ -111,6 +111,7 @@ public:
quint64 findText(const QString &subString, bool caseSensitively, bool findBackward);
void stopFinding();
void updateWebPreferences(const content::WebPreferences &webPreferences);
+ void download(const QUrl &url, const QString &suggestedFileName);
// Must match blink::WebMediaPlayerAction::Type.
enum MediaPlayerAction {