Merge change 26615 into eclair

* changes:
  Provide a getter to access the width of the HTML document.
This commit is contained in:
Android (Google) Code Review
2009-09-23 14:24:07 -04:00

View File

@@ -2185,6 +2185,14 @@ public class WebView extends AbsoluteLayout
return mContentHeight; 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 * Pause all layout, parsing, and javascript timers for all webviews. This
* is a global requests, not restricted to just this webview. This can be * is a global requests, not restricted to just this webview. This can be