Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(183)

Issue 2576023002: Fixes bug where shelf items could be added for children windows (Closed)

Created:
4 years ago by sky
Modified:
4 years ago
Reviewers:
msw
CC:
chromium-reviews, kalyank, sadrul
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

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 Committed: https://crrev.com/fbdca2cd589d89e0c99eecb3cb194eb47bbabbb1 Cr-Commit-Position: refs/heads/master@{#438622}

Patch Set 1 #

Unified diffs Side-by-side diffs Delta from patch set Stats (+31 lines, -0 lines) Patch
M ash/common/shelf/shelf_window_watcher.cc View 1 chunk +5 lines, -0 lines 0 comments Download
M ash/common/shelf/shelf_window_watcher_unittest.cc View 1 chunk +26 lines, -0 lines 0 comments Download

Messages

Total messages: 9 (4 generated)
sky
4 years ago (2016-12-14 20:38:20 UTC) #1
msw
lgtm, thanks for catching this!
4 years ago (2016-12-14 20:42:28 UTC) #2
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/v2/patch-status/codereview.chromium.org/2576023002/1
4 years ago (2016-12-14 20:43:38 UTC) #4
commit-bot: I haz the power
Committed patchset #1 (id:1)
4 years ago (2016-12-14 21:15:46 UTC) #7
commit-bot: I haz the power
4 years ago (2016-12-14 21:19:44 UTC) #9
Message was sent while issue was closed.
Patchset 1 (id:??) landed as
https://crrev.com/fbdca2cd589d89e0c99eecb3cb194eb47bbabbb1
Cr-Commit-Position: refs/heads/master@{#438622}

Powered by Google App Engine
This is Rietveld 408576698