[Android] Set the PowerSaveBlocker's View to have zero dimensions
commitf71100be003a517e164cc5107ca357a1f1e0fbbf
authormnaganov@chromium.org <mnaganov@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>
Thu, 19 Jun 2014 22:16:12 +0000 (19 22:16 +0000)
committermnaganov@chromium.org <mnaganov@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>
Thu, 19 Jun 2014 22:16:12 +0000 (19 22:16 +0000)
tree77d84f0a6dd57c3592fe45279aa54c65d492d769
parente5e69c1bcd1561e92b06b5fb4f6a8372d1a13d60
[Android] Set the PowerSaveBlocker's View to have zero dimensions

Currently the View created by PowerSaveBlocker has the same size as the parent
view. This is not acceptable at least for WebView applications, since such a
View can interfere with application logic in case when the application maintains
its own child Views for WebView.

The view must be visible (otherwise, KeepScreenOn has no effect), but we can
set it to have zero dimensions, thus minimizing interference.

BUG=270903,386087

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

git-svn-id: svn://svn.chromium.org/chrome/trunk/src@278505 0039d316-1c4b-4281-b951-d872f2087c98
ui/android/java/src/org/chromium/ui/base/ViewAndroid.java