DescriptionRemove java ViewAndroid class
The java ViewAndroid class was only surving two purposes:
1) Implement content::PowerSaveBlocker with anchor views.
This is only used from content, and is mostly implemented
in content already, so just move the entire implementation
to content PowerSaveBlocker without going through a ui
layer interface.
2) Hold the ViewAndroidDelegate. Just have the native class
hold this object directly instead.
Other required changes:
* Updated to one anchor view per PowerSaveBlocker instead
one per ContentViewCore and keeping a count.
* PowerSaveBlockerImpl::Delegate is made a
WebContentsObserver to observer WebContents destruction.
* Removed an instrumentation test that's no longer
relevant.
BUG=469803
Committed: https://crrev.com/65a9d1d2258c3068196b8a25261b9ad7fa0b107c
Cr-Commit-Position: refs/heads/master@{#324357}
Patch Set 1 #Patch Set 2 : remove ViewAndroid #
Total comments: 6
Patch Set 3 : java PowerSaveBlocker #
Total comments: 2
Messages
Total messages: 21 (2 generated)
|