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

Unified Diff: athena/content/content_activity_factory.cc

Issue 587953002: [Athena: Cleanup] consolidate ChromeAppActivity and ShellAppActivity (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: 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 side-by-side diff with in-line comments
Download patch
« no previous file with comments | « athena/content/chrome/content_activity_factory.cc ('k') | athena/content/shell/DEPS » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: athena/content/content_activity_factory.cc
diff --git a/athena/content/content_activity_factory.cc b/athena/content/content_activity_factory.cc
index aaa4e2090151a6db9279e994d43c9407d15244fd..ef00f1c9996ed347442719d1a480a089e86c0b80 100644
--- a/athena/content/content_activity_factory.cc
+++ b/athena/content/content_activity_factory.cc
@@ -4,6 +4,7 @@
#include "athena/content/content_activity_factory.h"
+#include "athena/content/app_activity.h"
#include "athena/content/web_activity.h"
#include "base/logging.h"
@@ -21,6 +22,12 @@ Activity* ContentActivityFactory::CreateWebActivity(
return new WebActivity(browser_context, title, url);
}
+Activity* ContentActivityFactory::CreateAppActivity(
+ extensions::AppWindow* app_window,
+ views::WebView* web_view) {
+ return new AppActivity(app_window, web_view);
+}
+
ActivityFactory* CreateContentActivityFactory() {
return new ContentActivityFactory();
}
« no previous file with comments | « athena/content/chrome/content_activity_factory.cc ('k') | athena/content/shell/DEPS » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698