DescriptionRefactor the view hierarchy of snackbars and infobars
To make snackbars and infobars animate, snackbars were moved to be child
of CompositorViewHolder, and TabContentViewParent was introduced to handle the
animation. One side effect of such design is that many Android views in
CompositorViewHolder now rely on a behavior to receive touch event.
This CL removes such behavior, as it is not the standard Android routine and it
makes our view hierarchy no longer extensible. Instead, a parent of
CompositorViewHolder is introduced to harbor all Android views that may display
on top of content.
This CL also moves infobars to be a sibling of snackbar, and their parent will
be a new FrameLayout called bottom_container.
BUG=640710
Review-Url: https://codereview.chromium.org/2623493003
Cr-Commit-Position: refs/heads/master@{#442733}
Committed: https://chromium.googlesource.com/chromium/src/+/7a609035f046b007eb1b0d8302776aeae3b2e174
Patch Set 1 #Patch Set 2 : fix infobar #
Total comments: 10
Patch Set 3 : comments #Messages
Total messages: 26 (15 generated)
|