summaryrefslogtreecommitdiffstats
path: root/src/core/web_contents_delegate_qt.h
diff options
context:
space:
mode:
authorAllan Sandfeld Jensen <allan.jensen@qt.io>2019-06-24 14:41:46 +0200
committerAllan Sandfeld Jensen <allan.jensen@qt.io>2020-04-15 17:17:26 +0200
commiteb96f424587c5da4eabe1306e4c277879a245c02 (patch)
tree22b4b13e620dca5b06bbed457be8b01ac5bb21e7 /src/core/web_contents_delegate_qt.h
parent3125f1ac3951c63c20110c7e3946ca281cebbdf3 (diff)
Join some features request and response functions
Will make it easier to expands with more features in the future Change-Id: Ic7c1aca23a543c95a4873471c918f74606be2053 Reviewed-by: Kirill Burtsev <kirill.burtsev@qt.io>
Diffstat (limited to 'src/core/web_contents_delegate_qt.h')
-rw-r--r--src/core/web_contents_delegate_qt.h3
1 files changed, 1 insertions, 2 deletions
diff --git a/src/core/web_contents_delegate_qt.h b/src/core/web_contents_delegate_qt.h
index 81d6c8671..f32b02caf 100644
--- a/src/core/web_contents_delegate_qt.h
+++ b/src/core/web_contents_delegate_qt.h
@@ -172,8 +172,7 @@ public:
void overrideWebPreferences(content::WebContents *, content::WebPreferences*);
void allowCertificateError(const QSharedPointer<CertificateErrorController> &);
void selectClientCert(const QSharedPointer<ClientCertSelectController> &);
- void requestGeolocationPermission(const QUrl &requestingOrigin);
- void requestUserNotificationPermission(const QUrl &requestingOrigin);
+ void requestFeaturePermission(ProfileAdapter::PermissionType feature, const QUrl &requestingOrigin);
void launchExternalURL(const QUrl &url, ui::PageTransition page_transition, bool is_main_frame, bool has_user_gesture);
FaviconManager *faviconManager();
FindTextHelper *findTextHelper();