summaryrefslogtreecommitdiffstats
path: root/core/java/android/webkit/WebSettings.java
diff options
context:
space:
mode:
authorSteve Block <steveblock@google.com>2012-04-16 14:10:54 +0100
committerSteve Block <steveblock@google.com>2012-04-17 12:19:10 +0100
commit06d268e3ad1129814829af5d3b84752d84c1acf2 (patch)
treeb0112eeaac9c2438010f47f4bebaab9fdc9b8498 /core/java/android/webkit/WebSettings.java
parent9f7296af049028c28aeb3382c03f0c314346d19d (diff)
downloadframeworks_base-06d268e3ad1129814829af5d3b84752d84c1acf2.zip
frameworks_base-06d268e3ad1129814829af5d3b84752d84c1acf2.tar.gz
frameworks_base-06d268e3ad1129814829af5d3b84752d84c1acf2.tar.bz2
Clean up JavaDoc for WebView.getZoomControls()
Bug: 5461416 Change-Id: I4f2b5c9e4b4c2b1a38d678cb6756f128670ee490
Diffstat (limited to 'core/java/android/webkit/WebSettings.java')
-rw-r--r--core/java/android/webkit/WebSettings.java22
1 files changed, 13 insertions, 9 deletions
diff --git a/core/java/android/webkit/WebSettings.java b/core/java/android/webkit/WebSettings.java
index 105285c..ba48da1 100644
--- a/core/java/android/webkit/WebSettings.java
+++ b/core/java/android/webkit/WebSettings.java
@@ -190,15 +190,19 @@ public class WebSettings {
}
/**
- * Sets whether the WebView should use its built-in zoom mechanisms, as
- * opposed to separate zoom controls. The built-in zoom mechanisms comprise
- * on-screen zoom controls, which are displayed over the WebView's content,
- * and the use of a pinch gesture to control zooming. Whether or not these
- * on-screen controls are displayed can be set with {@link #setDisplayZoomControls}.
- * The separate zoom controls are no longer supported, so it is recommended
- * that this setting is always enabled.
- * @param enabled Whether the WebView should use the built-in zoom mechanism.
- */
+ * Sets whether the WebView should use its built-in zoom mechanisms. The
+ * built-in zoom mechanisms comprise on-screen zoom controls, which are
+ * displayed over the WebView's content, and the use of a pinch gesture to
+ * control zooming. Whether or not these on-screen controls are displayed
+ * can be set with {@link #setDisplayZoomControls}.
+ * <p>
+ * The built-in mechanisms are the only currently supported zoom
+ * mechanisms, so it is recommended that this setting is always enabled.
+ * @param enabled Whether the WebView should use its built-in zoom mechanisms.
+ */
+ // This method was intended to select between the built-in zoom mechanisms
+ // and the separate zoom controls. The latter were obtained using
+ // {@link WebView#getZoomControls}, which is now hidden.
public void setBuiltInZoomControls(boolean enabled) {
throw new MustOverrideException();
}