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

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

Issue 375143002: Use Widget frame and WidgetDelegate in ActvityWidget (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 6 years, 5 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/activity_widget_delegate.cc ('k') | athena/athena.gyp » ('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 e0049bc57821ee3c8c91fd6fd8eeae9a13dfffce..eee6bc9cc59556831b407e18295d00c627d911c0 100644
--- a/athena/activity/public/activity_view_model.h
+++ b/athena/activity/public/activity_view_model.h
@@ -24,10 +24,14 @@ class ATHENA_EXPORT ActivityViewModel {
virtual void Init() = 0;
// Returns a color most representative of this activity.
- virtual SkColor GetRepresentativeColor() = 0;
+ virtual SkColor GetRepresentativeColor() const = 0;
// Returns a title for the activity.
- virtual base::string16 GetTitle() = 0;
+ virtual base::string16 GetTitle() const = 0;
+
+ // True if the activity wants to use Widget's frame, or false if the activity
+ // draws its own frame.
+ virtual bool UsesFrame() const = 0;
// Returns the contents view.
virtual views::View* GetContentsView() = 0;
« no previous file with comments | « athena/activity/activity_widget_delegate.cc ('k') | athena/athena.gyp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698