#ifndef ATHENA_ACTIVITY_PUBLIC_ACTIVITY_FACTORY_H_
#define ATHENA_ACTIVITY_PUBLIC_ACTIVITY_FACTORY_H_
+#include <string>
+
#include "athena/athena_export.h"
#include "url/gurl.h"
namespace content {
class BrowserContext;
-}
-
-namespace extensions {
-class AppWindow;
+class WebContents;
}
namespace views {
const base::string16& title,
const GURL& url) = 0;
- // Create an activity of an app with |app_window| for chrome environment and
+ // Create an activity with |contents|. The title is obtained from the web
+ // contents.
+ virtual Activity* CreateWebActivity(content::WebContents* contents) = 0;
+
+ // Create an activity of an app with |app_id| and
// |web_view| that will host the content.
- virtual Activity* CreateAppActivity(extensions::AppWindow* app_window,
+ virtual Activity* CreateAppActivity(const std::string& app_id,
views::WebView* web_view) = 0;
};