chromeos: Make ShelfWindowWatcher a ShellObserver vs DisplayObserver

Desktop / Chromium - Michael Wasserman [chromium.org] - 9 August 2017 02:47 EDT

Follows https://chromium-review.googlesource.com/c/570777 Eliminates the need to check for already-observed root windows.

Bug: None Test: No cros task-manager, settings, or panel shelf item changes. Change-Id: I8cf9d79efc44b3a223f99162123ccb4e8a027cd9 Reviewed-on: https://chromium-review.googlesource.com/607351

4a00c45 chromeos: Make ShelfWindowWatcher a ShellObserver vs DisplayObserver.
ash/shelf/shelf_window_watcher.cc | 40 +++++++++++----------------------------
ash/shelf/shelf_window_watcher.h | 11 ++++-------
2 files changed, 15 insertions(+), 36 deletions(-)

Upstream: git.chromium.org


  • Share