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

Issue 2091933002: mash: Convert TrayBackgroundView to wm common types (Closed)

Created:
4 years, 6 months ago by James Cook
Modified:
4 years, 6 months ago
Reviewers:
msw, stevenjb
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: Convert TrayBackgroundView to wm common types Also convert StatusAreaWidget usage to WmShelf. This is closer to the long- term pattern we want, where StatusAreaWidget is accessed via wm types. * Eliminate the TrayBackgroundView::status_area_widget() accessors * Cache a copy of StatusAreaWidget* in subclasses where needed Move the following interdependent files: move_source_file.py ash/system/tray/tray_background_view.* ash/common/system/tray/ move_source_file.py ash/system/tray/tray_bubble_wrapper.* ash/common/system/tray/ move_source_file.py ash/system/tray/tray_event_filter.* ash/common/system/tray/ move_source_file.py ash/system/tray/system_tray_bubble.* ash/common/system/tray/ BUG=619636 TEST=ash_unittests TBR=stevenjb@chromium.org for 1 line rename in c/b/ui/chromeos/ Committed: https://crrev.com/f6f6340048f0ec9535c310d16dd515133fb04c50 Cr-Commit-Position: refs/heads/master@{#401769}

Patch Set 1 #

Patch Set 2 : move files #

Patch Set 3 : tweak #

Total comments: 6

Patch Set 4 : review comments #

Unified diffs Side-by-side diffs Delta from patch set Stats (+113 lines, -1497 lines) Patch
M ash/ash.gyp View 1 2 chunks +8 lines, -8 lines 0 comments Download
A + ash/common/system/tray/system_tray_bubble.h View 1 2 chunks +4 lines, -4 lines 0 comments Download
A + ash/common/system/tray/system_tray_bubble.cc View 1 1 chunk +2 lines, -3 lines 0 comments Download
A + ash/common/system/tray/tray_background_view.h View 1 6 chunks +7 lines, -15 lines 0 comments Download
A + ash/common/system/tray/tray_background_view.cc View 1 8 chunks +24 lines, -33 lines 0 comments Download
A + ash/common/system/tray/tray_bubble_wrapper.h View 1 2 chunks +3 lines, -3 lines 0 comments Download
A + ash/common/system/tray/tray_bubble_wrapper.cc View 1 1 chunk +3 lines, -3 lines 0 comments Download
A + ash/common/system/tray/tray_event_filter.h View 1 2 chunks +3 lines, -3 lines 0 comments Download
A + ash/common/system/tray/tray_event_filter.cc View 1 1 chunk +3 lines, -3 lines 0 comments Download
M ash/shelf/overflow_bubble.cc View 1 1 chunk +1 line, -1 line 0 comments Download
M ash/system/chromeos/network/tray_sms.cc View 1 2 chunks +1 line, -1 line 0 comments Download
M ash/system/chromeos/session/logout_button_tray.h View 1 1 chunk +1 line, -1 line 0 comments Download
M ash/system/chromeos/session/logout_button_tray.cc View 1 chunk +1 line, -1 line 0 comments Download
M ash/system/chromeos/virtual_keyboard/virtual_keyboard_tray.h View 1 1 chunk +1 line, -1 line 0 comments Download
M ash/system/chromeos/virtual_keyboard/virtual_keyboard_tray.cc View 1 chunk +1 line, -2 lines 0 comments Download
M ash/system/overview/overview_button_tray.h View 1 2 chunks +3 lines, -1 line 0 comments Download
M ash/system/overview/overview_button_tray.cc View 1 2 2 chunks +2 lines, -1 line 0 comments Download
M ash/system/tray/media_security/multi_profile_media_tray_item_unittest.cc View 1 2 chunks +7 lines, -7 lines 0 comments Download
M ash/system/tray/system_tray.h View 1 2 3 3 chunks +6 lines, -3 lines 0 comments Download
M ash/system/tray/system_tray.cc View 1 7 chunks +7 lines, -5 lines 0 comments Download
D ash/system/tray/system_tray_bubble.h View 1 1 chunk +0 lines, -78 lines 0 comments Download
M ash/system/tray/system_tray_bubble.cc View 1 1 chunk +0 lines, -326 lines 0 comments Download
M ash/system/tray/system_tray_unittest.cc View 1 2 chunks +3 lines, -2 lines 0 comments Download
M ash/system/tray/tray_background_view.h View 1 1 chunk +0 lines, -186 lines 0 comments Download
M ash/system/tray/tray_background_view.cc View 1 1 chunk +0 lines, -530 lines 0 comments Download
D ash/system/tray/tray_bubble_wrapper.h View 1 1 chunk +0 lines, -47 lines 0 comments Download
D ash/system/tray/tray_bubble_wrapper.cc View 1 1 chunk +0 lines, -58 lines 0 comments Download
D ash/system/tray/tray_event_filter.h View 1 1 chunk +0 lines, -53 lines 0 comments Download
D ash/system/tray/tray_event_filter.cc View 1 1 chunk +0 lines, -101 lines 0 comments Download
M ash/system/web_notification/web_notification_tray.h View 1 2 chunks +2 lines, -1 line 0 comments Download
M ash/system/web_notification/web_notification_tray.cc View 1 2 3 8 chunks +19 lines, -15 lines 0 comments Download
M chrome/browser/chromeos/ui/focus_ring_controller.cc View 1 1 chunk +1 line, -1 line 0 comments Download

