diff --git a/core/java/android/webkit/WebView.java b/core/java/android/webkit/WebView.java index 8c63692c124ad..607a989a8f7fa 100644 --- a/core/java/android/webkit/WebView.java +++ b/core/java/android/webkit/WebView.java @@ -2185,6 +2185,14 @@ public class WebView extends AbsoluteLayout return mContentHeight; } + /** + * @return the width of the HTML content. + * @hide + */ + public int getContentWidth() { + return mContentWidth; + } + /** * Pause all layout, parsing, and javascript timers for all webviews. This * is a global requests, not restricted to just this webview. This can be