diff options
author | Allan Sandfeld Jensen <allan.jensen@theqtcompany.com> | 2015-09-22 16:14:58 +0200 |
---|---|---|
committer | Allan Sandfeld Jensen <allan.jensen@theqtcompany.com> | 2015-09-28 14:22:48 +0000 |
commit | 708b852a1b587e68e0ccc6999d4e04fa830689e3 (patch) | |
tree | 84bb94bfb7e1ed64f5842d697830a443773f1164 /src/core/web_contents_delegate_qt.h | |
parent | 2080ac3ad0878dc04865bf957c84f8f0b5b551ac (diff) |
External URL support
Support for launching external URLs such as mailto:
They are also routed through navigationRequested like they would have
been in QtWebKit.
[ChangeLog][QtWebEngineCore] External links such as mailto: are now handled. By
default they launch using QDesktopServices.
Change-Id: I83ed96e2330d54cae57f03648d471a8da9a82a30
Task-number: QTBUG-47143
Reviewed-by: Kai Koehne <kai.koehne@theqtcompany.com>
Diffstat (limited to 'src/core/web_contents_delegate_qt.h')
-rw-r--r-- | src/core/web_contents_delegate_qt.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/core/web_contents_delegate_qt.h b/src/core/web_contents_delegate_qt.h index 3fda96113..14421d060 100644 --- a/src/core/web_contents_delegate_qt.h +++ b/src/core/web_contents_delegate_qt.h @@ -107,6 +107,7 @@ public: void overrideWebPreferences(content::WebContents *, content::WebPreferences*); void allowCertificateError(const QSharedPointer<CertificateErrorController> &) ; void requestGeolocationPermission(const QUrl &requestingOrigin); + void launchExternalURL(const QUrl &url, ui::PageTransition page_transition, bool is_main_frame); private: WebContentsAdapter *createWindow(content::WebContents *new_contents, WindowOpenDisposition disposition, const gfx::Rect& initial_pos, bool user_gesture); |