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

Unified Diff: athena/activity/public/activity_view_model.h

Issue 536013002: Decoupling visibility states from webcontent, adding visibility management in ResourceManager (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Addressed Created 6 years, 3 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « athena/activity/public/activity.h ('k') | athena/content/DEPS » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: athena/activity/public/activity_view_model.h
diff --git a/athena/activity/public/activity_view_model.h b/athena/activity/public/activity_view_model.h
index 9d38ecad048dfcd54fa48ccc706b7613c8e742a1..99241c8a6a338e049d59ecc7d1db1ca136458819 100644
--- a/athena/activity/public/activity_view_model.h
+++ b/athena/activity/public/activity_view_model.h
@@ -25,7 +25,10 @@ class ATHENA_EXPORT ActivityViewModel {
public:
virtual ~ActivityViewModel() {}
- // Called after the view model is attached to the widget/window tree.
+ // Called after the view model is attached to the widget/window tree and
+ // before it gets registered to the ActivityManager and the ResourceManager.
+ // At this time the Activity can also be moved to a different place in the
+ // Activity history.
virtual void Init() = 0;
// Returns a color most representative of this activity.
« no previous file with comments | « athena/activity/public/activity.h ('k') | athena/content/DEPS » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698