Chromium Code Reviews
Descriptionmash: Make ShelfWindowWatcher items for unknown windows.
Restore some ShelfWindowWatcher functionality for Mash:
Assign default shelf ids and item types to windows.
(respect the WindowState::ignored_by_shelf flag)
(use TYPE_DIALOG to avoid Chrome setting an icon, etc.)
(ignore windows with transient parents)
Update the items if an app (ie. Chrome) claims the windows.
Inline GetShelfItemIndexForWindow helper function.
Improve ShelfController and CLC logging.
Add transient, ignored_by_shelf, and mash unit tests.
TODO: Make ignored_by_shelf a window property to fix observation.
(WindowState changes don't notify; StatusBubble gets an item...)
BUG=557406, 729425
TEST=chrome --mash shows a shelf item for QuickLaunch.
R=sky@chromium.org
Review-Url: https://codereview.chromium.org/2918223002
Cr-Commit-Position: refs/heads/master@{#476922}
Committed: https://chromium.googlesource.com/chromium/src/+/70ac45fc6ef3bc0acb2260a5aba251a13afd6f15
Patch Set 1 #Patch Set 2 : Limit behavior to Mash for now; cleanup. #Patch Set 3 : Sync and rebase #Patch Set 4 : Nix viz check (broke panels); use TYPE_DIALOG to avoid Chrome meddling; add tests. #
Total comments: 2
Patch Set 5 : Address comment. #Patch Set 6 : Disable failing mash browser test for now. #
Messages
Total messages: 39 (26 generated)
|
|||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||