Descriptionmash: Convert ShelfWindowWatcher to wm common types
This also simplifies the behavior of ShelfWindowWatcher:
* It adds an icon to the shelf if a window with ShelfItemDetails is created in
the default window container.
* It leaves the icon there until the window is closed, even if the window is
reparented during a drag or dock operation.
This eliminates one set of window observers.
TODO: Change ownership to WmShell and move to //ash/common
BUG=629257
TEST=added to ash_unittests
Committed: https://crrev.com/47d35c03fb047de36bf7a26dc1beb80d572f7696
Cr-Commit-Position: refs/heads/master@{#408236}
Patch Set 1 #Patch Set 2 : cleanup #
Total comments: 8
Patch Set 3 : nits and better test #
Messages
Total messages: 17 (10 generated)
|