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

Issue 2029323002: mash: Convert AshPopupAlignmentDelegate to wm common types (Closed)

Created:
4 years, 6 months ago by James Cook
Modified:
4 years, 6 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 AshPopupAlignmentDelegate to wm common types This is a dependency of WebNotificationTray, which is a dependency of StatusAreaWidget, which I am trying to migrate to wm common types. * Add auto-hide and work area methods to WmShelf. * Access shelf_widget() via shelf_layout_manager() in WmShelfAura, as we need to access it before the |Shelf| is created during external monitor init. BUG=619636 TEST=ash_unittests Committed: https://crrev.com/3228109cfdac49a405bbd039a4b4456097be9dd7 Cr-Commit-Position: refs/heads/master@{#400312}

Patch Set 1 #

Patch Set 2 : . #

Total comments: 6

Patch Set 3 : review comments #

Unified diffs Side-by-side diffs Delta from patch set Stats (+109 lines, -59 lines) Patch
M ash/aura/wm_shelf_aura.h View 1 3 chunks +4 lines, -1 line 0 comments Download
M ash/aura/wm_shelf_aura.cc View 1 2 4 chunks +22 lines, -4 lines 0 comments Download
M ash/common/shelf/wm_shelf.h View 1 1 chunk +4 lines, -0 lines 0 comments Download
M ash/common/shelf/wm_shelf_observer.h View 1 1 chunk +1 line, -0 lines 0 comments Download
M ash/mus/bridge/wm_shelf_mus.h View 1 1 chunk +2 lines, -0 lines 0 comments Download
M ash/mus/bridge/wm_shelf_mus.cc View 1 2 chunks +10 lines, -0 lines 0 comments Download
M ash/shelf/shelf.h View 1 1 chunk +0 lines, -4 lines 0 comments Download
M ash/shelf/shelf.cc View 1 2 2 chunks +0 lines, -13 lines 0 comments Download
M ash/system/web_notification/ash_popup_alignment_delegate.h View 1 4 chunks +6 lines, -5 lines 0 comments Download
M ash/system/web_notification/ash_popup_alignment_delegate.cc View 1 5 chunks +16 lines, -12 lines 0 comments Download
M ash/system/web_notification/ash_popup_alignment_delegate_unittest.cc View 1 2 8 chunks +20 lines, -13 lines 0 comments Download
M ash/system/web_notification/web_notification_tray.h View 1 1 chunk +1 line, -1 line 0 comments Download
M ash/system/web_notification/web_notification_tray.cc View 1 2 chunks +5 lines, -6 lines 0 comments Download
M ash/test/ash_test_base.h View 1 2 2 chunks +4 lines, -0 lines 0 comments Download
M ash/test/ash_test_base.cc View 1 2 3 chunks +14 lines, -0 lines 0 comments Download

Messages

Total messages: 15 (9 generated)
James Cook
msw, please take a look.
4 years, 6 months ago (2016-06-16 18:23:59 UTC) #6
msw
Ugh, shelf init is miserable... lgtm, I guess. https://codereview.chromium.org/2029323002/diff/40001/ash/aura/wm_shelf_aura.cc File ash/aura/wm_shelf_aura.cc (right): https://codereview.chromium.org/2029323002/diff/40001/ash/aura/wm_shelf_aura.cc#newcode68 ash/aura/wm_shelf_aura.cc:68: shelf_->SetAlignment(alignment); ...
4 years, 6 months ago (2016-06-16 18:56:48 UTC) #7
James Cook
https://codereview.chromium.org/2029323002/diff/40001/ash/aura/wm_shelf_aura.cc File ash/aura/wm_shelf_aura.cc (right): https://codereview.chromium.org/2029323002/diff/40001/ash/aura/wm_shelf_aura.cc#newcode68 ash/aura/wm_shelf_aura.cc:68: shelf_->SetAlignment(alignment); On 2016/06/16 18:56:48, msw wrote: > nit: null ...
4 years, 6 months ago (2016-06-16 21:08:14 UTC) #8
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/2029323002/60001
4 years, 6 months ago (2016-06-16 21:09:22 UTC) #11
commit-bot: I haz the power
Committed patchset #3 (id:60001)
4 years, 6 months ago (2016-06-17 00:22:10 UTC) #13
commit-bot: I haz the power
4 years, 6 months ago (2016-06-17 00:23:59 UTC) #15
Message was sent while issue was closed.
Patchset 3 (id:??) landed as
https://crrev.com/3228109cfdac49a405bbd039a4b4456097be9dd7
Cr-Commit-Position: refs/heads/master@{#400312}

Powered by Google App Engine
This is Rietveld 408576698