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

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

Issue 518673007: Make activities have a thick border when in overview mode part 1 (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@athena_overview2
Patch Set: Rebased 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/activity_frame_view.cc ('k') | athena/content/app_activity.h » ('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 99241c8a6a338e049d59ecc7d1db1ca136458819..12b8ceda8e17324cca7489e6742273d0988cec22 100644
--- a/athena/activity/public/activity_view_model.h
+++ b/athena/activity/public/activity_view_model.h
@@ -57,6 +57,12 @@ class ATHENA_EXPORT ActivityViewModel {
// GetRepresentativeColor() should be used to clear the preview area.
// Note: We intentionally do not use a layer / view for this.
virtual gfx::ImageSkia GetOverviewModeImage() = 0;
+
+ // Prepares the contents view for overview.
+ virtual void PrepareContentsForOverview() = 0;
+
+ // Undoes any changes done by PrepareContentsForOverview().
+ virtual void ResetContentsView() = 0;
};
} // namespace athena
« no previous file with comments | « athena/activity/activity_frame_view.cc ('k') | athena/content/app_activity.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698