WebKit2: Expose the preference to enable or disable HTML5 Databases.
authorjberlin@webkit.org <jberlin@webkit.org@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Tue, 7 Dec 2010 00:18:44 +0000 (00:18 +0000)
committerjberlin@webkit.org <jberlin@webkit.org@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Tue, 7 Dec 2010 00:18:44 +0000 (00:18 +0000)
commit4bbc48985f2d428b788302711a71d2d42c587f28
tree31a05a080f69070eb9d26b3e941e4e5824bf5f2d
parent9d21ffced71a72b5d037f4b2b4c2c6257dffbc48
WebKit2: Expose the preference to enable or disable HTML5 Databases.
https://bugs.webkit.org/show_bug.cgi?id=50411

Reviewed by Dan Bernstein.

* Shared/WebPreferencesStore.h:
Make the preference to enable HTML5 Databases default ot true.

* UIProcess/API/C/WKPreferences.cpp:
(WKPreferencesSetDatabasesEnabled):
(WKPreferencesGetDatabasesEnabled):
* UIProcess/API/C/WKPreferences.h:

* WebProcess/WebPage/WebPage.cpp:
(WebKit::WebPage::updatePreferences):
Set AbstractDatabase::isAvailable (mimicking how the preference is set in WebKit1).

git-svn-id: https://svn.webkit.org/repository/webkit/trunk@73410 268f45cc-cd09-0410-ab3c-d52691b4dbfc
WebKit2/ChangeLog
WebKit2/Shared/WebPreferencesStore.h
WebKit2/UIProcess/API/C/WKPreferences.cpp
WebKit2/UIProcess/API/C/WKPreferences.h
WebKit2/WebProcess/WebPage/WebPage.cpp