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

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

Issue 550643002: [Athena] Hack to display favicons for web activities in overview mode (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: 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
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 12b8ceda8e17324cca7489e6742273d0988cec22..6b1af692ef969c91fb9383ad9d9d63b2c324d4a6 100644
--- a/athena/activity/public/activity_view_model.h
+++ b/athena/activity/public/activity_view_model.h
@@ -37,6 +37,9 @@ class ATHENA_EXPORT ActivityViewModel {
// Returns a title for the activity.
virtual base::string16 GetTitle() const = 0;
+ // Returns an icon for the activity.
+ virtual gfx::ImageSkia GetIcon() 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;

Powered by Google App Engine
This is Rietveld 408576698