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

Issue 536013002: Decoupling visibility states from webcontent, adding visibility management in ResourceManager (Closed)

Created:
6 years, 3 months ago by Mr4D (OOO till 08-26)
Modified:
6 years, 3 months ago
Reviewers:
oshima
CC:
chromium-reviews, darin-cc_chromium.org, jam
Base URL:
https://chromium.googlesource.com/chromium/src.git@master
Project:
chromium
Visibility:
Public.

Description

Decoupling visibility states from webcontent, adding visibility management in ResourceManager It works as desired. An abstract class to handle overview representations of unloaded WebContents has still to be added, but since the CL is already quite big as is, I split this up into a follow up CL. BUG=408826, 408834 TEST=AppActivityTest.*, ResourceManager.* and visual Committed: https://crrev.com/2d350ffed31ecb2fa67d131585e50e1df2ca2d09 Cr-Commit-Position: refs/heads/master@{#293414}

Patch Set 1 #

Patch Set 2 : Added a few more unittests #

Total comments: 18

Patch Set 3 : Addressed #

Total comments: 2

Patch Set 4 : Addressed #

Unified diffs Side-by-side diffs Delta from patch set Stats (+555 lines, -179 lines) Patch
M athena/activity/activity.cc View 1 2 1 chunk +4 lines, -2 lines 0 comments Download
M athena/activity/activity_manager_impl.cc View 1 2 1 chunk +1 line, -1 line 0 comments Download
M athena/activity/activity_manager_unittest.cc View 1 2 2 chunks +4 lines, -4 lines 0 comments Download
M athena/activity/activity_view_manager_impl.cc View 1 2 3 chunks +5 lines, -2 lines 0 comments Download
M athena/activity/public/activity.h View 1 2 3 chunks +7 lines, -1 line 0 comments Download
M athena/activity/public/activity_view_model.h View 1 chunk +4 lines, -1 line 0 comments Download
M athena/content/DEPS View 1 chunk +1 line, -0 lines 0 comments Download
M athena/content/app_activity.h View 2 chunks +15 lines, -3 lines 0 comments Download
M athena/content/app_activity.cc View 1 2 6 chunks +70 lines, -28 lines 0 comments Download
M athena/content/app_activity_proxy.h View 2 chunks +12 lines, -2 lines 0 comments Download
M athena/content/app_activity_proxy.cc View 3 chunks +18 lines, -9 lines 0 comments Download
M athena/content/app_activity_registry.h View 1 2 3 2 chunks +5 lines, -5 lines 0 comments Download
M athena/content/app_activity_registry.cc View 1 2 5 chunks +12 lines, -32 lines 0 comments Download
M athena/content/app_activity_unittest.cc View 1 2 14 chunks +42 lines, -23 lines 0 comments Download
M athena/content/web_activity.h View 2 chunks +14 lines, -2 lines 0 comments Download
M athena/content/web_activity.cc View 1 2 4 chunks +69 lines, -26 lines 0 comments Download
M athena/home/home_card_impl.h View 1 1 chunk +2 lines, -1 line 0 comments Download
M athena/home/home_card_impl.cc View 1 2 3 1 chunk +4 lines, -1 line 0 comments Download
M athena/resource_manager/public/resource_manager.h View 1 2 1 chunk +19 lines, -0 lines 0 comments Download
M athena/resource_manager/resource_manager_impl.cc View 1 2 11 chunks +160 lines, -13 lines 0 comments Download
M athena/resource_manager/resource_manager_unittest.cc View 1 2 6 chunks +67 lines, -10 lines 0 comments Download
M athena/wm/public/window_manager.h View 1 1 chunk +2 lines, -0 lines 0 comments Download
M athena/wm/public/window_manager_observer.h View 1 2 1 chunk +5 lines, -2 lines 0 comments Download
M athena/wm/window_manager_impl.h View 1 2 chunks +1 line, -1 line 0 comments Download
M athena/wm/window_manager_impl.cc View 1 2 4 chunks +12 lines, -10 lines 0 comments Download

Messages

Total messages: 12 (2 generated)
Mr4D (OOO till 08-26)
Please have a look!
6 years, 3 months ago (2014-09-03 19:45:49 UTC) #2
oshima
before going to details on other file, I have one key question on the change ...
6 years, 3 months ago (2014-09-03 23:15:00 UTC) #3
oshima
before going to details on other file, I have one key question on the change ...
6 years, 3 months ago (2014-09-03 23:15:01 UTC) #4
oshima
https://codereview.chromium.org/536013002/diff/20001/athena/activity/activity.cc File athena/activity/activity.cc (right): https://codereview.chromium.org/536013002/diff/20001/athena/activity/activity.cc#newcode14 athena/activity/activity.cc:14: delete activity; Maybe we should just have ActivityManager::DeleteActivity instead ...
6 years, 3 months ago (2014-09-04 16:39:23 UTC) #5
Mr4D (OOO till 08-26)
Addressed! Please have another look! https://codereview.chromium.org/536013002/diff/20001/athena/activity/activity.cc File athena/activity/activity.cc (right): https://codereview.chromium.org/536013002/diff/20001/athena/activity/activity.cc#newcode14 athena/activity/activity.cc:14: delete activity; During destruction ...
6 years, 3 months ago (2014-09-04 19:10:58 UTC) #6
oshima
lgtm with nits. https://codereview.chromium.org/536013002/diff/20001/athena/content/app_activity_registry.h File athena/content/app_activity_registry.h (right): https://codereview.chromium.org/536013002/diff/20001/athena/content/app_activity_registry.h#newcode77 athena/content/app_activity_registry.h:77: // Get the most recently used ...
6 years, 3 months ago (2014-09-04 22:11:01 UTC) #7
Mr4D (OOO till 08-26)
Many thanks for your review! https://codereview.chromium.org/536013002/diff/20001/athena/content/app_activity_registry.h File athena/content/app_activity_registry.h (right): https://codereview.chromium.org/536013002/diff/20001/athena/content/app_activity_registry.h#newcode77 athena/content/app_activity_registry.h:77: // Get the most ...
6 years, 3 months ago (2014-09-04 22:36:52 UTC) #8
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/skuhne@chromium.org/536013002/60001
6 years, 3 months ago (2014-09-04 22:38:38 UTC) #10
commit-bot: I haz the power
Committed patchset #4 (id:60001) as 02fe17192b69d313e1abfb38268df5aa42ef8cb1
6 years, 3 months ago (2014-09-05 03:06:48 UTC) #11
commit-bot: I haz the power
6 years, 3 months ago (2014-09-10 03:36:03 UTC) #12
Message was sent while issue was closed.
Patchset 4 (id:??) landed as
https://crrev.com/2d350ffed31ecb2fa67d131585e50e1df2ca2d09
Cr-Commit-Position: refs/heads/master@{#293414}

Powered by Google App Engine
This is Rietveld 408576698