diff options
| author | Jonathan Dixon <joth@google.com> | 2013-09-18 19:14:08 +0000 |
|---|---|---|
| committer | Android (Google) Code Review <android-gerrit@google.com> | 2013-09-18 19:14:09 +0000 |
| commit | 01fc088462d05478bcdf416fb02532d53e85dd6a (patch) | |
| tree | afe0c225604426e67edcc4e79d27139d0bfd4cf7 /core/java/android/webkit/WebChromeClient.java | |
| parent | 840b3bd61185456ccb574c2be115ea78ec418327 (diff) | |
| parent | 5545d083d35620a625b65fafe97199660d85f059 (diff) | |
Merge "Update APIs for the Chromium WebView" into klp-dev
Diffstat (limited to 'core/java/android/webkit/WebChromeClient.java')
| -rw-r--r-- | core/java/android/webkit/WebChromeClient.java | 10 |
1 files changed, 6 insertions, 4 deletions
diff --git a/core/java/android/webkit/WebChromeClient.java b/core/java/android/webkit/WebChromeClient.java index 21b0578f1355..aa57423a09eb 100644 --- a/core/java/android/webkit/WebChromeClient.java +++ b/core/java/android/webkit/WebChromeClient.java @@ -238,9 +238,10 @@ public class WebChromeClient { * @param totalQuota The total quota for all origins, in bytes * @param quotaUpdater An instance of {@link WebStorage.QuotaUpdater} which * must be used to inform the WebView of the new quota. + * @deprecated This method is no longer called; WebView now uses the HTML5 / JavaScript Quota + * Management API. */ - // Note that the callback must always be executed at some point to ensure - // that the sleeping WebCore thread is woken up. + @Deprecated public void onExceededDatabaseQuota(String url, String databaseIdentifier, long quota, long estimatedDatabaseSize, long totalQuota, WebStorage.QuotaUpdater quotaUpdater) { @@ -263,9 +264,10 @@ public class WebChromeClient { * @param quota the current maximum Application Cache size, in bytes * @param quotaUpdater An instance of {@link WebStorage.QuotaUpdater} which * must be used to inform the WebView of the new quota. + * @deprecated This method is no longer called; WebView now uses the HTML5 / JavaScript Quota + * Management API. */ - // Note that the callback must always be executed at some point to ensure - // that the sleeping WebCore thread is woken up. + @Deprecated public void onReachedMaxAppCacheSize(long requiredStorage, long quota, WebStorage.QuotaUpdater quotaUpdater) { quotaUpdater.updateQuota(quota); |
