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

Issue 2192553002: mash: Convert ShelfWindowWatcher to wm common types (Closed)

Created:
4 years, 4 months ago by James Cook
Modified:
4 years, 4 months ago
Reviewers:
msw
CC:
chromium-reviews, kalyank, sadrul
Base URL:
https://chromium.googlesource.com/chromium/src.git@master
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

mash: 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 #

Unified diffs Side-by-side diffs Delta from patch set Stats (+253 lines, -311 lines) Patch
M ash/aura/wm_window_aura.h View 1 chunk +2 lines, -0 lines 0 comments Download
M ash/aura/wm_window_aura.cc View 2 chunks +15 lines, -0 lines 0 comments Download
M ash/common/wm_window.h View 2 chunks +5 lines, -0 lines 0 comments Download
M ash/common/wm_window_property.h View 1 chunk +3 lines, -0 lines 0 comments Download
M ash/mus/bridge/wm_window_mus.h View 1 chunk +2 lines, -0 lines 0 comments Download
M ash/mus/bridge/wm_window_mus.cc View 1 chunk +14 lines, -0 lines 0 comments Download
M ash/shelf/shelf_window_watcher.h View 1 2 2 chunks +52 lines, -83 lines 0 comments Download
M ash/shelf/shelf_window_watcher.cc View 1 2 5 chunks +96 lines, -149 lines 0 comments Download
M ash/shelf/shelf_window_watcher_item_delegate.h View 2 chunks +5 lines, -8 lines 0 comments Download
M ash/shelf/shelf_window_watcher_item_delegate.cc View 3 chunks +10 lines, -13 lines 0 comments Download
M ash/shelf/shelf_window_watcher_unittest.cc View 1 2 6 chunks +49 lines, -58 lines 0 comments Download

Messages

Total messages: 17 (10 generated)
James Cook
msw, please take a look.
4 years, 4 months ago (2016-07-27 17:21:43 UTC) #4
msw
lgtm with nits and a test question. https://codereview.chromium.org/2192553002/diff/20001/ash/shelf/shelf_window_watcher.cc File ash/shelf/shelf_window_watcher.cc (right): https://codereview.chromium.org/2192553002/diff/20001/ash/shelf/shelf_window_watcher.cc#newcode151 ash/shelf/shelf_window_watcher.cc:151: // display ...
4 years, 4 months ago (2016-07-27 18:36:11 UTC) #7
James Cook
msw, please take another look (I added a few lines of code to the tests). ...
4 years, 4 months ago (2016-07-27 20:14:06 UTC) #8
msw
nice; lgtm!
4 years, 4 months ago (2016-07-27 20:28:01 UTC) #11
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/2192553002/40001
4 years, 4 months ago (2016-07-27 20:32:52 UTC) #14
commit-bot: I haz the power
Committed patchset #3 (id:40001)
4 years, 4 months ago (2016-07-27 21:08:09 UTC) #15
commit-bot: I haz the power
4 years, 4 months ago (2016-07-27 21:09:40 UTC) #17
Message was sent while issue was closed.
Patchset 3 (id:??) landed as
https://crrev.com/47d35c03fb047de36bf7a26dc1beb80d572f7696
Cr-Commit-Position: refs/heads/master@{#408236}

Powered by Google App Engine
This is Rietveld 408576698