Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(222)

Unified Diff: third_party/WebKit/Source/web/WebSettingsImpl.cpp

Issue 1530403002: Removal of geolocation APIs on insecure origins (Closed) Base URL: https://chromium.googlesource.com/chromium/src@master
Patch Set: Fix unit test Created 5 years ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
Index: third_party/WebKit/Source/web/WebSettingsImpl.cpp
diff --git a/third_party/WebKit/Source/web/WebSettingsImpl.cpp b/third_party/WebKit/Source/web/WebSettingsImpl.cpp
index 6df9dadb3be256efe87e5379fa705f0c8ad9aaa8..98a855a6c1942eaf3326e25f58e91af90bdc52d8 100644
--- a/third_party/WebKit/Source/web/WebSettingsImpl.cpp
+++ b/third_party/WebKit/Source/web/WebSettingsImpl.cpp
@@ -459,6 +459,11 @@ void WebSettingsImpl::setAllowFileAccessFromFileURLs(bool allow)
m_settings->setAllowFileAccessFromFileURLs(allow);
}
+void WebSettingsImpl::setAllowGeolocationOnInsecureOrigins(bool allow)
+{
+ m_settings->setAllowGeolocationOnInsecureOrigins(allow);
+}
+
void WebSettingsImpl::setThreadedScrollingEnabled(bool enabled)
{
m_settings->setThreadedScrollingEnabled(enabled);

Powered by Google App Engine
This is Rietveld 408576698