Chromium Code Reviews| Index: athena/content/content_activity_factory.cc |
| diff --git a/athena/content/content_activity_factory.cc b/athena/content/content_activity_factory.cc |
| index 01f8f5c6a62f835a2505db439a3be1c9775f25ab..b03dc50d12857951972fb86ba2815140bd7bd63a 100644 |
| --- a/athena/content/content_activity_factory.cc |
| +++ b/athena/content/content_activity_factory.cc |
| @@ -8,6 +8,7 @@ |
| #include "athena/content/app_activity.h" |
| #include "athena/content/web_activity.h" |
| #include "base/logging.h" |
| +#include "ui/aura/window.h" |
| namespace athena { |
| @@ -22,6 +23,7 @@ Activity* ContentActivityFactory::CreateWebActivity( |
| const GURL& url) { |
| Activity* activity = new WebActivity(browser_context, title, url); |
| ActivityManager::Get()->AddActivity(activity); |
| + activity->GetWindow()->SetName("WebActivity"); |
|
Mr4D (OOO till 08-26)
2014/10/08 17:15:36
You might consider putting this into a separate CL
oshima
2014/10/08 19:05:30
sure
|
| return activity; |
| } |
| @@ -30,6 +32,7 @@ Activity* ContentActivityFactory::CreateAppActivity( |
| views::WebView* web_view) { |
| Activity* activity = new AppActivity(app_id, web_view); |
| ActivityManager::Get()->AddActivity(activity); |
| + activity->GetWindow()->SetName("AppActivity"); |
| return activity; |
| } |