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

Side by Side Diff: athena/test/sample_activity.cc

Issue 548633005: Adding overview / layer framework to Activities so that unloaded / sleeping activities can be shown… (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Addressed 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 unified diff | Download patch
« no previous file with comments | « athena/test/sample_activity.h ('k') | no next file » | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 // Copyright 2014 The Chromium Authors. All rights reserved. 1 // Copyright 2014 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be 2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file. 3 // found in the LICENSE file.
4 4
5 #include "athena/test/sample_activity.h" 5 #include "athena/test/sample_activity.h"
6 6
7 #include "ui/views/background.h" 7 #include "ui/views/background.h"
8 #include "ui/views/view.h" 8 #include "ui/views/view.h"
9 #include "ui/views/widget/widget.h" 9 #include "ui/views/widget/widget.h"
10 10
(...skipping 63 matching lines...) Expand 10 before | Expand all | Expand 10 after
74 contents_view_->set_background( 74 contents_view_->set_background(
75 views::Background::CreateSolidBackground(contents_color_)); 75 views::Background::CreateSolidBackground(contents_color_));
76 } 76 }
77 return contents_view_; 77 return contents_view_;
78 } 78 }
79 79
80 views::Widget* SampleActivity::CreateWidget() { 80 views::Widget* SampleActivity::CreateWidget() {
81 return NULL; 81 return NULL;
82 } 82 }
83 83
84 void SampleActivity::CreateOverviewModeImage() {
85 }
86
87 gfx::ImageSkia SampleActivity::GetOverviewModeImage() { 84 gfx::ImageSkia SampleActivity::GetOverviewModeImage() {
88 return gfx::ImageSkia(); 85 return gfx::ImageSkia();
89 } 86 }
90 87
91 void SampleActivity::PrepareContentsForOverview() { 88 void SampleActivity::PrepareContentsForOverview() {
92 } 89 }
93 90
94 void SampleActivity::ResetContentsView() { 91 void SampleActivity::ResetContentsView() {
95 } 92 }
96 93
97 } // namespace test 94 } // namespace test
98 } // namespace athena 95 } // namespace athena
OLDNEW
« 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