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

Issue 694353004: athena: Expose the list of activities from the ActivityManager. (Closed)

Created:
6 years, 1 month ago by sadrul
Modified:
6 years, 1 month ago
CC:
chromium-reviews
Base URL:
https://chromium.googlesource.com/chromium/src.git@master
Project:
chromium
Visibility:
Public.

Description

athena: Expose the list of activities from the ActivityManager. Notable implementation details of the change: . Have ActivityManagerImpl observer each aura::Window of the activities, and update order of the activities when their windows are restacked. . Introduce ActivityManagerObserver::OnActivityOrderChanged(). . Remove the code from ResourceManagerImpl that tracks the activity order, and replace it to get the list from ActivityManager instead. - Make sure the code traverses the activities in the correct order. BUG=413928 R=oshima@chromium.org, skuhne@chromium.org Committed: https://chromium.googlesource.com/chromium/src/+/0167b4868e070224bc1a0ff10039ce9df9107340

Patch Set 1 #

Total comments: 8

Patch Set 2 : . #

Unified diffs Side-by-side diffs Delta from patch set Stats (+152 lines, -132 lines) Patch
M athena/activity/DEPS View 1 chunk +1 line, -0 lines 0 comments Download
M athena/activity/activity_manager_impl.h View 1 2 chunks +12 lines, -5 lines 0 comments Download
M athena/activity/activity_manager_impl.cc View 1 6 chunks +39 lines, -6 lines 0 comments Download
M athena/activity/activity_manager_unittest.cc View 1 2 chunks +22 lines, -0 lines 0 comments Download
M athena/activity/public/activity_manager.h View 1 3 chunks +11 lines, -3 lines 0 comments Download
M athena/activity/public/activity_manager_observer.h View 1 chunk +3 lines, -0 lines 0 comments Download
M athena/resource_manager/resource_manager_impl.cc View 1 13 chunks +59 lines, -115 lines 0 comments Download
M athena/test/base/activity_lifetime_tracker.h View 1 1 chunk +2 lines, -3 lines 0 comments Download
M athena/test/base/activity_lifetime_tracker.cc View 1 1 chunk +3 lines, -0 lines 0 comments Download

Messages

Total messages: 10 (1 generated)
sadrul
+skuhne@ mostly for the change in resource_manager_impl.cc +oshima@ for all of the changes.
6 years, 1 month ago (2014-11-03 22:39:55 UTC) #2
Mr4D (OOO till 08-26)
lgtm! Note: The internal state changes will need to change once more logic will get ...
6 years, 1 month ago (2014-11-03 23:48:00 UTC) #3
Mr4D (OOO till 08-26)
[I have replied to the resource manager change and I looked at the core change ...
6 years, 1 month ago (2014-11-03 23:49:36 UTC) #4
oshima
https://codereview.chromium.org/694353004/diff/1/athena/activity/activity_manager_impl.cc File athena/activity/activity_manager_impl.cc (right): https://codereview.chromium.org/694353004/diff/1/athena/activity/activity_manager_impl.cc#newcode132 athena/activity/activity_manager_impl.cc:132: aura::Window* lost_active) { can you add test for this? ...
6 years, 1 month ago (2014-11-04 00:26:03 UTC) #5
sadrul
https://codereview.chromium.org/694353004/diff/1/athena/activity/activity_manager_impl.cc File athena/activity/activity_manager_impl.cc (right): https://codereview.chromium.org/694353004/diff/1/athena/activity/activity_manager_impl.cc#newcode132 athena/activity/activity_manager_impl.cc:132: aura::Window* lost_active) { On 2014/11/04 00:26:03, oshima wrote: > ...
6 years, 1 month ago (2014-11-04 03:43:46 UTC) #6
oshima
lgtm
6 years, 1 month ago (2014-11-04 04:25:11 UTC) #7
commit-bot: I haz the power
Patchset 2 (id:??) landed as https://crrev.com/0167b4868e070224bc1a0ff10039ce9df9107340 Cr-Commit-Position: refs/heads/master@{#302574}
6 years, 1 month ago (2014-11-04 04:52:41 UTC) #8
sadrul
Committed patchset #2 (id:20001) manually as 0167b4868e070224bc1a0ff10039ce9df9107340 (presubmit successful).
6 years, 1 month ago (2014-11-04 04:52:46 UTC) #9
Mr4D (OOO till 08-26)
6 years, 1 month ago (2014-11-11 00:44:25 UTC) #10
Message was sent while issue was closed.
Since our Trybots are not in the main waterfall you should run your patch at
least locally against the browser / unit tests.

After debugging now for hours I think that this must be the cause of the crash
which removed the trybots from the CQ again.

Reason: The ActivityProxy is after the creation in front of the
ActivityManager's list - even though the window is behind the still existing
AppWindow.

Will create a patch to fix this.

Powered by Google App Engine
This is Rietveld 408576698