Chromium Code Reviews| Index: athena/content/web_activity.cc |
| diff --git a/athena/content/web_activity.cc b/athena/content/web_activity.cc |
| index 35e0d71553d05cbb6ee994293641eea281eddbaf..148574cce7a1aa7da809d7b7321fbfafe0907db6 100644 |
| --- a/athena/content/web_activity.cc |
| +++ b/athena/content/web_activity.cc |
| @@ -347,6 +347,12 @@ Activity::ActivityMediaState WebActivity::GetMediaState() { |
| return Activity::ACTIVITY_MEDIA_STATE_NONE; |
| } |
| +aura::Window* WebActivity::GetWindow() { |
| + if (!web_view_) |
| + return NULL; |
|
oshima
2014/08/19 21:22:25
? :
Mr4D (OOO till 08-26)
2014/08/20 14:34:40
Done.
|
| + return web_view_->GetWidget()->GetNativeWindow(); |
| +} |
| + |
| void WebActivity::Init() { |
| DCHECK(web_view_); |
| web_view_->InstallAccelerators(); |