• David Black's avatar
    Don't hide Assistant when opening tabs. · b8919fef
    David Black authored
    Previously, opening a browser tab would cause Assistant UI to hide.
    Now, we'll remain open but go into mini UI mode.
    
    In mini UI mode, we'll show the active query (if there is one) in lieu
    of the default prompt string. Stylus behavior remains unchanged.
    
    This CL also adds an AssistantContainerLayout to serve as the layout
    manager for AssistantContainerView. This was done to setup for
    additional motion specs as well as to fix a crash.
    
    See bug for demo.
    
    Bug: b:112376466
    Change-Id: Ia920f3c2509eb6f255d5eb6d508dfb650383773b
    Reviewed-on: https://chromium-review.googlesource.com/1168654
    Commit-Queue: David Black <dmblack@google.com>
    Reviewed-by: default avatarXiaohui Chen <xiaohuic@chromium.org>
    Cr-Commit-Position: refs/heads/master@{#581972}
    b8919fef
assistant_container_view.cc 7.34 KB