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

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

Issue 332443005: Enable accelerators on web activity window (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 6 years, 6 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
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 9050a9b77809b13aba4625f21c4cb9700d98c5af..5e6614c8cbabb61bd742c219306459f35b95a97e 100644
--- a/athena/activity/public/activity_view_model.h
+++ b/athena/activity/public/activity_view_model.h
@@ -20,6 +20,9 @@ class ATHENA_EXPORT ActivityViewModel {
public:
virtual ~ActivityViewModel() {}
+ // Called after the view model is attaced to the widget/window tree.
+ virtual void Init() = 0;
+
// Returns a color most representative of this activity.
virtual SkColor GetRepresentativeColor() = 0;

Powered by Google App Engine
This is Rietveld 408576698