Chromium Code Reviews
DescriptionFixes 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
Committed: https://crrev.com/fbdca2cd589d89e0c99eecb3cb194eb47bbabbb1
Cr-Commit-Position: refs/heads/master@{#438622}
Patch Set 1 #
Messages
Total messages: 9 (4 generated)
|
||||||||||||||||||||||||||||