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

Issue 302683002: athena: Add the concept of Activity and related managers. (Closed)

Created:
6 years, 7 months ago by sadrul
Modified:
6 years, 6 months ago
CC:
chromium-reviews
Visibility:
Public.

Description

athena: Add the concept of Activity and related managers. An Activity can be a WebActivity, a SampleActivity etc. Each Activity has an ActivityViewModel. The ActivityViewModel describes the UI for the Activity. The ActivityManager is there to manage the list of activities. It is the source of all the activities that various other activity-managers would use. The ActivityViewManager is notified of activity updates from the ActivityManager, and it creates the appropriate UI elements (views::Widget, etc.) to show the UI for the activity to the user. BUG=376357 R=oshima@chromium.org, skuhne@chromium.org TBR=ben@chromium.org Committed: https://src.chromium.org/viewvc/chrome?view=rev&revision=274015

Patch Set 1 #

Patch Set 2 : . #

Patch Set 3 : all #

Patch Set 4 : . #

Total comments: 4

Patch Set 5 : s/task/activity/ and other renames #

Patch Set 6 : . #

Total comments: 7

Patch Set 7 : . #

Total comments: 7

Patch Set 8 : . #

Unified diffs Side-by-side diffs Delta from patch set Stats (+621 lines, -3 lines) Patch
A + athena/activity/DEPS View 1 2 3 4 1 chunk +1 line, -2 lines 0 comments Download
A athena/activity/activity_manager_impl.cc View 1 2 3 4 5 6 7 1 chunk +86 lines, -0 lines 0 comments Download
A athena/activity/activity_view_manager_impl.cc View 1 2 3 4 5 6 7 1 chunk +166 lines, -0 lines 0 comments Download
A + athena/activity/public/DEPS View 1 2 3 4 1 chunk +1 line, -1 line 0 comments Download
A athena/activity/public/activity.h View 1 2 3 4 5 1 chunk +26 lines, -0 lines 0 comments Download
A athena/activity/public/activity_manager.h View 1 2 3 4 5 1 chunk +33 lines, -0 lines 0 comments Download
A athena/activity/public/activity_view_manager.h View 1 2 3 4 5 1 chunk +33 lines, -0 lines 0 comments Download
A athena/activity/public/activity_view_model.h View 1 2 3 4 5 1 chunk +36 lines, -0 lines 0 comments Download
M athena/athena.gyp View 1 2 3 4 5 1 chunk +6 lines, -0 lines 0 comments Download
M athena/main/DEPS View 1 2 3 4 2 chunks +5 lines, -0 lines 0 comments Download
M athena/main/athena_launcher.cc View 1 2 3 4 2 chunks +3 lines, -0 lines 0 comments Download
M athena/main/athena_main.cc View 1 2 3 4 2 chunks +2 lines, -0 lines 0 comments Download
M athena/main/athena_main.gyp View 1 2 3 4 2 chunks +6 lines, -0 lines 0 comments Download
M athena/main/athena_shell.cc View 1 2 3 4 3 chunks +19 lines, -0 lines 0 comments Download
A athena/main/placeholder_content.h View 1 2 3 4 1 chunk +15 lines, -0 lines 0 comments Download
A athena/main/placeholder_content.cc View 1 2 3 4 1 chunk +25 lines, -0 lines 0 comments Download
A athena/main/sample_activity.h View 1 2 3 4 5 1 chunk +35 lines, -0 lines 0 comments Download
A athena/main/sample_activity.cc View 1 2 3 4 1 chunk +37 lines, -0 lines 0 comments Download
A athena/main/web_activity.h View 1 2 3 4 5 1 chunk +42 lines, -0 lines 0 comments Download
A athena/main/web_activity.cc View 1 2 3 4 1 chunk +44 lines, -0 lines 0 comments Download

Messages

