Fixes bug where shelf items could be added for children windows
WindowObserver::OnWindowVisibilityChanged() is called any time the visibility of a descendant changes. This means if the visibility of a child of a window shown on the shelf changes and the child's type is other than none, then an entry is added to the shelf. I don't believe this would happen for aura, but for mus the default type is TYPE_APP (unless explicitly set). BUG=none TEST=covered by test R=msw@chromium.org Review-Url: https://codereview.chromium.org/2576023002 Cr-Commit-Position: refs/heads/master@{#438622}
Showing
Please register or sign in to comment