Refactor 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}
Showing
Please register or sign in to comment