| Index: athena/test/sample_activity.cc
|
| diff --git a/athena/test/sample_activity.cc b/athena/test/sample_activity.cc
|
| index 6c4c06486c909c1e9be71a5f80edd106c4a38b51..f3780678e80a61410f88255a1463aeb1903eb8be 100644
|
| --- a/athena/test/sample_activity.cc
|
| +++ b/athena/test/sample_activity.cc
|
| @@ -6,6 +6,7 @@
|
|
|
| #include "ui/views/background.h"
|
| #include "ui/views/view.h"
|
| +#include "ui/views/widget/widget.h"
|
|
|
| namespace athena {
|
| namespace test {
|
| @@ -43,6 +44,12 @@ Activity::ActivityMediaState SampleActivity::GetMediaState() {
|
| return Activity::ACTIVITY_MEDIA_STATE_NONE;
|
| }
|
|
|
| +aura::Window* SampleActivity::GetWindow() {
|
| + if (!contents_view_)
|
| + return NULL;
|
| + return contents_view_->GetWidget()->GetNativeWindow();
|
| +}
|
| +
|
| void SampleActivity::Init() {
|
| }
|
|
|
|
|