diff options
author | John Reck <jreck@google.com> | 2011-11-17 13:20:12 -0800 |
---|---|---|
committer | Android Git Automerger <android-git-automerger@android.com> | 2011-11-17 13:20:12 -0800 |
commit | 6810017f6a7108449a8c08fcf15e1305dcba96f3 (patch) | |
tree | 12caa7ac82981b36132036ba8c35c835eb5a6012 /core | |
parent | 131ed03f30ff85b00ee4f3cd01108f9742c356c2 (diff) | |
parent | 2c6afef8766371bf933f8675c80687802ce045e0 (diff) | |
download | frameworks_base-6810017f6a7108449a8c08fcf15e1305dcba96f3.zip frameworks_base-6810017f6a7108449a8c08fcf15e1305dcba96f3.tar.gz frameworks_base-6810017f6a7108449a8c08fcf15e1305dcba96f3.tar.bz2 |
am 2c6afef8: am 1da3d656: Merge "Undeprecate LayoutAlgorithm" into ics-mr1
* commit '2c6afef8766371bf933f8675c80687802ce045e0':
Undeprecate LayoutAlgorithm
Diffstat (limited to 'core')
-rw-r--r-- | core/java/android/webkit/WebSettings.java | 10 |
1 files changed, 4 insertions, 6 deletions
diff --git a/core/java/android/webkit/WebSettings.java b/core/java/android/webkit/WebSettings.java index 0c3f94e..f947f95 100644 --- a/core/java/android/webkit/WebSettings.java +++ b/core/java/android/webkit/WebSettings.java @@ -42,12 +42,14 @@ public class WebSettings { * SINGLE_COLUMN moves all content into one column that is the width of the * view. * NARROW_COLUMNS makes all columns no wider than the screen if possible. - * @deprecated This enum is now obsolete. */ // XXX: These must match LayoutAlgorithm in Settings.h in WebCore. - @Deprecated public enum LayoutAlgorithm { NORMAL, + /** + * @deprecated This algorithm is now obsolete. + */ + @Deprecated SINGLE_COLUMN, NARROW_COLUMNS } @@ -936,9 +938,7 @@ public class WebSettings { * WebView. * @param l A LayoutAlgorithm enum specifying the algorithm to use. * @see WebSettings.LayoutAlgorithm - * @deprecated This method is now obsolete. */ - @Deprecated public synchronized void setLayoutAlgorithm(LayoutAlgorithm l) { // XXX: This will only be affective if libwebcore was built with // ANDROID_LAYOUT defined. @@ -953,9 +953,7 @@ public class WebSettings { * @return LayoutAlgorithm enum value describing the layout algorithm * being used. * @see WebSettings.LayoutAlgorithm - * @deprecated This method is now obsolete. */ - @Deprecated public synchronized LayoutAlgorithm getLayoutAlgorithm() { return mLayoutAlgorithm; } |