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

Issue 2072023003: mash: Break ash system tray dependencies on ash::ShelfWidget (Closed)

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

Description

mash: Break ash system tray dependencies on ash::ShelfWidget This is a step towards converting the system tray to wm common types, as well as a step toward hiding the internal details of the shelf implementation from external users. Long term, all access to shelf state should go via WmShelf. * Plumb WmShelf into StatusAreaWidget. * Remove ShelfWidget usage from //ash/system. * Remove unnecessary includes. BUG=615502, 619636 TEST=ash_unittests Committed: https://crrev.com/aada0db95278da7d4d74bae5d6dfb4480d5b3bee Cr-Commit-Position: refs/heads/master@{#400520}

Patch Set 1 #

Total comments: 8

Patch Set 2 : review comments #

Patch Set 3 : rebase #

Patch Set 4 : rebase #

Unified diffs Side-by-side diffs Delta from patch set Stats (+190 lines, -127 lines) Patch
M ash/aura/wm_shelf_aura.h View 1 chunk +6 lines, -0 lines 0 comments Download
M ash/aura/wm_shelf_aura.cc View 4 chunks +29 lines, -0 lines 0 comments Download
M ash/common/shelf/wm_shelf.h View 3 chunks +23 lines, -0 lines 0 comments Download
M ash/focus_cycler_unittest.cc View 1 chunk +1 line, -1 line 0 comments Download
M ash/mus/bridge/wm_shelf_mus.h View 1 chunk +6 lines, -0 lines 0 comments Download
M ash/mus/bridge/wm_shelf_mus.cc View 2 chunks +27 lines, -0 lines 0 comments Download
M ash/root_window_controller.cc View 1 2 3 1 chunk +1 line, -1 line 0 comments Download
M ash/shelf/shelf_widget.h View 1 chunk +1 line, -0 lines 0 comments Download
M ash/shelf/shelf_widget.cc View 1 2 3 2 chunks +5 lines, -1 line 0 comments Download
M ash/system/DEPS View 1 1 chunk +2 lines, -0 lines 0 comments Download
M ash/system/chromeos/rotation/tray_rotation_lock_unittest.cc View 1 2 3 1 chunk +0 lines, -1 line 0 comments Download
M ash/system/ime/tray_ime_chromeos.cc View 1 chunk +0 lines, -1 line 0 comments Download
M ash/system/overview/overview_button_tray_unittest.cc View 1 2 3 1 chunk +0 lines, -1 line 0 comments Download
M ash/system/status_area_widget.h View 4 chunks +5 lines, -5 lines 0 comments Download
M ash/system/status_area_widget.cc View 5 chunks +6 lines, -11 lines 0 comments Download
M ash/system/tray/system_tray.cc View 1 2 3 5 chunks +4 lines, -5 lines 0 comments Download
M ash/system/tray/system_tray_unittest.cc View 1 17 chunks +30 lines, -49 lines 0 comments Download
M ash/system/tray/tray_background_view.h View 3 chunks +3 lines, -1 line 0 comments Download
M ash/system/tray/tray_background_view.cc View 1 5 chunks +13 lines, -18 lines 0 comments Download
M ash/system/tray/tray_details_view_unittest.cc View 11 chunks +13 lines, -19 lines 0 comments Download
M ash/system/web_notification/web_notification_tray.cc View 1 2 3 5 chunks +7 lines, -5 lines 0 comments Download
M ash/system/web_notification/web_notification_tray_unittest.cc View 1 chunk +0 lines, -1 line 0 comments Download
M ash/test/ash_test_base.h View 2 chunks +3 lines, -3 lines 0 comments Download
M ash/test/ash_test_base.cc View 1 2 3 2 chunks +5 lines, -4 lines 0 comments Download

Dependent Patchsets:

Messages

Total messages: 15 (7 generated)
James Cook
msw, please take a look.
4 years, 6 months ago (2016-06-17 18:34:08 UTC) #2
msw
lgtm with tangential minor comments. https://codereview.chromium.org/2072023003/diff/1/ash/system/DEPS File ash/system/DEPS (right): https://codereview.chromium.org/2072023003/diff/1/ash/system/DEPS#newcode2 ash/system/DEPS:2: # jamescook@ is refactoring ...
4 years, 6 months ago (2016-06-17 19:58:37 UTC) #3
James Cook
Thanks for the quick review. https://codereview.chromium.org/2072023003/diff/1/ash/system/DEPS File ash/system/DEPS (right): https://codereview.chromium.org/2072023003/diff/1/ash/system/DEPS#newcode2 ash/system/DEPS:2: # jamescook@ is refactoring ...
4 years, 6 months ago (2016-06-17 20:14:32 UTC) #4
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/2072023003/40001
4 years, 6 months ago (2016-06-17 20:17:08 UTC) #7
commit-bot: I haz the power
Failed to apply patch for ash/system/tray/system_tray.cc: While running git apply --index -3 -p1; error: patch ...
4 years, 6 months ago (2016-06-17 21:11:08 UTC) #9
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/2072023003/60001
4 years, 6 months ago (2016-06-17 21:19:40 UTC) #12
commit-bot: I haz the power
Committed patchset #4 (id:60001)
4 years, 6 months ago (2016-06-17 22:10:18 UTC) #13
commit-bot: I haz the power
4 years, 6 months ago (2016-06-17 22:12:35 UTC) #15
Message was sent while issue was closed.
Patchset 4 (id:??) landed as
https://crrev.com/aada0db95278da7d4d74bae5d6dfb4480d5b3bee
Cr-Commit-Position: refs/heads/master@{#400520}

Powered by Google App Engine
This is Rietveld 408576698