[android_webview] Add test for getting a size after loading content.
commit7e72fb6daf3baa72a0a702f285f4326b367ef4c1
authormkosiba@chromium.org <mkosiba@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>
Wed, 26 Feb 2014 14:57:55 +0000 (26 14:57 +0000)
committermkosiba@chromium.org <mkosiba@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>
Wed, 26 Feb 2014 14:57:55 +0000 (26 14:57 +0000)
tree488661b3936d61068ef2d75c28276f16a1444241
parentf974485ee536ac08c94a26d6b142178c9af159db
[android_webview] Add test for getting a size after loading content.

This adds a test to check that the WebView applies the width it gets
from the Android view system to the layout size even if the load
happens before the size change notification.
This can happen if the application loads content at the same time
as the WebView is inserted into the view hierarchy.

BUG=344885

Review URL: https://codereview.chromium.org/173493004

git-svn-id: svn://svn.chromium.org/chrome/trunk/src@253454 0039d316-1c4b-4281-b951-d872f2087c98
android_webview/javatests/src/org/chromium/android_webview/test/AndroidViewIntegrationTest.java