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

Issue 694413005: athena: Introduce ActivityView. (Closed)

Created:
6 years, 1 month ago by sadrul
Modified:
6 years, 1 month 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

athena: Introduce ActivityView. ActivityViewModel has the necessary information that should be displayed to the user. So provide mechanism for it to be able to update the view when the relevant information (e.g. title, icon, color) changes. BUG=none R=oshima@chromium.org Committed: https://chromium.googlesource.com/chromium/src/+/25e9f78ed30c770d8aa2723f312732a652341028

Patch Set 1 #

Total comments: 12

Patch Set 2 : . #

Total comments: 4

Patch Set 3 : . #

Unified diffs Side-by-side diffs Delta from patch set Stats (+106 lines, -25 lines) Patch
M athena/activity/activity_frame_view.h View 1 2 3 chunks +8 lines, -1 line 0 comments Download
M athena/activity/activity_frame_view.cc View 1 2 2 chunks +18 lines, -0 lines 0 comments Download
M athena/activity/activity_manager_impl.h View 1 chunk +0 lines, -1 line 0 comments Download
M athena/activity/activity_manager_impl.cc View 1 chunk +0 lines, -6 lines 0 comments Download
M athena/activity/activity_widget_delegate.h View 1 chunk +0 lines, -1 line 0 comments Download
M athena/activity/activity_widget_delegate.cc View 1 chunk +0 lines, -5 lines 0 comments Download
M athena/activity/public/activity_manager.h View 1 chunk +0 lines, -3 lines 0 comments Download
A athena/activity/public/activity_view.h View 1 chunk +23 lines, -0 lines 0 comments Download
M athena/activity/public/activity_view_model.h View 2 chunks +6 lines, -0 lines 0 comments Download
M athena/athena.gyp View 1 chunk +1 line, -0 lines 0 comments Download
M athena/content/app_activity.h View 1 2 chunks +6 lines, -0 lines 0 comments Download
M athena/content/app_activity.cc View 1 5 chunks +14 lines, -4 lines 0 comments Download
M athena/content/app_activity_proxy.h View 1 chunk +1 line, -0 lines 0 comments Download
M athena/content/app_activity_proxy.cc View 1 chunk +3 lines, -0 lines 0 comments Download
M athena/content/web_activity.h View 1 2 chunks +6 lines, -0 lines 0 comments Download
M athena/content/web_activity.cc View 1 7 chunks +16 lines, -4 lines 0 comments Download
M athena/test/base/sample_activity.h View 1 chunk +1 line, -0 lines 0 comments Download
M athena/test/base/sample_activity.cc View 1 chunk +3 lines, -0 lines 0 comments Download

Messages

Total messages: 8 (1 generated)
sadrul
Using observers felt too heavy handed for this. So I went with a simpler ActivityView ...
6 years, 1 month ago (2014-11-04 20:05:16 UTC) #2
oshima
https://codereview.chromium.org/694413005/diff/1/athena/activity/activity_frame_view.cc File athena/activity/activity_frame_view.cc (right): https://codereview.chromium.org/694413005/diff/1/athena/activity/activity_frame_view.cc#newcode71 athena/activity/activity_frame_view.cc:71: // the activity-view by calling SetActivityView(nullptr); On 2014/11/04 20:05:16, ...
6 years, 1 month ago (2014-11-04 22:17:04 UTC) #3
sadrul
https://codereview.chromium.org/694413005/diff/1/athena/content/app_activity.cc File athena/content/app_activity.cc (right): https://codereview.chromium.org/694413005/diff/1/athena/content/app_activity.cc#newcode171 athena/content/app_activity.cc:171: void AppActivity::SetActivityView(ActivityView* view) { On 2014/11/04 22:17:04, oshima wrote: ...
6 years, 1 month ago (2014-11-04 23:26:09 UTC) #4
oshima
lgtm https://codereview.chromium.org/694413005/diff/20001/athena/activity/activity_frame_view.cc File athena/activity/activity_frame_view.cc (right): https://codereview.chromium.org/694413005/diff/20001/athena/activity/activity_frame_view.cc#newcode71 athena/activity/activity_frame_view.cc:71: // the activity-view by calling SetActivityView(nullptr); Can you ...
6 years, 1 month ago (2014-11-04 23:42:41 UTC) #5
sadrul
https://codereview.chromium.org/694413005/diff/20001/athena/activity/activity_frame_view.cc File athena/activity/activity_frame_view.cc (right): https://codereview.chromium.org/694413005/diff/20001/athena/activity/activity_frame_view.cc#newcode71 athena/activity/activity_frame_view.cc:71: // the activity-view by calling SetActivityView(nullptr); On 2014/11/04 23:42:41, ...
6 years, 1 month ago (2014-11-05 03:36:43 UTC) #6
commit-bot: I haz the power
Patchset 3 (id:??) landed as https://crrev.com/25e9f78ed30c770d8aa2723f312732a652341028 Cr-Commit-Position: refs/heads/master@{#302753}
6 years, 1 month ago (2014-11-05 04:10:33 UTC) #7
sadrul
6 years, 1 month ago (2014-11-05 04:10:41 UTC) #8
Message was sent while issue was closed.
Committed patchset #3 (id:40001) manually as
25e9f78ed30c770d8aa2723f312732a652341028 (presubmit successful).

Powered by Google App Engine
This is Rietveld 408576698