• Jun Mukai's avatar
    Hide the title in the title bar for ARC apps · e4f22c7a
    Jun Mukai authored
    As is said in the bug, we decided not to show the title in the
    title bar for ARC apps. However, debugging information (stored
    in extra_title_) wants to appear, and the overview mode wants
    to show the actual title (app name) instead of the debugging
    information.
    
    So this CL changed ClientControlledShellSurface as:
    - GetWindowTitle always return extra_title_ and no title_ so
      title won't appear anymore
    - when the widget's title is updated, directly specify the
      native window's title which is used by the overview mode
    
    Bug: 831383
    Test: manually, exo_unittests
    Change-Id: Ifa275bd6f5c72b8ca36cccf7f9c629498c4a670e
    Reviewed-on: https://chromium-review.googlesource.com/1012783
    Commit-Queue: Jun Mukai <mukai@chromium.org>
    Reviewed-by: default avatarMitsuru Oshima <oshima@chromium.org>
    Reviewed-by: default avatarDavid Reveman <reveman@chromium.org>
    Cr-Commit-Position: refs/heads/master@{#551529}
    e4f22c7a
shell_surface_base.h 13.5 KB