Move observable changes into InkDropEventHandler

This specifically moves InkDropHostView::OnBoundsChanged and
::VisibilityChanged into InkDropEventHandler, using the corresponding
ViewObserver APIs.

Note that there's no API corresponding to ::ViewHierarchyChanged so a
TODO is left to make sure that we can observe when the host gets removed
from the hierarchy.

Bug: chromium:939419
Change-Id: Iec2d36cd1977afe9ede897e753fd95b3069986dd
Reviewed-by: Collin Baker <>
Commit-Queue: Peter Boström <>
Cr-Commit-Position: refs/heads/master@{#641753}
4 files changed