diff options
author | Szabolcs David <davidsz@inf.u-szeged.hu> | 2014-10-16 04:47:32 -0700 |
---|---|---|
committer | Szabolcs David <davidsz@inf.u-szeged.hu> | 2014-10-16 14:37:00 +0200 |
commit | 14fcf0d3193e2ee2bf904a305c9f34ff8d0e5ce7 (patch) | |
tree | 76496862e2c69f1756095f8ced9e1ec2c843ab00 /src/core/content_browser_client_qt.h | |
parent | af5a72743e3d744b6b5cc53c3f61b8566b7c0920 (diff) |
Disable geolocation
This prevents the crash when a webpage requests geolocation permission.
Change-Id: I7331b869ec1439d678cee7941691289220718f3d
Reviewed-by: Zeno Albisser <zeno.albisser@digia.com>
Diffstat (limited to 'src/core/content_browser_client_qt.h')
-rw-r--r-- | src/core/content_browser_client_qt.h | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/src/core/content_browser_client_qt.h b/src/core/content_browser_client_qt.h index 9cf1695fe..dd5d9f3a1 100644 --- a/src/core/content_browser_client_qt.h +++ b/src/core/content_browser_client_qt.h @@ -90,6 +90,13 @@ public: bool strict_enforcement, const base::Callback<void(bool)>& callback, content::CertificateRequestResultType* result) Q_DECL_OVERRIDE; + virtual void RequestGeolocationPermission( + content::WebContents *webContents, + int bridge_id, + const GURL &requesting_frame, + bool user_gesture, + base::Callback<void(bool)> result_callback, + base::Closure *cancel_callback) Q_DECL_OVERRIDE; BrowserContextQt* browser_context(); |