[Android WebView] Fix view state for popups
commit2dc4a1bd1906b3065b1141a10bad26be3f33ac4e
authorboliu@chromium.org <boliu@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>
Mon, 15 Jul 2013 20:27:57 +0000 (15 20:27 +0000)
committerboliu@chromium.org <boliu@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>
Mon, 15 Jul 2013 20:27:57 +0000 (15 20:27 +0000)
tree8d29ade7e2fbafb52ad2e42d337e51dca9f5db9b
parent1b83432467491b596f800bd623da8e3975c8d77f
[Android WebView] Fix view state for popups

We did not correctly call onAttachedToWindow on a pop up
webview. This caused InProcessViewRenderer to unnecessarily
fallback to software mode.

Take this opportunity to properly clean up the pop up flow
to properly clean up the existing mContentViewCore and
mNativeAwContents.

BUG=
NOTRY=true

Review URL: https://chromiumcodereview.appspot.com/19141002

git-svn-id: svn://svn.chromium.org/chrome/trunk/src@211678 0039d316-1c4b-4281-b951-d872f2087c98
android_webview/java/src/org/chromium/android_webview/AwContents.java