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

Unified Diff: athena/test/sample_activity.cc

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/test/sample_activity.h ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: athena/test/sample_activity.cc
diff --git a/athena/test/sample_activity.cc b/athena/test/sample_activity.cc
index 9f2da73e674f342df03fb29b18d0d69d1f9c6ba5..d4f8ad95cbb0ef05668d836a0b77e76ebdd332f5 100644
--- a/athena/test/sample_activity.cc
+++ b/athena/test/sample_activity.cc
@@ -29,14 +29,18 @@ athena::ActivityViewModel* SampleActivity::GetActivityViewModel() {
void SampleActivity::Init() {
}
-SkColor SampleActivity::GetRepresentativeColor() {
+SkColor SampleActivity::GetRepresentativeColor() const {
return color_;
}
-base::string16 SampleActivity::GetTitle() {
+base::string16 SampleActivity::GetTitle() const {
return title_;
}
+bool SampleActivity::UsesFrame() const {
+ return true;
+}
+
views::View* SampleActivity::GetContentsView() {
if (!contents_view_) {
contents_view_ = new views::View;
« no previous file with comments | « athena/test/sample_activity.h ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698