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

Issue 1659283002: ash: Explicitly teach various components about ShelfLayoutManager. (Closed)

Created:
4 years, 10 months ago by sadrul
Modified:
4 years, 10 months ago
Reviewers:
sky
CC:
chromium-reviews, tdresser+watch_chromium.org
Base URL:
https://chromium.googlesource.com/chromium/src.git@ozone-ui-event-platform-event
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

ash: Explicitly teach various components about ShelfLayoutManager. . StatusAreaWidget is created by the ShelfWidget instance. So there's no need for StatusAreaWidget to go throug the root window to get at the ShelfLayoutManager. . TrayBackgroundView, AshPopupAlignmentDelegate etc. should get the ShelfLayoutManager from their associated StatusAreaWidget. . OverflowButton is created by the shelf itself. There's no reason to look it up from the root-window. BUG=none Committed: https://crrev.com/d33c56b9855e28aa28565c0ea39bc70aacabe1b7 Cr-Commit-Position: refs/heads/master@{#373159}

Patch Set 1 #

Patch Set 2 : . #

Patch Set 3 : . #

Total comments: 6

Patch Set 4 : . #

Patch Set 5 : fix-test #

Unified diffs Side-by-side diffs Delta from patch set Stats (+76 lines, -83 lines) Patch
M ash/focus_cycler_unittest.cc View 1 2 3 4 2 chunks +4 lines, -1 line 0 comments Download
M ash/shelf/overflow_bubble.cc View 1 1 chunk +1 line, -2 lines 0 comments Download
M ash/shelf/overflow_bubble_view.h View 1 2 3 2 chunks +2 lines, -2 lines 0 comments Download
M ash/shelf/overflow_bubble_view.cc View 1 2 3 3 chunks +4 lines, -8 lines 0 comments Download
M ash/shelf/overflow_button.h View 1 2 chunks +4 lines, -1 line 0 comments Download
M ash/shelf/overflow_button.cc View 1 2 3 3 chunks +7 lines, -11 lines 0 comments Download
M ash/shelf/shelf.h View 1 1 chunk +0 lines, -1 line 0 comments Download
M ash/shelf/shelf_view.cc View 1 1 chunk +1 line, -1 line 0 comments Download
M ash/shelf/shelf_widget.cc View 1 2 chunks +7 lines, -7 lines 0 comments Download
M ash/system/status_area_widget.h View 1 4 chunks +5 lines, -1 line 0 comments Download
M ash/system/status_area_widget.cc View 1 3 chunks +5 lines, -3 lines 0 comments Download
M ash/system/tray/tray_background_view.cc View 1 1 chunk +1 line, -1 line 0 comments Download
M ash/system/web_notification/ash_popup_alignment_delegate.h View 1 2 chunks +1 line, -6 lines 0 comments Download
M ash/system/web_notification/ash_popup_alignment_delegate.cc View 1 2 3 7 chunks +7 lines, -22 lines 0 comments Download
M ash/system/web_notification/ash_popup_alignment_delegate_unittest.cc View 1 4 chunks +17 lines, -7 lines 0 comments Download
M ash/system/web_notification/web_notification_tray.cc View 1 1 chunk +2 lines, -1 line 0 comments Download
M ash/wm/dock/docked_window_layout_manager.cc View 1 2 3 3 chunks +5 lines, -5 lines 0 comments Download
M ash/wm/panels/panel_layout_manager.cc View 1 1 chunk +1 line, -2 lines 0 comments Download
M ash/wm/window_animations.cc View 1 1 chunk +2 lines, -1 line 0 comments Download

Messages

Total messages: 10 (4 generated)
sadrul
4 years, 10 months ago (2016-02-02 23:10:00 UTC) #2
sky
LGTM https://codereview.chromium.org/1659283002/diff/40001/ash/shelf/overflow_bubble_view.cc File ash/shelf/overflow_bubble_view.cc (right): https://codereview.chromium.org/1659283002/diff/40001/ash/shelf/overflow_bubble_view.cc#newcode80 ash/shelf/overflow_bubble_view.cc:80: ShelfLayoutManager* shelf_layout_manager = nit: keep GetShelfLayoutManager but makes ...
4 years, 10 months ago (2016-02-03 00:01:42 UTC) #3
sadrul
https://codereview.chromium.org/1659283002/diff/40001/ash/shelf/overflow_bubble_view.cc File ash/shelf/overflow_bubble_view.cc (right): https://codereview.chromium.org/1659283002/diff/40001/ash/shelf/overflow_bubble_view.cc#newcode80 ash/shelf/overflow_bubble_view.cc:80: ShelfLayoutManager* shelf_layout_manager = On 2016/02/03 00:01:42, sky wrote: > ...
4 years, 10 months ago (2016-02-03 02:07:59 UTC) #4
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1659283002/80001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1659283002/80001
4 years, 10 months ago (2016-02-03 03:33:38 UTC) #7
commit-bot: I haz the power
Committed patchset #5 (id:80001)
4 years, 10 months ago (2016-02-03 03:39:42 UTC) #8
commit-bot: I haz the power
4 years, 10 months ago (2016-02-03 03:41:04 UTC) #10
Message was sent while issue was closed.
Patchset 5 (id:??) landed as
https://crrev.com/d33c56b9855e28aa28565c0ea39bc70aacabe1b7
Cr-Commit-Position: refs/heads/master@{#373159}

Powered by Google App Engine
This is Rietveld 408576698