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

Unified Diff: athena/activity/public/activity_factory.h

Issue 558243002: V2 app support step2 : Use NativeAppWindow for Activity's window. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: addressed comment 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/activity/activity_view_manager_impl.cc ('k') | athena/activity/public/activity_view_model.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: athena/activity/public/activity_factory.h
diff --git a/athena/activity/public/activity_factory.h b/athena/activity/public/activity_factory.h
index a8ca4af5cfff745366043d0a672704dbf54098a1..e69ee7a65683eac8d9e03ebbe5088bf19da62fff 100644
--- a/athena/activity/public/activity_factory.h
+++ b/athena/activity/public/activity_factory.h
@@ -17,6 +17,10 @@ class AppWindow;
class ShellAppWindow;
}
+namespace views {
+class WebView;
+}
+
namespace athena {
class Activity;
@@ -46,8 +50,10 @@ class ATHENA_EXPORT ActivityFactory {
virtual Activity* CreateAppActivity(extensions::ShellAppWindow* app_window,
const std::string& id) = 0;
- // Create an activity of an app with |app_window| for chrome environment.
- virtual Activity* CreateAppActivity(extensions::AppWindow* app_window) = 0;
+ // Create an activity of an app with |app_window| for chrome environment and
+ // |web_view| that will host the content.
+ virtual Activity* CreateAppActivity(extensions::AppWindow* app_window,
+ views::WebView* web_view) = 0;
};
} // namespace athena
« no previous file with comments | « athena/activity/activity_view_manager_impl.cc ('k') | athena/activity/public/activity_view_model.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698