diff options
author | Kristian Monsen <kristianm@google.com> | 2011-01-12 19:15:35 +0000 |
---|---|---|
committer | Kristian Monsen <kristianm@google.com> | 2011-02-23 23:07:42 +0000 |
commit | f0d973131389621609dfad5befb9afe8b767e08c (patch) | |
tree | bdf1ad034028e2a0bf79470cc1f58eceeaeb7462 /core/java/android | |
parent | 17f49e4f91c04290721dc029b73b9a430f5298d5 (diff) | |
download | frameworks_base-f0d973131389621609dfad5befb9afe8b767e08c.zip frameworks_base-f0d973131389621609dfad5befb9afe8b767e08c.tar.gz frameworks_base-f0d973131389621609dfad5befb9afe8b767e08c.tar.bz2 |
Hiding deprecated classes and methods
These have been deprecated for more than a yearm so hiding them.
Note that this CL was approved in honeycomb, but moved to MR1:
https://android-git.corp.google.com/g/#change,89487
Diffstat (limited to 'core/java/android')
-rw-r--r-- | core/java/android/webkit/Plugin.java | 25 | ||||
-rw-r--r-- | core/java/android/webkit/PluginData.java | 6 | ||||
-rw-r--r-- | core/java/android/webkit/PluginList.java | 7 | ||||
-rw-r--r-- | core/java/android/webkit/UrlInterceptHandler.java | 3 | ||||
-rw-r--r-- | core/java/android/webkit/UrlInterceptRegistry.java | 7 | ||||
-rw-r--r-- | core/java/android/webkit/WebView.java | 2 |
6 files changed, 50 insertions, 0 deletions
diff --git a/core/java/android/webkit/Plugin.java b/core/java/android/webkit/Plugin.java index 34a30a9..529820b 100644 --- a/core/java/android/webkit/Plugin.java +++ b/core/java/android/webkit/Plugin.java @@ -27,12 +27,23 @@ import android.webkit.WebView; * Represents a plugin (Java equivalent of the PluginPackageAndroid * C++ class in libs/WebKitLib/WebKit/WebCore/plugins/android/) * + * @hide * @deprecated This interface was intended to be used by Gears. Since Gears was * deprecated, so is this class. */ @Deprecated public class Plugin { + /* + * @hide + * @deprecated This interface was intended to be used by Gears. Since Gears was + * deprecated, so is this class. + */ public interface PreferencesClickHandler { + /* + * @hide + * @deprecated This interface was intended to be used by Gears. Since Gears was + * deprecated, so is this class. + */ public void handleClickEvent(Context context); } @@ -43,6 +54,7 @@ public class Plugin { private PreferencesClickHandler mHandler; /** + * @hide * @deprecated This interface was intended to be used by Gears. Since Gears was * deprecated, so is this class. */ @@ -59,6 +71,7 @@ public class Plugin { } /** + * @hide * @deprecated This interface was intended to be used by Gears. Since Gears was * deprecated, so is this class. */ @@ -68,6 +81,7 @@ public class Plugin { } /** + * @hide * @deprecated This interface was intended to be used by Gears. Since Gears was * deprecated, so is this class. */ @@ -77,6 +91,7 @@ public class Plugin { } /** + * @hide * @deprecated This interface was intended to be used by Gears. Since Gears was * deprecated, so is this class. */ @@ -86,6 +101,7 @@ public class Plugin { } /** + * @hide * @deprecated This interface was intended to be used by Gears. Since Gears was * deprecated, so is this class. */ @@ -95,6 +111,7 @@ public class Plugin { } /** + * @hide * @deprecated This interface was intended to be used by Gears. Since Gears was * deprecated, so is this class. */ @@ -104,6 +121,7 @@ public class Plugin { } /** + * @hide * @deprecated This interface was intended to be used by Gears. Since Gears was * deprecated, so is this class. */ @@ -113,6 +131,7 @@ public class Plugin { } /** + * @hide * @deprecated This interface was intended to be used by Gears. Since Gears was * deprecated, so is this class. */ @@ -122,6 +141,7 @@ public class Plugin { } /** + * @hide * @deprecated This interface was intended to be used by Gears. Since Gears was * deprecated, so is this class. */ @@ -131,6 +151,7 @@ public class Plugin { } /** + * @hide * @deprecated This interface was intended to be used by Gears. Since Gears was * deprecated, so is this class. */ @@ -140,6 +161,7 @@ public class Plugin { } /** + * @hide * @deprecated This interface was intended to be used by Gears. Since Gears was * deprecated, so is this class. */ @@ -151,6 +173,7 @@ public class Plugin { /** * Invokes the click handler for this plugin. * + * @hide * @deprecated This interface was intended to be used by Gears. Since Gears was * deprecated, so is this class. */ @@ -164,6 +187,7 @@ public class Plugin { /** * Default click handler. The plugins should implement their own. * + * @hide * @deprecated This interface was intended to be used by Gears. Since Gears was * deprecated, so is this class. */ @@ -185,6 +209,7 @@ public class Plugin { } } /** + * @hide * @deprecated This interface was intended to be used by Gears. Since Gears was * deprecated, so is this class. */ diff --git a/core/java/android/webkit/PluginData.java b/core/java/android/webkit/PluginData.java index 2dd445e..88fc9b7 100644 --- a/core/java/android/webkit/PluginData.java +++ b/core/java/android/webkit/PluginData.java @@ -28,6 +28,7 @@ import java.util.Map; * status code. The PluginData class is the container for all these * parts. * + * @hide * @deprecated This class was intended to be used by Gears. Since Gears was * deprecated, so is this class. */ @@ -63,6 +64,7 @@ public final class PluginData { * lowercase header name to [ unmodified header name, header value] * @param length The HTTP response status code. * + * @hide * @deprecated This class was intended to be used by Gears. Since Gears was * deprecated, so is this class. */ @@ -83,6 +85,7 @@ public final class PluginData { * * @return An InputStream instance with the plugin content. * + * @hide * @deprecated This class was intended to be used by Gears. Since Gears was * deprecated, so is this class. */ @@ -96,6 +99,7 @@ public final class PluginData { * * @return the length of the plugin content. * + * @hide * @deprecated This class was intended to be used by Gears. Since Gears was * deprecated, so is this class. */ @@ -112,6 +116,7 @@ public final class PluginData { * mapping is 'lowercase header name' to ['unmodified header * name', header value]. * + * @hide * @deprecated This class was intended to be used by Gears. Since Gears was * deprecated, so is this class. */ @@ -125,6 +130,7 @@ public final class PluginData { * * @return The HTTP statue code, e.g 200. * + * @hide * @deprecated This class was intended to be used by Gears. Since Gears was * deprecated, so is this class. */ diff --git a/core/java/android/webkit/PluginList.java b/core/java/android/webkit/PluginList.java index a61b07b..d07b8a0 100644 --- a/core/java/android/webkit/PluginList.java +++ b/core/java/android/webkit/PluginList.java @@ -25,6 +25,7 @@ import java.util.List; * populated when the plugins are initialized (at * browser startup, at the moment). * + * @hide * @deprecated This interface was intended to be used by Gears. Since Gears was * deprecated, so is this class. */ @@ -35,6 +36,7 @@ public class PluginList { /** * Public constructor. Initializes the list of plugins. * + * @hide * @deprecated This interface was intended to be used by Gears. Since Gears was * deprecated, so is this class. */ @@ -46,6 +48,7 @@ public class PluginList { /** * Returns the list of plugins as a java.util.List. * + * @hide * @deprecated This interface was intended to be used by Gears. Since Gears was * deprecated, so is this class. */ @@ -57,6 +60,7 @@ public class PluginList { /** * Adds a plugin to the list. * + * @hide * @deprecated This interface was intended to be used by Gears. Since Gears was * deprecated, so is this class. */ @@ -70,6 +74,7 @@ public class PluginList { /** * Removes a plugin from the list. * + * @hide * @deprecated This interface was intended to be used by Gears. Since Gears was * deprecated, so is this class. */ @@ -84,6 +89,7 @@ public class PluginList { /** * Clears the plugin list. * + * @hide * @deprecated This interface was intended to be used by Gears. Since Gears was * deprecated, so is this class. */ @@ -95,6 +101,7 @@ public class PluginList { /** * Dispatches the click event to the appropriate plugin. * + * @hide * @deprecated This interface was intended to be used by Gears. Since Gears was * deprecated, so is this class. */ diff --git a/core/java/android/webkit/UrlInterceptHandler.java b/core/java/android/webkit/UrlInterceptHandler.java index 78bab04..59fc0cb 100644 --- a/core/java/android/webkit/UrlInterceptHandler.java +++ b/core/java/android/webkit/UrlInterceptHandler.java @@ -21,6 +21,7 @@ import android.webkit.PluginData; import java.util.Map; /** + * @hide * @deprecated This interface was inteded to be used by Gears. Since Gears was * deprecated, so is this class. */ @@ -36,6 +37,7 @@ public interface UrlInterceptHandler { * @param headers The headers associated with the request. May be null. * @return The CacheResult containing the surrogate response. * + * @hide * @deprecated Do not use, this interface is deprecated. */ @Deprecated @@ -50,6 +52,7 @@ public interface UrlInterceptHandler { * @param headers The headers associated with the request. May be null. * @return The PluginData containing the surrogate response. * + * @hide * @deprecated Do not use, this interface is deprecated. */ @Deprecated diff --git a/core/java/android/webkit/UrlInterceptRegistry.java b/core/java/android/webkit/UrlInterceptRegistry.java index eca5acd..bdf6747 100644 --- a/core/java/android/webkit/UrlInterceptRegistry.java +++ b/core/java/android/webkit/UrlInterceptRegistry.java @@ -25,6 +25,7 @@ import java.util.LinkedList; import java.util.Map; /** + * @hide * @deprecated This class was intended to be used by Gears. Since Gears was * deprecated, so is this class. */ @@ -48,6 +49,7 @@ public final class UrlInterceptRegistry { * * @param disabled true to disable the cache * + * @hide * @deprecated This class was intended to be used by Gears. Since Gears was * deprecated, so is this class. */ @@ -61,6 +63,7 @@ public final class UrlInterceptRegistry { * * @return return if it is disabled * + * @hide * @deprecated This class was intended to be used by Gears. Since Gears was * deprecated, so is this class. */ @@ -76,6 +79,7 @@ public final class UrlInterceptRegistry { * @param handler The new UrlInterceptHandler object * @return true if the handler was not previously registered. * + * @hide * @deprecated This class was intended to be used by Gears. Since Gears was * deprecated, so is this class. */ @@ -96,6 +100,7 @@ public final class UrlInterceptRegistry { * @param handler A previously registered UrlInterceptHandler. * @return true if the handler was found and removed from the list. * + * @hide * @deprecated This class was intended to be used by Gears. Since Gears was * deprecated, so is this class. */ @@ -111,6 +116,7 @@ public final class UrlInterceptRegistry { * * @return A CacheResult containing surrogate content. * + * @hide * @deprecated This class was intended to be used by Gears. Since Gears was * deprecated, so is this class. */ @@ -138,6 +144,7 @@ public final class UrlInterceptRegistry { * * @return A PluginData instance containing surrogate content. * + * @hide * @deprecated This class was intended to be used by Gears. Since Gears was * deprecated, so is this class. */ diff --git a/core/java/android/webkit/WebView.java b/core/java/android/webkit/WebView.java index d9f050b..71eb541 100644 --- a/core/java/android/webkit/WebView.java +++ b/core/java/android/webkit/WebView.java @@ -3672,6 +3672,7 @@ public class WebView extends AbsoluteLayout * Return the list of currently loaded plugins. * @return The list of currently loaded plugins. * + * @hide * @deprecated This was used for Gears, which has been deprecated. */ @Deprecated @@ -3680,6 +3681,7 @@ public class WebView extends AbsoluteLayout } /** + * @hide * @deprecated This was used for Gears, which has been deprecated. */ @Deprecated |