Merge "Hiding deprecated classes and methods"

This commit is contained in:
Kristian Monsen
2011-02-24 08:02:34 -08:00
committed by Android (Google) Code Review
8 changed files with 456418 additions and 476 deletions

456368
api/12.xml Normal file

File diff suppressed because it is too large Load Diff

View File

@@ -239577,323 +239577,6 @@
</parameter>
</method>
</class>
<class name="Plugin"
extends="java.lang.Object"
abstract="false"
static="false"
final="false"
deprecated="deprecated"
visibility="public"
>
<constructor name="Plugin"
type="android.webkit.Plugin"
static="false"
final="false"
deprecated="deprecated"
visibility="public"
>
<parameter name="name" type="java.lang.String">
</parameter>
<parameter name="path" type="java.lang.String">
</parameter>
<parameter name="fileName" type="java.lang.String">
</parameter>
<parameter name="description" type="java.lang.String">
</parameter>
</constructor>
<method name="dispatchClickEvent"
return="void"
abstract="false"
native="false"
synchronized="false"
static="false"
final="false"
deprecated="deprecated"
visibility="public"
>
<parameter name="context" type="android.content.Context">
</parameter>
</method>
<method name="getDescription"
return="java.lang.String"
abstract="false"
native="false"
synchronized="false"
static="false"
final="false"
deprecated="deprecated"
visibility="public"
>
</method>
<method name="getFileName"
return="java.lang.String"
abstract="false"
native="false"
synchronized="false"
static="false"
final="false"
deprecated="deprecated"
visibility="public"
>
</method>
<method name="getName"
return="java.lang.String"
abstract="false"
native="false"
synchronized="false"
static="false"
final="false"
deprecated="deprecated"
visibility="public"
>
</method>
<method name="getPath"
return="java.lang.String"
abstract="false"
native="false"
synchronized="false"
static="false"
final="false"
deprecated="deprecated"
visibility="public"
>
</method>
<method name="setClickHandler"
return="void"
abstract="false"
native="false"
synchronized="false"
static="false"
final="false"
deprecated="deprecated"
visibility="public"
>
<parameter name="handler" type="android.webkit.Plugin.PreferencesClickHandler">
</parameter>
</method>
<method name="setDescription"
return="void"
abstract="false"
native="false"
synchronized="false"
static="false"
final="false"
deprecated="deprecated"
visibility="public"
>
<parameter name="description" type="java.lang.String">
</parameter>
</method>
<method name="setFileName"
return="void"
abstract="false"
native="false"
synchronized="false"
static="false"
final="false"
deprecated="deprecated"
visibility="public"
>
<parameter name="fileName" type="java.lang.String">
</parameter>
</method>
<method name="setName"
return="void"
abstract="false"
native="false"
synchronized="false"
static="false"
final="false"
deprecated="deprecated"
visibility="public"
>
<parameter name="name" type="java.lang.String">
</parameter>
</method>
<method name="setPath"
return="void"
abstract="false"
native="false"
synchronized="false"
static="false"
final="false"
deprecated="deprecated"
visibility="public"
>
<parameter name="path" type="java.lang.String">
</parameter>
</method>
</class>
<interface name="Plugin.PreferencesClickHandler"
abstract="true"
static="true"
final="false"
deprecated="not deprecated"
visibility="public"
>
<method name="handleClickEvent"
return="void"
abstract="true"
native="false"
synchronized="false"
static="false"
final="false"
deprecated="not deprecated"
visibility="public"
>
<parameter name="context" type="android.content.Context">
</parameter>
</method>
</interface>
<class name="PluginData"
extends="java.lang.Object"
abstract="false"
static="false"
final="true"
deprecated="deprecated"
visibility="public"
>
<constructor name="PluginData"
type="android.webkit.PluginData"
static="false"
final="false"
deprecated="deprecated"
visibility="public"
>
<parameter name="stream" type="java.io.InputStream">
</parameter>
<parameter name="length" type="long">
</parameter>
<parameter name="headers" type="java.util.Map&lt;java.lang.String, java.lang.String[]&gt;">
</parameter>
<parameter name="code" type="int">
</parameter>
</constructor>
<method name="getContentLength"
return="long"
abstract="false"
native="false"
synchronized="false"
static="false"
final="false"
deprecated="deprecated"
visibility="public"
>
</method>
<method name="getHeaders"
return="java.util.Map&lt;java.lang.String, java.lang.String[]&gt;"
abstract="false"
native="false"
synchronized="false"
static="false"
final="false"
deprecated="deprecated"
visibility="public"
>
</method>
<method name="getInputStream"
return="java.io.InputStream"
abstract="false"
native="false"
synchronized="false"
static="false"
final="false"
deprecated="deprecated"
visibility="public"
>
</method>
<method name="getStatusCode"
return="int"
abstract="false"
native="false"
synchronized="false"
static="false"
final="false"
deprecated="deprecated"
visibility="public"
>
</method>
</class>
<class name="PluginList"
extends="java.lang.Object"
abstract="false"
static="false"
final="false"
deprecated="deprecated"
visibility="public"
>
<constructor name="PluginList"
type="android.webkit.PluginList"
static="false"
final="false"
deprecated="deprecated"
visibility="public"
>
</constructor>
<method name="addPlugin"
return="void"
abstract="false"
native="false"
synchronized="true"
static="false"
final="false"
deprecated="deprecated"
visibility="public"
>
<parameter name="plugin" type="android.webkit.Plugin">
</parameter>
</method>
<method name="clear"
return="void"
abstract="false"
native="false"
synchronized="true"
static="false"
final="false"
deprecated="deprecated"
visibility="public"
>
</method>
<method name="getList"
return="java.util.List"
abstract="false"
native="false"
synchronized="true"
static="false"
final="false"
deprecated="deprecated"
visibility="public"
>
</method>
<method name="pluginClicked"
return="void"
abstract="false"
native="false"
synchronized="true"
static="false"
final="false"
deprecated="deprecated"
visibility="public"
>
<parameter name="context" type="android.content.Context">
</parameter>
<parameter name="position" type="int">
</parameter>
</method>
<method name="removePlugin"
return="void"
abstract="false"
native="false"
synchronized="true"
static="false"
final="false"
deprecated="deprecated"
visibility="public"
>
<parameter name="plugin" type="android.webkit.Plugin">
</parameter>
</method>
</class>
<interface name="PluginStub"
abstract="true"
static="false"
@@ -240198,141 +239881,6 @@
</parameter>
</method>
</class>
<interface name="UrlInterceptHandler"
abstract="true"
static="false"
final="false"
deprecated="deprecated"
visibility="public"
>
<method name="getPluginData"
return="android.webkit.PluginData"
abstract="true"
native="false"
synchronized="false"
static="false"
final="false"
deprecated="deprecated"
visibility="public"
>
<parameter name="url" type="java.lang.String">
</parameter>
<parameter name="headers" type="java.util.Map&lt;java.lang.String, java.lang.String&gt;">
</parameter>
</method>
<method name="service"
return="android.webkit.CacheManager.CacheResult"
abstract="true"
native="false"
synchronized="false"
static="false"
final="false"
deprecated="deprecated"
visibility="public"
>
<parameter name="url" type="java.lang.String">
</parameter>
<parameter name="headers" type="java.util.Map&lt;java.lang.String, java.lang.String&gt;">
</parameter>
</method>
</interface>
<class name="UrlInterceptRegistry"
extends="java.lang.Object"
abstract="false"
static="false"
final="true"
deprecated="deprecated"
visibility="public"
>
<constructor name="UrlInterceptRegistry"
type="android.webkit.UrlInterceptRegistry"
static="false"
final="false"
deprecated="not deprecated"
visibility="public"
>
</constructor>
<method name="getPluginData"
return="android.webkit.PluginData"
abstract="false"
native="false"
synchronized="true"
static="true"
final="false"
deprecated="deprecated"
visibility="public"
>
<parameter name="url" type="java.lang.String">
</parameter>
<parameter name="headers" type="java.util.Map&lt;java.lang.String, java.lang.String&gt;">
</parameter>
</method>
<method name="getSurrogate"
return="android.webkit.CacheManager.CacheResult"
abstract="false"
native="false"
synchronized="true"
static="true"
final="false"
deprecated="deprecated"
visibility="public"
>
<parameter name="url" type="java.lang.String">
</parameter>
<parameter name="headers" type="java.util.Map&lt;java.lang.String, java.lang.String&gt;">
</parameter>
</method>
<method name="registerHandler"
return="boolean"
abstract="false"
native="false"
synchronized="true"
static="true"
final="false"
deprecated="deprecated"
visibility="public"
>
<parameter name="handler" type="android.webkit.UrlInterceptHandler">
</parameter>
</method>
<method name="setUrlInterceptDisabled"
return="void"
abstract="false"
native="false"
synchronized="true"
static="true"
final="false"
deprecated="deprecated"
visibility="public"
>
<parameter name="disabled" type="boolean">
</parameter>
</method>
<method name="unregisterHandler"
return="boolean"
abstract="false"
native="false"
synchronized="true"
static="true"
final="false"
deprecated="deprecated"
visibility="public"
>
<parameter name="handler" type="android.webkit.UrlInterceptHandler">
</parameter>
</method>
<method name="urlInterceptDisabled"
return="boolean"
abstract="false"
native="false"
synchronized="true"
static="true"
final="false"
deprecated="deprecated"
visibility="public"
>
</method>
</class>
<interface name="ValueCallback"
abstract="true"
static="false"
@@ -243156,17 +242704,6 @@
visibility="public"
>
</method>
<method name="getPluginList"
return="android.webkit.PluginList"
abstract="false"
native="false"
synchronized="true"
static="true"
final="false"
deprecated="deprecated"
visibility="public"
>
</method>
<method name="getProgress"
return="int"
abstract="false"
@@ -243508,19 +243045,6 @@
<parameter name="postData" type="byte[]">
</parameter>
</method>
<method name="refreshPlugins"
return="void"
abstract="false"
native="false"
synchronized="false"
static="false"
final="false"
deprecated="deprecated"
visibility="public"
>
<parameter name="reloadOpenPages" type="boolean">
</parameter>
</method>
<method name="reload"
return="void"
abstract="false"

View File

@@ -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.
*/

View File

@@ -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.
*/

View File

@@ -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.
*/

View File

@@ -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

View File

@@ -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.
*/

View File

@@ -3673,6 +3673,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
@@ -3681,6 +3682,7 @@ public class WebView extends AbsoluteLayout
}
/**
* @hide
* @deprecated This was used for Gears, which has been deprecated.
*/
@Deprecated