diff options
author | skuhne@chromium.org <skuhne@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2014-08-21 22:57:10 +0000 |
---|---|---|
committer | skuhne@chromium.org <skuhne@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2014-08-21 22:58:56 +0000 |
commit | 23e145ef38c3dc1ebadc7674ae3e295bec8fb302 (patch) | |
tree | 2371de1911f242912d3169380c9ae74e77d8c049 /athena/test/DEPS | |
parent | 65582b360cf09240904808836072cb218315b6d3 (diff) | |
download | chromium_src-23e145ef38c3dc1ebadc7674ae3e295bec8fb302.zip chromium_src-23e145ef38c3dc1ebadc7674ae3e295bec8fb302.tar.gz chromium_src-23e145ef38c3dc1ebadc7674ae3e295bec8fb302.tar.bz2 |
Athena: Adding basic resource management framework (un-/re-loading) of V2 applications
Functionality:
The |AppRegistry| has for each running application an |AppActivityRegistry|.
The |AppActivityRegistry| knows all activities associated with the application it represents.
It can furthermore shut the app entirely down upon resource manager request. It will then create
an |AppActivityProxy| for the overview mode which shows a placeholder for an unloaded app. This
placeholder can then ask the |AppActivityRegistry| to restart the application again.
A shutdown request for the application is only performed when all activities were marked for
UNLOAD.
If there were multiple activities upon shutdown for one app, the app has to take care of
re-creating all windows and thus re-creating all activities. Since an activity match cannot
be performed, the |AppActivityProxy| will only be shown once and it will show in the location
of the most recently used activity of that app. If we later on find an app which really uses
multiple windows and it is imperative to keep the history for all of them tact & the app is
recreating them properly, (a lot of if's) we can revisit the single |AppActivityProxy| and
try to address it in a cleaner way, but at this time that seems rather un-useful since it is
not known if required.
BUG=388085
TEST=AppActivityTest.*
Review URL: https://codereview.chromium.org/477523002
Cr-Commit-Position: refs/heads/master@{#291221}
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@291221 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'athena/test/DEPS')
-rw-r--r-- | athena/test/DEPS | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/athena/test/DEPS b/athena/test/DEPS index ded0bbd..e938483 100644 --- a/athena/test/DEPS +++ b/athena/test/DEPS @@ -1,5 +1,6 @@ include_rules = [ "+athena/activity", + "+athena/content/public", "+athena/home/public", "+athena/main", "+athena/screen/public", |