Total messages: 15 (0 generated)
sadrul
6 years, 7 months ago (2014-05-26 23:00:31 UTC) #1
chromium-reviews
As this affects navigation and resource management I'd like to have skuhne@'s input on this. ...
6 years, 7 months ago (2014-05-27 17:10:18 UTC) #2
sadrul
+skuhne@
6 years, 7 months ago (2014-05-27 19:04:17 UTC) #3
Mr4D (OOO till 08-26)
A few comments about the naming for clarification. https://codereview.chromium.org/302683002/diff/110001/athena/task/public/task.h File athena/task/public/task.h (right): https://codereview.chromium.org/302683002/diff/110001/athena/task/public/task.h#newcode19 athena/task/public/task.h:19: Could ...
6 years, 7 months ago (2014-05-27 20:12:41 UTC) #4
sadrul
https://codereview.chromium.org/302683002/diff/110001/athena/task/public/task.h File athena/task/public/task.h (right): https://codereview.chromium.org/302683002/diff/110001/athena/task/public/task.h#newcode31 athena/task/public/task.h:31: virtual aura::Window* GetNativeWindow() = 0; On 2014/05/27 20:12:42, Mr4D ...
6 years, 7 months ago (2014-05-27 20:30:45 UTC) #5
chromium-reviews
It sounds like there's a lot to discuss here. Does it make sense to have ...
6 years, 7 months ago (2014-05-27 22:01:11 UTC) #6
oshima
On 2014/05/27 22:01:11, chromium-reviews_chromium.org wrote: > It sounds like there's a lot to discuss here. ...
6 years, 7 months ago (2014-05-27 22:13:45 UTC) #7
chromium-reviews
Perfect! Thanks. On Tue May 27 2014 at 3:13:47 PM, <oshima@chromium.org> wrote: > On 2014/05/27 ...
6 years, 7 months ago (2014-05-27 22:17:37 UTC) #8
sadrul
Hi! I have updated the patch and the CL description based on the feedback on ...
6 years, 6 months ago (2014-05-30 18:20:32 UTC) #9
oshima
https://codereview.chromium.org/302683002/diff/150001/athena/activity/activity_manager_impl.cc File athena/activity/activity_manager_impl.cc (right): https://codereview.chromium.org/302683002/diff/150001/athena/activity/activity_manager_impl.cc#newcode55 athena/activity/activity_manager_impl.cc:55: static ActivityManagerImpl* g_instance; remove static and g_. (I'd like ...
6 years, 6 months ago (2014-05-30 20:55:59 UTC) #10
sadrul
https://codereview.chromium.org/302683002/diff/150001/athena/activity/activity_manager_impl.cc File athena/activity/activity_manager_impl.cc (right): https://codereview.chromium.org/302683002/diff/150001/athena/activity/activity_manager_impl.cc#newcode55 athena/activity/activity_manager_impl.cc:55: static ActivityManagerImpl* g_instance; On 2014/05/30 20:55:59, oshima wrote: > ...
6 years, 6 months ago (2014-05-30 23:45:36 UTC) #11
oshima
lgtm with nits https://codereview.chromium.org/302683002/diff/150001/athena/activity/activity_view_manager_impl.cc File athena/activity/activity_view_manager_impl.cc (right): https://codereview.chromium.org/302683002/diff/150001/athena/activity/activity_view_manager_impl.cc#newcode34 athena/activity/activity_view_manager_impl.cc:34: On 2014/05/30 23:45:36, sadrul wrote: > ...
6 years, 6 months ago (2014-05-31 00:58:00 UTC) #12
Mr4D (OOO till 08-26)
Looked over it, lgtm. Thanks for changing the names!
6 years, 6 months ago (2014-05-31 01:21:21 UTC) #13
sadrul
https://codereview.chromium.org/302683002/diff/160022/athena/activity/activity_manager_impl.cc File athena/activity/activity_manager_impl.cc (right): https://codereview.chromium.org/302683002/diff/160022/athena/activity/activity_manager_impl.cc#newcode17 athena/activity/activity_manager_impl.cc:17: static ActivityManager* instance; On 2014/05/31 00:58:01, oshima wrote: > ...
6 years, 6 months ago (2014-05-31 04:23:45 UTC) #14
sadrul
6 years, 6 months ago (2014-05-31 04:28:57 UTC) #15
Message was sent while issue was closed.
Committed patchset #8 manually as r274015 (presubmit successful).

Powered by Google App Engine
This is Rietveld 408576698