-
David Black authored
AssistantOverlays are views which are added to AssistantContainerView's client view. Because they are added at this level of the view hierarchy, they paint to a higher level in the layer tree than direct children of AssistantContainerView. AssistantOverlays are intended to behave as pseudo-children of views in the Assistant view hierarchy that need to paint to a high level, say to draw over top of Assistant cards. This CL adds a flag guarded AssistantNotificationOverlay which behaves as a pseudo-child of AssistantMainView and will be used to support in-Assistant notifications in Assistant. Future overlays will include a shadow that is painted above suggestion chips when the Assistant main stage can be scrolled (b:112669597). Bug: b:118654460 Change-Id: I8e9a2c9748b4ecb0fad51c2f27722890d20d4ff3 Reviewed-on: https://chromium-review.googlesource.com/c/1440906 Commit-Queue: David Black <dmblack@google.com> Reviewed-by:
Xiaohui Chen <xiaohuic@chromium.org> Cr-Commit-Position: refs/heads/master@{#628504}
9f36e9c6