diff options
author | John Reck <jreck@google.com> | 2011-11-17 08:47:29 -0800 |
---|---|---|
committer | Android (Google) Code Review <android-gerrit@google.com> | 2011-11-17 08:47:29 -0800 |
commit | 1da3d656358ab577f285d06e9db249dfb21cb8e3 (patch) | |
tree | ad882924ff4ffa070b517868f3b59615a7e95bf8 /core/java/android/webkit/WebSettings.java | |
parent | fead0e14b437e80b1c2b0578ec33fc5cbf910ddf (diff) | |
parent | 5a1ef4132f93f57940a5cc49d32991674d014841 (diff) | |
download | frameworks_base-1da3d656358ab577f285d06e9db249dfb21cb8e3.zip frameworks_base-1da3d656358ab577f285d06e9db249dfb21cb8e3.tar.gz frameworks_base-1da3d656358ab577f285d06e9db249dfb21cb8e3.tar.bz2 |
Merge "Undeprecate LayoutAlgorithm" into ics-mr1
Diffstat (limited to 'core/java/android/webkit/WebSettings.java')
-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; } |