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

Issue 498023003: Delete activity upon window deletion (Closed)

Created:
6 years, 4 months ago by oshima
Modified:
6 years, 3 months ago
Reviewers:
James Cook, sadrul
CC:
chromium-reviews, chromium-apps-reviews_chromium.org, extensions-reviews_chromium.org
Base URL:
https://chromium.googlesource.com/chromium/src.git@master
Project:
chromium
Visibility:
Public.

Description

Delete activity upon window deletion (there was no leak reported because they're deleted upon shutdown) A few minor cleanup/improvements * Added shortcut to close athena. This doesn't update overview/split view mode. I'll address it in separate CL. * Delete unnecessary athena_content_support_lib target. (I somehow missed this in review) * Separate app_shell specific impl in extensions_delegate (this is prep for athena+chrome) * Remove ActivityWidget wrapper and use views::Widget instead, as it seems to be unnecessary. This is also prep for athena+chrome, where AppActivity should use NativeAppWindowViews. BUG=None TEST=coverted by unittests. TBR=jamescook@chromium.org Committed: https://crrev.com/dbcee380ef55e004ac7b56cf12f6b95c47adecff Cr-Commit-Position: refs/heads/master@{#291935}

Patch Set 1 : reformat #

Total comments: 1

Patch Set 2 : delete activity, rebase #

Patch Set 3 : cleanup #

Unified diffs Side-by-side diffs Delta from patch set Stats (+186 lines, -205 lines) Patch
A athena/activity/activity_manager_impl.h View 1 chunk +31 lines, -0 lines 0 comments Download
M athena/activity/activity_manager_impl.cc View 2 chunks +30 lines, -42 lines 0 comments Download
M athena/activity/activity_manager_unittest.cc View 1 chunk +25 lines, -3 lines 0 comments Download
M athena/activity/activity_view_manager_impl.cc View 1 2 chunks +40 lines, -45 lines 0 comments Download
M athena/athena.gyp View 1 2 4 chunks +7 lines, -8 lines 0 comments Download
M athena/content/web_activity.cc View 4 chunks +9 lines, -0 lines 0 comments Download
M athena/extensions/DEPS View 1 chunk +0 lines, -1 line 0 comments Download
A athena/extensions/extensions_delegate.cc View 1 chunk +39 lines, -0 lines 0 comments Download
D athena/extensions/extensions_delegate_impl.cc View 1 chunk +0 lines, -77 lines 0 comments Download
A + athena/extensions/shell/DEPS View 1 chunk +0 lines, -1 line 0 comments Download
A + athena/extensions/shell/extensions_delegate_impl.cc View 2 chunks +0 lines, -25 lines 0 comments Download
M athena/main/athena_launcher.cc View 1 2 chunks +1 line, -1 line 0 comments Download
M athena/main/athena_main.cc View 1 2 chunks +3 lines, -0 lines 0 comments Download
M athena/main/athena_main.gyp View 1 2 chunks +1 line, -2 lines 0 comments Download

Messages

Total messages: 16 (0 generated)
oshima
6 years, 4 months ago (2014-08-24 10:49:27 UTC) #1
sadrul
https://codereview.chromium.org/498023003/diff/140001/athena/activity/activity_view_manager_impl.cc File athena/activity/activity_view_manager_impl.cc (right): https://codereview.chromium.org/498023003/diff/140001/athena/activity/activity_view_manager_impl.cc#newcode84 athena/activity/activity_view_manager_impl.cc:84: ActivityManager::Get()->RemoveActivity(iter->first); It looks like closing the widget (e.g. by ...
6 years, 3 months ago (2014-08-26 15:29:02 UTC) #2
oshima
On 2014/08/26 15:29:02, sadrul wrote: > https://codereview.chromium.org/498023003/diff/140001/athena/activity/activity_view_manager_impl.cc > File athena/activity/activity_view_manager_impl.cc (right): > > https://codereview.chromium.org/498023003/diff/140001/athena/activity/activity_view_manager_impl.cc#newcode84 > ...
6 years, 3 months ago (2014-08-26 16:05:41 UTC) #3
oshima
On 2014/08/26 16:05:41, oshima wrote: > On 2014/08/26 15:29:02, sadrul wrote: > > > https://codereview.chromium.org/498023003/diff/140001/athena/activity/activity_view_manager_impl.cc ...
6 years, 3 months ago (2014-08-26 16:14:38 UTC) #4
oshima
uploaded new patch. PTAL.
6 years, 3 months ago (2014-08-26 16:16:47 UTC) #5
sadrul
Cool. LGTM
6 years, 3 months ago (2014-08-26 16:22:39 UTC) #6
oshima
oshima@chromium.org changed reviewers: + jamescook@chromium.org
6 years, 3 months ago (2014-08-26 16:39:51 UTC) #7
oshima
tbr'ing jamescook for moving +extensions/shell/browser deps from athena/extensions/DEPS to athena/extensions/shell/DEPS
6 years, 3 months ago (2014-08-26 16:41:18 UTC) #8
oshima
The CQ bit was checked by oshima@chromium.org
6 years, 3 months ago (2014-08-26 16:41:23 UTC) #9
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/oshima@chromium.org/498023003/180001
6 years, 3 months ago (2014-08-26 16:42:08 UTC) #10
commit-bot: I haz the power
The CQ bit was unchecked by commit-bot@chromium.org
6 years, 3 months ago (2014-08-26 17:46:12 UTC) #11
commit-bot: I haz the power
Failed to commit the patch.
6 years, 3 months ago (2014-08-26 17:46:14 UTC) #12
oshima
The CQ bit was checked by oshima@chromium.org
6 years, 3 months ago (2014-08-26 17:57:26 UTC) #13
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/oshima@chromium.org/498023003/180001
6 years, 3 months ago (2014-08-26 17:58:44 UTC) #14
commit-bot: I haz the power
Committed patchset #3 (180001) as e64f05db0ec342230ed34b25652d4f372722f6f0
6 years, 3 months ago (2014-08-26 18:02:21 UTC) #15
commit-bot: I haz the power
6 years, 3 months ago (2014-09-10 02:43:52 UTC) #16
Message was sent while issue was closed.
Patchset 3 (id:??) landed as
https://crrev.com/dbcee380ef55e004ac7b56cf12f6b95c47adecff
Cr-Commit-Position: refs/heads/master@{#291935}

Powered by Google App Engine
This is Rietveld 408576698