summaryrefslogtreecommitdiffstats
path: root/res/xml
diff options
context:
space:
mode:
authorNicolas Roard <nicolasroard@google.com>2009-05-11 13:34:17 +0100
committerNicolas Roard <nicolasroard@google.com>2009-05-11 15:21:18 +0100
commit78a98e459323f938e97789a6131beddbebb459ce (patch)
tree33c27f05be9380b2d5f292aef2ea0f3db910da86 /res/xml
parent11b90900d0d27e5e288b01c6dbdfb893f1cc1eea (diff)
downloadpackages_apps_Browser-78a98e459323f938e97789a6131beddbebb459ce.zip
packages_apps_Browser-78a98e459323f938e97789a6131beddbebb459ce.tar.gz
packages_apps_Browser-78a98e459323f938e97789a6131beddbebb459ce.tar.bz2
Add UI support in the browser for HTML5 databases
Diffstat (limited to 'res/xml')
-rw-r--r--res/xml/browser_preferences.xml36
1 files changed, 36 insertions, 0 deletions
diff --git a/res/xml/browser_preferences.xml b/res/xml/browser_preferences.xml
index 79dfb92..c5b6b24 100644
--- a/res/xml/browser_preferences.xml
+++ b/res/xml/browser_preferences.xml
@@ -171,6 +171,42 @@
android:title="@string/pref_extras_gears_settings"
android:summary="@string/pref_extras_gears_settings_summary" />
+ <PreferenceScreen
+ android:key="webstorage_settings"
+ android:title="@string/pref_extras_webstorage_settings"
+ android:summary="@string/pref_extras_webstorage_settings_summary">
+
+ <CheckBoxPreference
+ android:key="enable_database"
+ android:defaultValue="true"
+ android:title="@string/pref_extras_webstorage_enable"
+ android:summary="@string/pref_extras_webstorage_enable_summary" />
+
+ <ListPreference
+ android:key="webstorage_default_quota"
+ android:dependency="enable_database"
+ android:title="@string/pref_extras_webstorage_set_quota"
+ android:summary="@string/pref_extras_webstorage_set_quota_summary"
+ android:entries="@array/webstorage_quota_entries"
+ android:entryValues="@array/webstorage_quota_entries_values" />
+
+ <PreferenceScreen
+ android:key="webstorage_manage_databases"
+ android:dependency="enable_database"
+ android:title="@string/pref_extras_webstorage_manage_databases"
+ android:summary="@string/pref_extras_webstorage_manage_databases_summary" />
+
+ <com.android.browser.BrowserYesNoPreference
+ android:key="webstorage_clear_databases"
+ android:dependency="enable_database"
+ android:title="@string/pref_extras_webstorage_clear_databases"
+ android:summary="@string/pref_extras_webstorage_clear_databases_summary"
+ android:dialogMessage="@string/pref_extras_webstorage_clear_databases_dlg"
+ android:dialogTitle="@string/clear"
+ android:dialogIcon="@android:drawable/ic_dialog_alert" />
+
+ </PreferenceScreen>
+
<com.android.browser.BrowserYesNoPreference
android:key="reset_default_preferences"
android:title="@string/pref_extras_reset_default"