diff options
| author | 2012-02-20 14:12:34 +0000 | |
|---|---|---|
| committer | 2012-02-21 11:25:26 +0000 | |
| commit | dd409dfbc44b11028f354d7b01a890f4bc7d6c29 (patch) | |
| tree | 7bf7ff1667d9845f01c38de5cde705c0c77b6c8d | |
| parent | fea6f03842f12f48a24a15f934f3a8dae44170cb (diff) | |
Update the JavaDoc on getVisibleTitleHeight.
Changed 'titlebarview' to 'embedded title bar' and added information
about the return value of the method.
Change-Id: I970ab76282bfed4949f1d738f34359d8c1950aba
| -rw-r--r-- | core/java/android/webkit/WebView.java | 7 |
1 files changed, 5 insertions, 2 deletions
diff --git a/core/java/android/webkit/WebView.java b/core/java/android/webkit/WebView.java index 9cd51d0ba664..d5c645d798a6 100644 --- a/core/java/android/webkit/WebView.java +++ b/core/java/android/webkit/WebView.java @@ -1703,7 +1703,7 @@ public class WebView extends AbsoluteLayout } /** - * returns the height of the titlebarview (if any). Does not care about + * Returns the height (in pixels) of the embedded title bar (if any). Does not care about * scrolling * @hide */ @@ -1712,12 +1712,15 @@ public class WebView extends AbsoluteLayout } /** - * Return the amount of the titlebarview (if any) that is visible + * Return the visible height (in pixels) of the embedded title bar (if any). * + * @return This method is obsolete and always returns 0. * @deprecated This method is now obsolete. */ @Deprecated public int getVisibleTitleHeight() { + // Actually, this method returns the height of the embedded title bar if one is set via the + // hidden setEmbeddedTitleBar method. checkThread(); return getVisibleTitleHeightImpl(); } |