diff options
author | mkosiba@chromium.org <mkosiba@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2013-06-25 00:00:09 +0000 |
---|---|---|
committer | mkosiba@chromium.org <mkosiba@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2013-06-25 00:00:09 +0000 |
commit | aa914271008abd97d8ac9f817b95465895a6e95c (patch) | |
tree | 64b201f4c43d91a7ab917e166cd9c45bb33fe283 /android_webview/test | |
parent | 229b47c48b8be334f9b9aec54e7116f12f8845b2 (diff) | |
download | chromium_src-aa914271008abd97d8ac9f817b95465895a6e95c.zip chromium_src-aa914271008abd97d8ac9f817b95465895a6e95c.tar.gz chromium_src-aa914271008abd97d8ac9f817b95465895a6e95c.tar.bz2 |
[android_webview] Add view integration test for content size.
This adds a view integration test for content size changes in
wrap-content mode.
BUG=None
TEST=AndroidWebViewTests
Review URL: https://chromiumcodereview.appspot.com/16658010
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@208309 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'android_webview/test')
-rw-r--r-- | android_webview/test/shell/src/org/chromium/android_webview/test/AwTestRunnerActivity.java | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/android_webview/test/shell/src/org/chromium/android_webview/test/AwTestRunnerActivity.java b/android_webview/test/shell/src/org/chromium/android_webview/test/AwTestRunnerActivity.java index 9bd8edd..7e03d4f 100644 --- a/android_webview/test/shell/src/org/chromium/android_webview/test/AwTestRunnerActivity.java +++ b/android_webview/test/shell/src/org/chromium/android_webview/test/AwTestRunnerActivity.java @@ -44,6 +44,10 @@ public class AwTestRunnerActivity extends Activity { setContentView(mLinearLayout); } + public int getRootLayoutWidth() { + return mLinearLayout.getWidth(); + } + /** * Adds a view to the main linear layout. */ |