Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit f0d97313 authored by Kristian Monsen's avatar Kristian Monsen
Browse files

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
parent 17f49e4f
Loading
Loading
Loading
Loading

api/12.xml

0 → 100644
+456368 −0

File added.

Preview size limit exceeded, changes collapsed.

+0 −476
Original line number Diff line number Diff line
@@ -239543,323 +239543,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"
@@ -240164,141 +239847,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"
@@ -243122,17 +242670,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"
@@ -243474,19 +243011,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"
+25 −0
Original line number Diff line number Diff line
@@ -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.
         */
+6 −0
Original line number Diff line number Diff line
@@ -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.
     */
+7 −0
Original line number Diff line number Diff line
@@ -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.
    */
Loading