Loading api/17.txt +0 −47 Original line number Original line Diff line number Diff line Loading @@ -26107,35 +26107,6 @@ package android.view.textservice { package android.webkit { package android.webkit { public final deprecated class CacheManager { ctor public CacheManager(); method public static deprecated boolean cacheDisabled(); method public static deprecated boolean endCacheTransaction(); method public static deprecated android.webkit.CacheManager.CacheResult getCacheFile(java.lang.String, java.util.Map<java.lang.String, java.lang.String>); method public static deprecated java.io.File getCacheFileBaseDir(); method public static deprecated void saveCacheFile(java.lang.String, android.webkit.CacheManager.CacheResult); method public static deprecated boolean startCacheTransaction(); } public static deprecated class CacheManager.CacheResult { ctor public CacheManager.CacheResult(); method public java.lang.String getContentDisposition(); method public long getContentLength(); method public java.lang.String getETag(); method public java.lang.String getEncoding(); method public long getExpires(); method public java.lang.String getExpiresString(); method public int getHttpStatusCode(); method public java.io.InputStream getInputStream(); method public java.lang.String getLastModified(); method public java.lang.String getLocalPath(); method public java.lang.String getLocation(); method public java.lang.String getMimeType(); method public java.io.OutputStream getOutputStream(); method public void setEncoding(java.lang.String); method public void setInputStream(java.io.InputStream); } public class ConsoleMessage { public class ConsoleMessage { ctor public ConsoleMessage(java.lang.String, java.lang.String, int, android.webkit.ConsoleMessage.MessageLevel); ctor public ConsoleMessage(java.lang.String, java.lang.String, int, android.webkit.ConsoleMessage.MessageLevel); method public int lineNumber(); method public int lineNumber(); Loading Loading @@ -26298,7 +26269,6 @@ package android.webkit { public class WebHistoryItem implements java.lang.Cloneable { public class WebHistoryItem implements java.lang.Cloneable { method public android.graphics.Bitmap getFavicon(); method public android.graphics.Bitmap getFavicon(); method public deprecated int getId(); method public java.lang.String getOriginalUrl(); method public java.lang.String getOriginalUrl(); method public java.lang.String getTitle(); method public java.lang.String getTitle(); method public java.lang.String getUrl(); method public java.lang.String getUrl(); Loading Loading @@ -26357,7 +26327,6 @@ package android.webkit { method public synchronized boolean getLoadsImagesAutomatically(); method public synchronized boolean getLoadsImagesAutomatically(); method public synchronized int getMinimumFontSize(); method public synchronized int getMinimumFontSize(); method public synchronized int getMinimumLogicalFontSize(); method public synchronized int getMinimumLogicalFontSize(); method public deprecated boolean getNavDump(); method public synchronized android.webkit.WebSettings.PluginState getPluginState(); method public synchronized android.webkit.WebSettings.PluginState getPluginState(); method public deprecated synchronized boolean getPluginsEnabled(); method public deprecated synchronized boolean getPluginsEnabled(); method public deprecated synchronized java.lang.String getPluginsPath(); method public deprecated synchronized java.lang.String getPluginsPath(); Loading @@ -26368,10 +26337,7 @@ package android.webkit { method public synchronized java.lang.String getStandardFontFamily(); method public synchronized java.lang.String getStandardFontFamily(); method public deprecated synchronized android.webkit.WebSettings.TextSize getTextSize(); method public deprecated synchronized android.webkit.WebSettings.TextSize getTextSize(); method public synchronized int getTextZoom(); method public synchronized int getTextZoom(); method public deprecated synchronized boolean getUseDoubleTree(); method public deprecated boolean getUseWebViewBackgroundForOverscrollBackground(); method public synchronized boolean getUseWideViewPort(); method public synchronized boolean getUseWideViewPort(); method public deprecated synchronized int getUserAgent(); method public synchronized java.lang.String getUserAgentString(); method public synchronized java.lang.String getUserAgentString(); method public void setAllowContentAccess(boolean); method public void setAllowContentAccess(boolean); method public void setAllowFileAccess(boolean); method public void setAllowFileAccess(boolean); Loading Loading @@ -26406,7 +26372,6 @@ package android.webkit { method public synchronized void setLoadsImagesAutomatically(boolean); method public synchronized void setLoadsImagesAutomatically(boolean); method public synchronized void setMinimumFontSize(int); method public synchronized void setMinimumFontSize(int); method public synchronized void setMinimumLogicalFontSize(int); method public synchronized void setMinimumLogicalFontSize(int); method public deprecated void setNavDump(boolean); method public void setNeedInitialFocus(boolean); method public void setNeedInitialFocus(boolean); method public synchronized void setPluginState(android.webkit.WebSettings.PluginState); method public synchronized void setPluginState(android.webkit.WebSettings.PluginState); method public deprecated synchronized void setPluginsEnabled(boolean); method public deprecated synchronized void setPluginsEnabled(boolean); Loading @@ -26421,10 +26386,7 @@ package android.webkit { method public void setSupportZoom(boolean); method public void setSupportZoom(boolean); method public deprecated synchronized void setTextSize(android.webkit.WebSettings.TextSize); method public deprecated synchronized void setTextSize(android.webkit.WebSettings.TextSize); method public synchronized void setTextZoom(int); method public synchronized void setTextZoom(int); method public deprecated synchronized void setUseDoubleTree(boolean); method public deprecated void setUseWebViewBackgroundForOverscrollBackground(boolean); method public synchronized void setUseWideViewPort(boolean); method public synchronized void setUseWideViewPort(boolean); method public deprecated synchronized void setUserAgent(int); method public synchronized void setUserAgentString(java.lang.String); method public synchronized void setUserAgentString(java.lang.String); method public synchronized boolean supportMultipleWindows(); method public synchronized boolean supportMultipleWindows(); method public boolean supportZoom(); method public boolean supportZoom(); Loading Loading @@ -26529,12 +26491,8 @@ package android.webkit { method public void clearSslPreferences(); method public void clearSslPreferences(); method public void clearView(); method public void clearView(); method public android.webkit.WebBackForwardList copyBackForwardList(); method public android.webkit.WebBackForwardList copyBackForwardList(); method public deprecated void debugDump(); method public void destroy(); method public void destroy(); method public static deprecated void disablePlatformNotifications(); method public void documentHasImages(android.os.Message); method public void documentHasImages(android.os.Message); method public deprecated void emulateShiftHeld(); method public static deprecated void enablePlatformNotifications(); method public static java.lang.String findAddress(java.lang.String); method public static java.lang.String findAddress(java.lang.String); method public deprecated int findAll(java.lang.String); method public deprecated int findAll(java.lang.String); method public void findAllAsync(java.lang.String); method public void findAllAsync(java.lang.String); Loading @@ -26552,7 +26510,6 @@ package android.webkit { method public android.webkit.WebSettings getSettings(); method public android.webkit.WebSettings getSettings(); method public java.lang.String getTitle(); method public java.lang.String getTitle(); method public java.lang.String getUrl(); method public java.lang.String getUrl(); method public deprecated int getVisibleTitleHeight(); method public void goBack(); method public void goBack(); method public void goBackOrForward(int); method public void goBackOrForward(int); method public void goForward(); method public void goForward(); Loading @@ -26577,11 +26534,9 @@ package android.webkit { method public void removeJavascriptInterface(java.lang.String); method public void removeJavascriptInterface(java.lang.String); method public void requestFocusNodeHref(android.os.Message); method public void requestFocusNodeHref(android.os.Message); method public void requestImageRef(android.os.Message); method public void requestImageRef(android.os.Message); method public deprecated boolean restorePicture(android.os.Bundle, java.io.File); method public android.webkit.WebBackForwardList restoreState(android.os.Bundle); method public android.webkit.WebBackForwardList restoreState(android.os.Bundle); method public void resumeTimers(); method public void resumeTimers(); method public void savePassword(java.lang.String, java.lang.String, java.lang.String); method public void savePassword(java.lang.String, java.lang.String, java.lang.String); method public deprecated boolean savePicture(android.os.Bundle, java.io.File); method public android.webkit.WebBackForwardList saveState(android.os.Bundle); method public android.webkit.WebBackForwardList saveState(android.os.Bundle); method public void saveWebArchive(java.lang.String); method public void saveWebArchive(java.lang.String); method public void saveWebArchive(java.lang.String, boolean, android.webkit.ValueCallback<java.lang.String>); method public void saveWebArchive(java.lang.String, boolean, android.webkit.ValueCallback<java.lang.String>); Loading @@ -26593,7 +26548,6 @@ package android.webkit { method public void setInitialScale(int); method public void setInitialScale(int); method public void setMapTrackballToArrowKeys(boolean); method public void setMapTrackballToArrowKeys(boolean); method public void setNetworkAvailable(boolean); method public void setNetworkAvailable(boolean); method public deprecated void setPictureListener(android.webkit.WebView.PictureListener); method public void setVerticalScrollbarOverlay(boolean); method public void setVerticalScrollbarOverlay(boolean); method public void setWebChromeClient(android.webkit.WebChromeClient); method public void setWebChromeClient(android.webkit.WebChromeClient); method public void setWebViewClient(android.webkit.WebViewClient); method public void setWebViewClient(android.webkit.WebViewClient); Loading Loading @@ -26677,7 +26631,6 @@ package android.webkit { method public boolean hasFormData(); method public boolean hasFormData(); method public boolean hasHttpAuthUsernamePassword(); method public boolean hasHttpAuthUsernamePassword(); method public boolean hasUsernamePassword(); method public boolean hasUsernamePassword(); field protected static final java.lang.String LOGTAG = "webviewdatabase"; } } public class WebViewFragment extends android.app.Fragment { public class WebViewFragment extends android.app.Fragment { api/current.txt +0 −46 Original line number Original line Diff line number Diff line Loading @@ -26774,35 +26774,6 @@ package android.view.textservice { package android.webkit { package android.webkit { public final deprecated class CacheManager { ctor public CacheManager(); method public static deprecated boolean cacheDisabled(); method public static deprecated boolean endCacheTransaction(); method public static deprecated android.webkit.CacheManager.CacheResult getCacheFile(java.lang.String, java.util.Map<java.lang.String, java.lang.String>); method public static deprecated java.io.File getCacheFileBaseDir(); method public static deprecated void saveCacheFile(java.lang.String, android.webkit.CacheManager.CacheResult); method public static deprecated boolean startCacheTransaction(); } public static deprecated class CacheManager.CacheResult { ctor public CacheManager.CacheResult(); method public java.lang.String getContentDisposition(); method public long getContentLength(); method public java.lang.String getETag(); method public java.lang.String getEncoding(); method public long getExpires(); method public java.lang.String getExpiresString(); method public int getHttpStatusCode(); method public java.io.InputStream getInputStream(); method public java.lang.String getLastModified(); method public java.lang.String getLocalPath(); method public java.lang.String getLocation(); method public java.lang.String getMimeType(); method public java.io.OutputStream getOutputStream(); method public void setEncoding(java.lang.String); method public void setInputStream(java.io.InputStream); } public class ConsoleMessage { public class ConsoleMessage { ctor public ConsoleMessage(java.lang.String, java.lang.String, int, android.webkit.ConsoleMessage.MessageLevel); ctor public ConsoleMessage(java.lang.String, java.lang.String, int, android.webkit.ConsoleMessage.MessageLevel); method public int lineNumber(); method public int lineNumber(); Loading Loading @@ -26965,7 +26936,6 @@ package android.webkit { public class WebHistoryItem implements java.lang.Cloneable { public class WebHistoryItem implements java.lang.Cloneable { method public android.graphics.Bitmap getFavicon(); method public android.graphics.Bitmap getFavicon(); method public deprecated int getId(); method public java.lang.String getOriginalUrl(); method public java.lang.String getOriginalUrl(); method public java.lang.String getTitle(); method public java.lang.String getTitle(); method public java.lang.String getUrl(); method public java.lang.String getUrl(); Loading Loading @@ -27026,7 +26996,6 @@ package android.webkit { method public boolean getMediaPlaybackRequiresUserGesture(); method public boolean getMediaPlaybackRequiresUserGesture(); method public synchronized int getMinimumFontSize(); method public synchronized int getMinimumFontSize(); method public synchronized int getMinimumLogicalFontSize(); method public synchronized int getMinimumLogicalFontSize(); method public deprecated boolean getNavDump(); method public synchronized android.webkit.WebSettings.PluginState getPluginState(); method public synchronized android.webkit.WebSettings.PluginState getPluginState(); method public deprecated synchronized boolean getPluginsEnabled(); method public deprecated synchronized boolean getPluginsEnabled(); method public deprecated synchronized java.lang.String getPluginsPath(); method public deprecated synchronized java.lang.String getPluginsPath(); Loading @@ -27037,10 +27006,7 @@ package android.webkit { method public synchronized java.lang.String getStandardFontFamily(); method public synchronized java.lang.String getStandardFontFamily(); method public deprecated synchronized android.webkit.WebSettings.TextSize getTextSize(); method public deprecated synchronized android.webkit.WebSettings.TextSize getTextSize(); method public synchronized int getTextZoom(); method public synchronized int getTextZoom(); method public deprecated synchronized boolean getUseDoubleTree(); method public deprecated boolean getUseWebViewBackgroundForOverscrollBackground(); method public synchronized boolean getUseWideViewPort(); method public synchronized boolean getUseWideViewPort(); method public deprecated synchronized int getUserAgent(); method public synchronized java.lang.String getUserAgentString(); method public synchronized java.lang.String getUserAgentString(); method public void setAllowContentAccess(boolean); method public void setAllowContentAccess(boolean); method public void setAllowFileAccess(boolean); method public void setAllowFileAccess(boolean); Loading Loading @@ -27076,7 +27042,6 @@ package android.webkit { method public void setMediaPlaybackRequiresUserGesture(boolean); method public void setMediaPlaybackRequiresUserGesture(boolean); method public synchronized void setMinimumFontSize(int); method public synchronized void setMinimumFontSize(int); method public synchronized void setMinimumLogicalFontSize(int); method public synchronized void setMinimumLogicalFontSize(int); method public deprecated void setNavDump(boolean); method public void setNeedInitialFocus(boolean); method public void setNeedInitialFocus(boolean); method public synchronized void setPluginState(android.webkit.WebSettings.PluginState); method public synchronized void setPluginState(android.webkit.WebSettings.PluginState); method public deprecated synchronized void setPluginsEnabled(boolean); method public deprecated synchronized void setPluginsEnabled(boolean); Loading @@ -27091,10 +27056,8 @@ package android.webkit { method public void setSupportZoom(boolean); method public void setSupportZoom(boolean); method public deprecated synchronized void setTextSize(android.webkit.WebSettings.TextSize); method public deprecated synchronized void setTextSize(android.webkit.WebSettings.TextSize); method public synchronized void setTextZoom(int); method public synchronized void setTextZoom(int); method public deprecated synchronized void setUseDoubleTree(boolean); method public deprecated void setUseWebViewBackgroundForOverscrollBackground(boolean); method public deprecated void setUseWebViewBackgroundForOverscrollBackground(boolean); method public synchronized void setUseWideViewPort(boolean); method public synchronized void setUseWideViewPort(boolean); method public deprecated synchronized void setUserAgent(int); method public synchronized void setUserAgentString(java.lang.String); method public synchronized void setUserAgentString(java.lang.String); method public synchronized boolean supportMultipleWindows(); method public synchronized boolean supportMultipleWindows(); method public boolean supportZoom(); method public boolean supportZoom(); Loading Loading @@ -27199,12 +27162,8 @@ package android.webkit { method public void clearSslPreferences(); method public void clearSslPreferences(); method public void clearView(); method public void clearView(); method public android.webkit.WebBackForwardList copyBackForwardList(); method public android.webkit.WebBackForwardList copyBackForwardList(); method public deprecated void debugDump(); method public void destroy(); method public void destroy(); method public static deprecated void disablePlatformNotifications(); method public void documentHasImages(android.os.Message); method public void documentHasImages(android.os.Message); method public deprecated void emulateShiftHeld(); method public static deprecated void enablePlatformNotifications(); method public static java.lang.String findAddress(java.lang.String); method public static java.lang.String findAddress(java.lang.String); method public deprecated int findAll(java.lang.String); method public deprecated int findAll(java.lang.String); method public void findAllAsync(java.lang.String); method public void findAllAsync(java.lang.String); Loading @@ -27222,7 +27181,6 @@ package android.webkit { method public android.webkit.WebSettings getSettings(); method public android.webkit.WebSettings getSettings(); method public java.lang.String getTitle(); method public java.lang.String getTitle(); method public java.lang.String getUrl(); method public java.lang.String getUrl(); method public deprecated int getVisibleTitleHeight(); method public void goBack(); method public void goBack(); method public void goBackOrForward(int); method public void goBackOrForward(int); method public void goForward(); method public void goForward(); Loading @@ -27247,11 +27205,9 @@ package android.webkit { method public void removeJavascriptInterface(java.lang.String); method public void removeJavascriptInterface(java.lang.String); method public void requestFocusNodeHref(android.os.Message); method public void requestFocusNodeHref(android.os.Message); method public void requestImageRef(android.os.Message); method public void requestImageRef(android.os.Message); method public deprecated boolean restorePicture(android.os.Bundle, java.io.File); method public android.webkit.WebBackForwardList restoreState(android.os.Bundle); method public android.webkit.WebBackForwardList restoreState(android.os.Bundle); method public void resumeTimers(); method public void resumeTimers(); method public void savePassword(java.lang.String, java.lang.String, java.lang.String); method public void savePassword(java.lang.String, java.lang.String, java.lang.String); method public deprecated boolean savePicture(android.os.Bundle, java.io.File); method public android.webkit.WebBackForwardList saveState(android.os.Bundle); method public android.webkit.WebBackForwardList saveState(android.os.Bundle); method public void saveWebArchive(java.lang.String); method public void saveWebArchive(java.lang.String); method public void saveWebArchive(java.lang.String, boolean, android.webkit.ValueCallback<java.lang.String>); method public void saveWebArchive(java.lang.String, boolean, android.webkit.ValueCallback<java.lang.String>); Loading @@ -27263,7 +27219,6 @@ package android.webkit { method public void setInitialScale(int); method public void setInitialScale(int); method public deprecated void setMapTrackballToArrowKeys(boolean); method public deprecated void setMapTrackballToArrowKeys(boolean); method public void setNetworkAvailable(boolean); method public void setNetworkAvailable(boolean); method public deprecated void setPictureListener(android.webkit.WebView.PictureListener); method public void setVerticalScrollbarOverlay(boolean); method public void setVerticalScrollbarOverlay(boolean); method public void setWebChromeClient(android.webkit.WebChromeClient); method public void setWebChromeClient(android.webkit.WebChromeClient); method public void setWebViewClient(android.webkit.WebViewClient); method public void setWebViewClient(android.webkit.WebViewClient); Loading Loading @@ -27347,7 +27302,6 @@ package android.webkit { method public boolean hasFormData(); method public boolean hasFormData(); method public boolean hasHttpAuthUsernamePassword(); method public boolean hasHttpAuthUsernamePassword(); method public boolean hasUsernamePassword(); method public boolean hasUsernamePassword(); field protected static final java.lang.String LOGTAG = "webviewdatabase"; } } public class WebViewFragment extends android.app.Fragment { public class WebViewFragment extends android.app.Fragment { core/java/android/webkit/CacheManager.java +1 −0 Original line number Original line Diff line number Diff line Loading @@ -32,6 +32,7 @@ import java.util.Map; /** /** * Manages the HTTP cache used by an application's {@link WebView} instances. * Manages the HTTP cache used by an application's {@link WebView} instances. * @deprecated Access to the HTTP cache will be removed in a future release. * @deprecated Access to the HTTP cache will be removed in a future release. * @hide Since {@link android.os.Build.VERSION_CODES#JELLY_BEAN_MR1} */ */ // The class CacheManager provides the persistent cache of content that is // The class CacheManager provides the persistent cache of content that is // received over the network. The component handles parsing of HTTP headers and // received over the network. The component handles parsing of HTTP headers and Loading core/java/android/webkit/WebHistoryItem.java +1 −0 Original line number Original line Diff line number Diff line Loading @@ -38,6 +38,7 @@ public class WebHistoryItem implements Cloneable { * same object. * same object. * @return The id for this item. * @return The id for this item. * @deprecated This method is now obsolete. * @deprecated This method is now obsolete. * @hide Since API level {@link android.os.Build.VERSION_CODES#JELLY_BEAN_MR1} */ */ @Deprecated @Deprecated public int getId() { public int getId() { Loading core/java/android/webkit/WebSettings.java +8 −2 Original line number Original line Diff line number Diff line Loading @@ -164,6 +164,7 @@ public abstract class WebSettings { * is false. * is false. * * * @deprecated This method is now obsolete. * @deprecated This method is now obsolete. * @hide Since API level {@link android.os.Build.VERSION_CODES#JELLY_BEAN_MR1} */ */ @Deprecated @Deprecated public void setNavDump(boolean enabled) { public void setNavDump(boolean enabled) { Loading @@ -176,6 +177,7 @@ public abstract class WebSettings { * @return whether dumping the navigation cache is enabled * @return whether dumping the navigation cache is enabled * @see #setNavDump * @see #setNavDump * @deprecated This method is now obsolete. * @deprecated This method is now obsolete. * @hide Since API level {@link android.os.Build.VERSION_CODES#JELLY_BEAN_MR1} */ */ @Deprecated @Deprecated public boolean getNavDump() { public boolean getNavDump() { Loading Loading @@ -377,6 +379,7 @@ public abstract class WebSettings { * * * @see #setUseWebViewBackgroundForOverscrollBackground * @see #setUseWebViewBackgroundForOverscrollBackground * @deprecated This method is now obsolete. * @deprecated This method is now obsolete. * @hide Since API level {@link android.os.Build.VERSION_CODES#JELLY_BEAN_MR1} */ */ @Deprecated @Deprecated public boolean getUseWebViewBackgroundForOverscrollBackground() { public boolean getUseWebViewBackgroundForOverscrollBackground() { Loading Loading @@ -518,6 +521,7 @@ public abstract class WebSettings { * it now has no effect. * it now has no effect. * * * @deprecated This setting now has no effect. * @deprecated This setting now has no effect. * @hide Since API level {@link android.os.Build.VERSION_CODES#JELLY_BEAN_MR1} */ */ @Deprecated @Deprecated public synchronized void setUseDoubleTree(boolean use) { public synchronized void setUseDoubleTree(boolean use) { Loading @@ -529,6 +533,7 @@ public abstract class WebSettings { * it now has no effect. * it now has no effect. * * * @deprecated This setting now has no effect. * @deprecated This setting now has no effect. * @hide Since API level {@link android.os.Build.VERSION_CODES#JELLY_BEAN_MR1} */ */ @Deprecated @Deprecated public synchronized boolean getUseDoubleTree() { public synchronized boolean getUseDoubleTree() { Loading @@ -547,6 +552,7 @@ public abstract class WebSettings { * * * @param ua the integer code for the user-agent string * @param ua the integer code for the user-agent string * @deprecated Please use {@link #setUserAgentString} instead. * @deprecated Please use {@link #setUserAgentString} instead. * @hide Since API level {@link android.os.Build.VERSION_CODES#JELLY_BEAN_MR1} */ */ @Deprecated @Deprecated public synchronized void setUserAgent(int ua) { public synchronized void setUserAgent(int ua) { Loading @@ -565,6 +571,7 @@ public abstract class WebSettings { * @return the integer code for the user-agent string * @return the integer code for the user-agent string * @see #setUserAgent * @see #setUserAgent * @deprecated Please use {@link #getUserAgentString} instead. * @deprecated Please use {@link #getUserAgentString} instead. * @hide Since API level {@link android.os.Build.VERSION_CODES#JELLY_BEAN_MR1} */ */ @Deprecated @Deprecated public synchronized int getUserAgent() { public synchronized int getUserAgent() { Loading Loading @@ -1251,8 +1258,7 @@ public abstract class WebSettings { /** /** * Returns the default User-Agent used by a WebView. * Returns the default User-Agent used by a WebView. * An instance of WebView could use a different User-Agent if a call * An instance of WebView could use a different User-Agent if a call * is made to {@link WebSettings#setUserAgent(int)} or * is made to {@link WebSettings#setUserAgentString(String)}. * {@link WebSettings#setUserAgentString(String)}. * * * @param context a Context object used to access application assets * @param context a Context object used to access application assets */ */ Loading Loading
api/17.txt +0 −47 Original line number Original line Diff line number Diff line Loading @@ -26107,35 +26107,6 @@ package android.view.textservice { package android.webkit { package android.webkit { public final deprecated class CacheManager { ctor public CacheManager(); method public static deprecated boolean cacheDisabled(); method public static deprecated boolean endCacheTransaction(); method public static deprecated android.webkit.CacheManager.CacheResult getCacheFile(java.lang.String, java.util.Map<java.lang.String, java.lang.String>); method public static deprecated java.io.File getCacheFileBaseDir(); method public static deprecated void saveCacheFile(java.lang.String, android.webkit.CacheManager.CacheResult); method public static deprecated boolean startCacheTransaction(); } public static deprecated class CacheManager.CacheResult { ctor public CacheManager.CacheResult(); method public java.lang.String getContentDisposition(); method public long getContentLength(); method public java.lang.String getETag(); method public java.lang.String getEncoding(); method public long getExpires(); method public java.lang.String getExpiresString(); method public int getHttpStatusCode(); method public java.io.InputStream getInputStream(); method public java.lang.String getLastModified(); method public java.lang.String getLocalPath(); method public java.lang.String getLocation(); method public java.lang.String getMimeType(); method public java.io.OutputStream getOutputStream(); method public void setEncoding(java.lang.String); method public void setInputStream(java.io.InputStream); } public class ConsoleMessage { public class ConsoleMessage { ctor public ConsoleMessage(java.lang.String, java.lang.String, int, android.webkit.ConsoleMessage.MessageLevel); ctor public ConsoleMessage(java.lang.String, java.lang.String, int, android.webkit.ConsoleMessage.MessageLevel); method public int lineNumber(); method public int lineNumber(); Loading Loading @@ -26298,7 +26269,6 @@ package android.webkit { public class WebHistoryItem implements java.lang.Cloneable { public class WebHistoryItem implements java.lang.Cloneable { method public android.graphics.Bitmap getFavicon(); method public android.graphics.Bitmap getFavicon(); method public deprecated int getId(); method public java.lang.String getOriginalUrl(); method public java.lang.String getOriginalUrl(); method public java.lang.String getTitle(); method public java.lang.String getTitle(); method public java.lang.String getUrl(); method public java.lang.String getUrl(); Loading Loading @@ -26357,7 +26327,6 @@ package android.webkit { method public synchronized boolean getLoadsImagesAutomatically(); method public synchronized boolean getLoadsImagesAutomatically(); method public synchronized int getMinimumFontSize(); method public synchronized int getMinimumFontSize(); method public synchronized int getMinimumLogicalFontSize(); method public synchronized int getMinimumLogicalFontSize(); method public deprecated boolean getNavDump(); method public synchronized android.webkit.WebSettings.PluginState getPluginState(); method public synchronized android.webkit.WebSettings.PluginState getPluginState(); method public deprecated synchronized boolean getPluginsEnabled(); method public deprecated synchronized boolean getPluginsEnabled(); method public deprecated synchronized java.lang.String getPluginsPath(); method public deprecated synchronized java.lang.String getPluginsPath(); Loading @@ -26368,10 +26337,7 @@ package android.webkit { method public synchronized java.lang.String getStandardFontFamily(); method public synchronized java.lang.String getStandardFontFamily(); method public deprecated synchronized android.webkit.WebSettings.TextSize getTextSize(); method public deprecated synchronized android.webkit.WebSettings.TextSize getTextSize(); method public synchronized int getTextZoom(); method public synchronized int getTextZoom(); method public deprecated synchronized boolean getUseDoubleTree(); method public deprecated boolean getUseWebViewBackgroundForOverscrollBackground(); method public synchronized boolean getUseWideViewPort(); method public synchronized boolean getUseWideViewPort(); method public deprecated synchronized int getUserAgent(); method public synchronized java.lang.String getUserAgentString(); method public synchronized java.lang.String getUserAgentString(); method public void setAllowContentAccess(boolean); method public void setAllowContentAccess(boolean); method public void setAllowFileAccess(boolean); method public void setAllowFileAccess(boolean); Loading Loading @@ -26406,7 +26372,6 @@ package android.webkit { method public synchronized void setLoadsImagesAutomatically(boolean); method public synchronized void setLoadsImagesAutomatically(boolean); method public synchronized void setMinimumFontSize(int); method public synchronized void setMinimumFontSize(int); method public synchronized void setMinimumLogicalFontSize(int); method public synchronized void setMinimumLogicalFontSize(int); method public deprecated void setNavDump(boolean); method public void setNeedInitialFocus(boolean); method public void setNeedInitialFocus(boolean); method public synchronized void setPluginState(android.webkit.WebSettings.PluginState); method public synchronized void setPluginState(android.webkit.WebSettings.PluginState); method public deprecated synchronized void setPluginsEnabled(boolean); method public deprecated synchronized void setPluginsEnabled(boolean); Loading @@ -26421,10 +26386,7 @@ package android.webkit { method public void setSupportZoom(boolean); method public void setSupportZoom(boolean); method public deprecated synchronized void setTextSize(android.webkit.WebSettings.TextSize); method public deprecated synchronized void setTextSize(android.webkit.WebSettings.TextSize); method public synchronized void setTextZoom(int); method public synchronized void setTextZoom(int); method public deprecated synchronized void setUseDoubleTree(boolean); method public deprecated void setUseWebViewBackgroundForOverscrollBackground(boolean); method public synchronized void setUseWideViewPort(boolean); method public synchronized void setUseWideViewPort(boolean); method public deprecated synchronized void setUserAgent(int); method public synchronized void setUserAgentString(java.lang.String); method public synchronized void setUserAgentString(java.lang.String); method public synchronized boolean supportMultipleWindows(); method public synchronized boolean supportMultipleWindows(); method public boolean supportZoom(); method public boolean supportZoom(); Loading Loading @@ -26529,12 +26491,8 @@ package android.webkit { method public void clearSslPreferences(); method public void clearSslPreferences(); method public void clearView(); method public void clearView(); method public android.webkit.WebBackForwardList copyBackForwardList(); method public android.webkit.WebBackForwardList copyBackForwardList(); method public deprecated void debugDump(); method public void destroy(); method public void destroy(); method public static deprecated void disablePlatformNotifications(); method public void documentHasImages(android.os.Message); method public void documentHasImages(android.os.Message); method public deprecated void emulateShiftHeld(); method public static deprecated void enablePlatformNotifications(); method public static java.lang.String findAddress(java.lang.String); method public static java.lang.String findAddress(java.lang.String); method public deprecated int findAll(java.lang.String); method public deprecated int findAll(java.lang.String); method public void findAllAsync(java.lang.String); method public void findAllAsync(java.lang.String); Loading @@ -26552,7 +26510,6 @@ package android.webkit { method public android.webkit.WebSettings getSettings(); method public android.webkit.WebSettings getSettings(); method public java.lang.String getTitle(); method public java.lang.String getTitle(); method public java.lang.String getUrl(); method public java.lang.String getUrl(); method public deprecated int getVisibleTitleHeight(); method public void goBack(); method public void goBack(); method public void goBackOrForward(int); method public void goBackOrForward(int); method public void goForward(); method public void goForward(); Loading @@ -26577,11 +26534,9 @@ package android.webkit { method public void removeJavascriptInterface(java.lang.String); method public void removeJavascriptInterface(java.lang.String); method public void requestFocusNodeHref(android.os.Message); method public void requestFocusNodeHref(android.os.Message); method public void requestImageRef(android.os.Message); method public void requestImageRef(android.os.Message); method public deprecated boolean restorePicture(android.os.Bundle, java.io.File); method public android.webkit.WebBackForwardList restoreState(android.os.Bundle); method public android.webkit.WebBackForwardList restoreState(android.os.Bundle); method public void resumeTimers(); method public void resumeTimers(); method public void savePassword(java.lang.String, java.lang.String, java.lang.String); method public void savePassword(java.lang.String, java.lang.String, java.lang.String); method public deprecated boolean savePicture(android.os.Bundle, java.io.File); method public android.webkit.WebBackForwardList saveState(android.os.Bundle); method public android.webkit.WebBackForwardList saveState(android.os.Bundle); method public void saveWebArchive(java.lang.String); method public void saveWebArchive(java.lang.String); method public void saveWebArchive(java.lang.String, boolean, android.webkit.ValueCallback<java.lang.String>); method public void saveWebArchive(java.lang.String, boolean, android.webkit.ValueCallback<java.lang.String>); Loading @@ -26593,7 +26548,6 @@ package android.webkit { method public void setInitialScale(int); method public void setInitialScale(int); method public void setMapTrackballToArrowKeys(boolean); method public void setMapTrackballToArrowKeys(boolean); method public void setNetworkAvailable(boolean); method public void setNetworkAvailable(boolean); method public deprecated void setPictureListener(android.webkit.WebView.PictureListener); method public void setVerticalScrollbarOverlay(boolean); method public void setVerticalScrollbarOverlay(boolean); method public void setWebChromeClient(android.webkit.WebChromeClient); method public void setWebChromeClient(android.webkit.WebChromeClient); method public void setWebViewClient(android.webkit.WebViewClient); method public void setWebViewClient(android.webkit.WebViewClient); Loading Loading @@ -26677,7 +26631,6 @@ package android.webkit { method public boolean hasFormData(); method public boolean hasFormData(); method public boolean hasHttpAuthUsernamePassword(); method public boolean hasHttpAuthUsernamePassword(); method public boolean hasUsernamePassword(); method public boolean hasUsernamePassword(); field protected static final java.lang.String LOGTAG = "webviewdatabase"; } } public class WebViewFragment extends android.app.Fragment { public class WebViewFragment extends android.app.Fragment {
api/current.txt +0 −46 Original line number Original line Diff line number Diff line Loading @@ -26774,35 +26774,6 @@ package android.view.textservice { package android.webkit { package android.webkit { public final deprecated class CacheManager { ctor public CacheManager(); method public static deprecated boolean cacheDisabled(); method public static deprecated boolean endCacheTransaction(); method public static deprecated android.webkit.CacheManager.CacheResult getCacheFile(java.lang.String, java.util.Map<java.lang.String, java.lang.String>); method public static deprecated java.io.File getCacheFileBaseDir(); method public static deprecated void saveCacheFile(java.lang.String, android.webkit.CacheManager.CacheResult); method public static deprecated boolean startCacheTransaction(); } public static deprecated class CacheManager.CacheResult { ctor public CacheManager.CacheResult(); method public java.lang.String getContentDisposition(); method public long getContentLength(); method public java.lang.String getETag(); method public java.lang.String getEncoding(); method public long getExpires(); method public java.lang.String getExpiresString(); method public int getHttpStatusCode(); method public java.io.InputStream getInputStream(); method public java.lang.String getLastModified(); method public java.lang.String getLocalPath(); method public java.lang.String getLocation(); method public java.lang.String getMimeType(); method public java.io.OutputStream getOutputStream(); method public void setEncoding(java.lang.String); method public void setInputStream(java.io.InputStream); } public class ConsoleMessage { public class ConsoleMessage { ctor public ConsoleMessage(java.lang.String, java.lang.String, int, android.webkit.ConsoleMessage.MessageLevel); ctor public ConsoleMessage(java.lang.String, java.lang.String, int, android.webkit.ConsoleMessage.MessageLevel); method public int lineNumber(); method public int lineNumber(); Loading Loading @@ -26965,7 +26936,6 @@ package android.webkit { public class WebHistoryItem implements java.lang.Cloneable { public class WebHistoryItem implements java.lang.Cloneable { method public android.graphics.Bitmap getFavicon(); method public android.graphics.Bitmap getFavicon(); method public deprecated int getId(); method public java.lang.String getOriginalUrl(); method public java.lang.String getOriginalUrl(); method public java.lang.String getTitle(); method public java.lang.String getTitle(); method public java.lang.String getUrl(); method public java.lang.String getUrl(); Loading Loading @@ -27026,7 +26996,6 @@ package android.webkit { method public boolean getMediaPlaybackRequiresUserGesture(); method public boolean getMediaPlaybackRequiresUserGesture(); method public synchronized int getMinimumFontSize(); method public synchronized int getMinimumFontSize(); method public synchronized int getMinimumLogicalFontSize(); method public synchronized int getMinimumLogicalFontSize(); method public deprecated boolean getNavDump(); method public synchronized android.webkit.WebSettings.PluginState getPluginState(); method public synchronized android.webkit.WebSettings.PluginState getPluginState(); method public deprecated synchronized boolean getPluginsEnabled(); method public deprecated synchronized boolean getPluginsEnabled(); method public deprecated synchronized java.lang.String getPluginsPath(); method public deprecated synchronized java.lang.String getPluginsPath(); Loading @@ -27037,10 +27006,7 @@ package android.webkit { method public synchronized java.lang.String getStandardFontFamily(); method public synchronized java.lang.String getStandardFontFamily(); method public deprecated synchronized android.webkit.WebSettings.TextSize getTextSize(); method public deprecated synchronized android.webkit.WebSettings.TextSize getTextSize(); method public synchronized int getTextZoom(); method public synchronized int getTextZoom(); method public deprecated synchronized boolean getUseDoubleTree(); method public deprecated boolean getUseWebViewBackgroundForOverscrollBackground(); method public synchronized boolean getUseWideViewPort(); method public synchronized boolean getUseWideViewPort(); method public deprecated synchronized int getUserAgent(); method public synchronized java.lang.String getUserAgentString(); method public synchronized java.lang.String getUserAgentString(); method public void setAllowContentAccess(boolean); method public void setAllowContentAccess(boolean); method public void setAllowFileAccess(boolean); method public void setAllowFileAccess(boolean); Loading Loading @@ -27076,7 +27042,6 @@ package android.webkit { method public void setMediaPlaybackRequiresUserGesture(boolean); method public void setMediaPlaybackRequiresUserGesture(boolean); method public synchronized void setMinimumFontSize(int); method public synchronized void setMinimumFontSize(int); method public synchronized void setMinimumLogicalFontSize(int); method public synchronized void setMinimumLogicalFontSize(int); method public deprecated void setNavDump(boolean); method public void setNeedInitialFocus(boolean); method public void setNeedInitialFocus(boolean); method public synchronized void setPluginState(android.webkit.WebSettings.PluginState); method public synchronized void setPluginState(android.webkit.WebSettings.PluginState); method public deprecated synchronized void setPluginsEnabled(boolean); method public deprecated synchronized void setPluginsEnabled(boolean); Loading @@ -27091,10 +27056,8 @@ package android.webkit { method public void setSupportZoom(boolean); method public void setSupportZoom(boolean); method public deprecated synchronized void setTextSize(android.webkit.WebSettings.TextSize); method public deprecated synchronized void setTextSize(android.webkit.WebSettings.TextSize); method public synchronized void setTextZoom(int); method public synchronized void setTextZoom(int); method public deprecated synchronized void setUseDoubleTree(boolean); method public deprecated void setUseWebViewBackgroundForOverscrollBackground(boolean); method public deprecated void setUseWebViewBackgroundForOverscrollBackground(boolean); method public synchronized void setUseWideViewPort(boolean); method public synchronized void setUseWideViewPort(boolean); method public deprecated synchronized void setUserAgent(int); method public synchronized void setUserAgentString(java.lang.String); method public synchronized void setUserAgentString(java.lang.String); method public synchronized boolean supportMultipleWindows(); method public synchronized boolean supportMultipleWindows(); method public boolean supportZoom(); method public boolean supportZoom(); Loading Loading @@ -27199,12 +27162,8 @@ package android.webkit { method public void clearSslPreferences(); method public void clearSslPreferences(); method public void clearView(); method public void clearView(); method public android.webkit.WebBackForwardList copyBackForwardList(); method public android.webkit.WebBackForwardList copyBackForwardList(); method public deprecated void debugDump(); method public void destroy(); method public void destroy(); method public static deprecated void disablePlatformNotifications(); method public void documentHasImages(android.os.Message); method public void documentHasImages(android.os.Message); method public deprecated void emulateShiftHeld(); method public static deprecated void enablePlatformNotifications(); method public static java.lang.String findAddress(java.lang.String); method public static java.lang.String findAddress(java.lang.String); method public deprecated int findAll(java.lang.String); method public deprecated int findAll(java.lang.String); method public void findAllAsync(java.lang.String); method public void findAllAsync(java.lang.String); Loading @@ -27222,7 +27181,6 @@ package android.webkit { method public android.webkit.WebSettings getSettings(); method public android.webkit.WebSettings getSettings(); method public java.lang.String getTitle(); method public java.lang.String getTitle(); method public java.lang.String getUrl(); method public java.lang.String getUrl(); method public deprecated int getVisibleTitleHeight(); method public void goBack(); method public void goBack(); method public void goBackOrForward(int); method public void goBackOrForward(int); method public void goForward(); method public void goForward(); Loading @@ -27247,11 +27205,9 @@ package android.webkit { method public void removeJavascriptInterface(java.lang.String); method public void removeJavascriptInterface(java.lang.String); method public void requestFocusNodeHref(android.os.Message); method public void requestFocusNodeHref(android.os.Message); method public void requestImageRef(android.os.Message); method public void requestImageRef(android.os.Message); method public deprecated boolean restorePicture(android.os.Bundle, java.io.File); method public android.webkit.WebBackForwardList restoreState(android.os.Bundle); method public android.webkit.WebBackForwardList restoreState(android.os.Bundle); method public void resumeTimers(); method public void resumeTimers(); method public void savePassword(java.lang.String, java.lang.String, java.lang.String); method public void savePassword(java.lang.String, java.lang.String, java.lang.String); method public deprecated boolean savePicture(android.os.Bundle, java.io.File); method public android.webkit.WebBackForwardList saveState(android.os.Bundle); method public android.webkit.WebBackForwardList saveState(android.os.Bundle); method public void saveWebArchive(java.lang.String); method public void saveWebArchive(java.lang.String); method public void saveWebArchive(java.lang.String, boolean, android.webkit.ValueCallback<java.lang.String>); method public void saveWebArchive(java.lang.String, boolean, android.webkit.ValueCallback<java.lang.String>); Loading @@ -27263,7 +27219,6 @@ package android.webkit { method public void setInitialScale(int); method public void setInitialScale(int); method public deprecated void setMapTrackballToArrowKeys(boolean); method public deprecated void setMapTrackballToArrowKeys(boolean); method public void setNetworkAvailable(boolean); method public void setNetworkAvailable(boolean); method public deprecated void setPictureListener(android.webkit.WebView.PictureListener); method public void setVerticalScrollbarOverlay(boolean); method public void setVerticalScrollbarOverlay(boolean); method public void setWebChromeClient(android.webkit.WebChromeClient); method public void setWebChromeClient(android.webkit.WebChromeClient); method public void setWebViewClient(android.webkit.WebViewClient); method public void setWebViewClient(android.webkit.WebViewClient); Loading Loading @@ -27347,7 +27302,6 @@ package android.webkit { method public boolean hasFormData(); method public boolean hasFormData(); method public boolean hasHttpAuthUsernamePassword(); method public boolean hasHttpAuthUsernamePassword(); method public boolean hasUsernamePassword(); method public boolean hasUsernamePassword(); field protected static final java.lang.String LOGTAG = "webviewdatabase"; } } public class WebViewFragment extends android.app.Fragment { public class WebViewFragment extends android.app.Fragment {
core/java/android/webkit/CacheManager.java +1 −0 Original line number Original line Diff line number Diff line Loading @@ -32,6 +32,7 @@ import java.util.Map; /** /** * Manages the HTTP cache used by an application's {@link WebView} instances. * Manages the HTTP cache used by an application's {@link WebView} instances. * @deprecated Access to the HTTP cache will be removed in a future release. * @deprecated Access to the HTTP cache will be removed in a future release. * @hide Since {@link android.os.Build.VERSION_CODES#JELLY_BEAN_MR1} */ */ // The class CacheManager provides the persistent cache of content that is // The class CacheManager provides the persistent cache of content that is // received over the network. The component handles parsing of HTTP headers and // received over the network. The component handles parsing of HTTP headers and Loading
core/java/android/webkit/WebHistoryItem.java +1 −0 Original line number Original line Diff line number Diff line Loading @@ -38,6 +38,7 @@ public class WebHistoryItem implements Cloneable { * same object. * same object. * @return The id for this item. * @return The id for this item. * @deprecated This method is now obsolete. * @deprecated This method is now obsolete. * @hide Since API level {@link android.os.Build.VERSION_CODES#JELLY_BEAN_MR1} */ */ @Deprecated @Deprecated public int getId() { public int getId() { Loading
core/java/android/webkit/WebSettings.java +8 −2 Original line number Original line Diff line number Diff line Loading @@ -164,6 +164,7 @@ public abstract class WebSettings { * is false. * is false. * * * @deprecated This method is now obsolete. * @deprecated This method is now obsolete. * @hide Since API level {@link android.os.Build.VERSION_CODES#JELLY_BEAN_MR1} */ */ @Deprecated @Deprecated public void setNavDump(boolean enabled) { public void setNavDump(boolean enabled) { Loading @@ -176,6 +177,7 @@ public abstract class WebSettings { * @return whether dumping the navigation cache is enabled * @return whether dumping the navigation cache is enabled * @see #setNavDump * @see #setNavDump * @deprecated This method is now obsolete. * @deprecated This method is now obsolete. * @hide Since API level {@link android.os.Build.VERSION_CODES#JELLY_BEAN_MR1} */ */ @Deprecated @Deprecated public boolean getNavDump() { public boolean getNavDump() { Loading Loading @@ -377,6 +379,7 @@ public abstract class WebSettings { * * * @see #setUseWebViewBackgroundForOverscrollBackground * @see #setUseWebViewBackgroundForOverscrollBackground * @deprecated This method is now obsolete. * @deprecated This method is now obsolete. * @hide Since API level {@link android.os.Build.VERSION_CODES#JELLY_BEAN_MR1} */ */ @Deprecated @Deprecated public boolean getUseWebViewBackgroundForOverscrollBackground() { public boolean getUseWebViewBackgroundForOverscrollBackground() { Loading Loading @@ -518,6 +521,7 @@ public abstract class WebSettings { * it now has no effect. * it now has no effect. * * * @deprecated This setting now has no effect. * @deprecated This setting now has no effect. * @hide Since API level {@link android.os.Build.VERSION_CODES#JELLY_BEAN_MR1} */ */ @Deprecated @Deprecated public synchronized void setUseDoubleTree(boolean use) { public synchronized void setUseDoubleTree(boolean use) { Loading @@ -529,6 +533,7 @@ public abstract class WebSettings { * it now has no effect. * it now has no effect. * * * @deprecated This setting now has no effect. * @deprecated This setting now has no effect. * @hide Since API level {@link android.os.Build.VERSION_CODES#JELLY_BEAN_MR1} */ */ @Deprecated @Deprecated public synchronized boolean getUseDoubleTree() { public synchronized boolean getUseDoubleTree() { Loading @@ -547,6 +552,7 @@ public abstract class WebSettings { * * * @param ua the integer code for the user-agent string * @param ua the integer code for the user-agent string * @deprecated Please use {@link #setUserAgentString} instead. * @deprecated Please use {@link #setUserAgentString} instead. * @hide Since API level {@link android.os.Build.VERSION_CODES#JELLY_BEAN_MR1} */ */ @Deprecated @Deprecated public synchronized void setUserAgent(int ua) { public synchronized void setUserAgent(int ua) { Loading @@ -565,6 +571,7 @@ public abstract class WebSettings { * @return the integer code for the user-agent string * @return the integer code for the user-agent string * @see #setUserAgent * @see #setUserAgent * @deprecated Please use {@link #getUserAgentString} instead. * @deprecated Please use {@link #getUserAgentString} instead. * @hide Since API level {@link android.os.Build.VERSION_CODES#JELLY_BEAN_MR1} */ */ @Deprecated @Deprecated public synchronized int getUserAgent() { public synchronized int getUserAgent() { Loading Loading @@ -1251,8 +1258,7 @@ public abstract class WebSettings { /** /** * Returns the default User-Agent used by a WebView. * Returns the default User-Agent used by a WebView. * An instance of WebView could use a different User-Agent if a call * An instance of WebView could use a different User-Agent if a call * is made to {@link WebSettings#setUserAgent(int)} or * is made to {@link WebSettings#setUserAgentString(String)}. * {@link WebSettings#setUserAgentString(String)}. * * * @param context a Context object used to access application assets * @param context a Context object used to access application assets */ */ Loading