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

Issue 2139183003: mash: Migrate //ash/system/toast to WM common types (Closed)

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

Description

mash: Migrate //ash/system/toast to WM common types "Toasts" are ARC++ notifications coming from the Android side. These need to migrate to WmWindow/WmShell so we can use them in mus. Also make sure the toast bounds are computed based on the "target" root window where they will appear. The existing code placed the toasts on the target root window (which could be the secondary display), but used the primary display's bounds for positioning. TODO - Convert the unit test, which relies on DisplayManager for unified desktop mode. BUG=619636 TEST=ash_unittests, manually spawn toasts with Ctrl-Alt-Shift-O Committed: https://crrev.com/b6870ff8aa26f9a335aa84e54141429110035230 Cr-Commit-Position: refs/heads/master@{#405181}

Patch Set 1 #

Total comments: 2

Patch Set 2 : move test back #

Unified diffs Side-by-side diffs Delta from patch set Stats (+50 lines, -628 lines) Patch
M ash/accelerators/debug_commands.cc View 2 chunks +2 lines, -2 lines 0 comments Download
M ash/ash.gyp View 1 2 chunks +6 lines, -6 lines 0 comments Download
A + ash/common/system/toast/OWNERS View 0 chunks +-1 lines, --1 lines 0 comments Download
A + ash/common/system/toast/toast_data.h View 2 chunks +3 lines, -3 lines 0 comments Download
A + ash/common/system/toast/toast_data.cc View 1 chunk +1 line, -1 line 0 comments Download
A + ash/common/system/toast/toast_manager.h View 2 chunks +5 lines, -7 lines 0 comments Download
A + ash/common/system/toast/toast_manager.cc View 1 chunk +3 lines, -1 line 0 comments Download
A + ash/common/system/toast/toast_overlay.h View 3 chunks +5 lines, -4 lines 0 comments Download
A + ash/common/system/toast/toast_overlay.cc View 7 chunks +23 lines, -21 lines 0 comments Download
M ash/shell.cc View 2 chunks +1 line, -1 line 0 comments Download
D ash/system/toast/OWNERS View 1 chunk +0 lines, -1 line 0 comments Download
D ash/system/toast/toast_data.h View 1 chunk +0 lines, -33 lines 0 comments Download
D ash/system/toast/toast_data.cc View 1 chunk +0 lines, -22 lines 0 comments Download
D ash/system/toast/toast_manager.h View 1 chunk +0 lines, -60 lines 0 comments Download
D ash/system/toast/toast_manager.cc View 1 chunk +0 lines, -95 lines 0 comments Download
D ash/system/toast/toast_manager_unittest.cc View 1 1 chunk +1 line, -1 line 0 comments Download
D ash/system/toast/toast_overlay.h View 1 chunk +0 lines, -74 lines 0 comments Download
D ash/system/toast/toast_overlay.cc View 1 chunk +0 lines, -296 lines 0 comments Download
M ui/arc/notification/arc_notification_manager.cc View 1 chunk +1 line, -1 line 0 comments Download

Messages

Total messages: 20 (12 generated)
James Cook
msw, please take a look.
4 years, 5 months ago (2016-07-12 22:26:31 UTC) #4
msw
lgtm with test file nit. https://codereview.chromium.org/2139183003/diff/1/ash/common/system/toast/DEPS File ash/common/system/toast/DEPS (right): https://codereview.chromium.org/2139183003/diff/1/ash/common/system/toast/DEPS#newcode3 ash/common/system/toast/DEPS:3: # TODO(jamescook): Eliminate these. ...
4 years, 5 months ago (2016-07-12 22:44:39 UTC) #6
James Cook
yoshiki, can I get OWNERS for ui/arc/notification/arc_notification_manager.cc ? (This CL is part of the mus/mustash ...
4 years, 5 months ago (2016-07-12 23:30:29 UTC) #8
yoshiki
lgtm. Thanks!
4 years, 5 months ago (2016-07-13 04:07:34 UTC) #13
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/v2/patch-status/codereview.chromium.org/2139183003/20001
4 years, 5 months ago (2016-07-13 16:21:02 UTC) #16
commit-bot: I haz the power
Committed patchset #2 (id:20001)
4 years, 5 months ago (2016-07-13 16:26:06 UTC) #17
commit-bot: I haz the power
CQ bit was unchecked.
4 years, 5 months ago (2016-07-13 16:26:21 UTC) #18
commit-bot: I haz the power
4 years, 5 months ago (2016-07-13 16:28:38 UTC) #20
Message was sent while issue was closed.
Patchset 2 (id:??) landed as
https://crrev.com/b6870ff8aa26f9a335aa84e54141429110035230
Cr-Commit-Position: refs/heads/master@{#405181}

Powered by Google App Engine
This is Rietveld 408576698