Messages

Total messages: 20 (7 generated)
James Cook
msw, please take a look.
4 years, 6 months ago (2016-06-23 21:26:19 UTC) #2
James Cook
Actually, hold off a minute, I think I can move the files in this CL.
4 years, 6 months ago (2016-06-23 21:30:14 UTC) #3
James Cook
msw, *now* please take a look. :-) I updated the CL description too.
4 years, 6 months ago (2016-06-23 21:45:17 UTC) #5
msw
lgtm https://codereview.chromium.org/2091933002/diff/40001/ash/system/tray/system_tray.h File ash/system/tray/system_tray.h (right): https://codereview.chromium.org/2091933002/diff/40001/ash/system/tray/system_tray.h#newcode216 ash/system/tray/system_tray.h:216: StatusAreaWidget* status_area_widget_; nit: comment https://codereview.chromium.org/2091933002/diff/40001/ash/system/tray/system_tray_bubble.cc File ash/system/tray/system_tray_bubble.cc (left): ...
4 years, 6 months ago (2016-06-23 22:17:27 UTC) #6
James Cook
Thanks for the review. https://codereview.chromium.org/2091933002/diff/40001/ash/system/tray/system_tray.h File ash/system/tray/system_tray.h (right): https://codereview.chromium.org/2091933002/diff/40001/ash/system/tray/system_tray.h#newcode216 ash/system/tray/system_tray.h:216: StatusAreaWidget* status_area_widget_; On 2016/06/23 22:17:27, ...
4 years, 6 months ago (2016-06-23 22:44:18 UTC) #7
James Cook
stevenjb, I'm going to TBR you for a 1 line rename in chrome/browser/chromeos/ui/focus_ring_controller.cc
4 years, 6 months ago (2016-06-23 22:45:22 UTC) #10
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/2091933002/60001
4 years, 6 months ago (2016-06-23 22:46:01 UTC) #13
commit-bot: I haz the power
Committed patchset #4 (id:60001)
4 years, 6 months ago (2016-06-24 01:18:13 UTC) #14
commit-bot: I haz the power
Patchset 4 (id:??) landed as https://crrev.com/f6f6340048f0ec9535c310d16dd515133fb04c50 Cr-Commit-Position: refs/heads/master@{#401769}
4 years, 6 months ago (2016-06-24 01:19:35 UTC) #16
piman
A revert of this CL (patchset #4 id:60001) has been created in https://codereview.chromium.org/2097733002/ by piman@chromium.org. ...
4 years, 6 months ago (2016-06-24 02:32:21 UTC) #17
dgozman
A revert of this CL (patchset #4 id:60001) has been created in https://codereview.chromium.org/2095663004/ by dgozman@chromium.org. ...
4 years, 6 months ago (2016-06-24 02:36:23 UTC) #18
James Cook
On 2016/06/24 02:36:23, dgozman wrote: > A revert of this CL (patchset #4 id:60001) has ...
4 years, 6 months ago (2016-06-24 02:40:39 UTC) #19
James Cook
4 years, 6 months ago (2016-06-24 04:39:13 UTC) #20
Message was sent while issue was closed.
On 2016/06/24 02:40:39, James Cook wrote:
> On 2016/06/24 02:36:23, dgozman wrote:
> > A revert of this CL (patchset #4 id:60001) has been created in
> > https://codereview.chromium.org/2095663004/ by mailto:dgozman@chromium.org.
> > 
> > The reason for reverting is: Broke compile. Looks like this was conflicting
> with
> >
>
https://chromium.googlesource.com/chromium/src/+/133c792af9dfe8c82561bee7015e...
> > landed just before. Broken build:
> >
>
https://build.chromium.org/p/chromium.chromiumos/builders/Linux%20ChromiumOS%....
> 
> Thanks for reverting me. Looks like a collision. I'll try again in the
morning.

Relanding with https://codereview.chromium.org/2099603002/

Powered by Google App Engine
This is Rietveld 408576698