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

Unified Diff: athena/content/app_activity.h

Issue 505273002: Move app_shell specific impl from athena_lib to athena_shell_lib (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 6 years, 4 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/DEPS ('k') | athena/content/app_activity.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: athena/content/app_activity.h
diff --git a/athena/content/app_activity.h b/athena/content/app_activity.h
index 105f7285bfc72542ff08a47749c38ef2194cad73..9984bafe890474805fea00e3c38b938d38035e10 100644
--- a/athena/content/app_activity.h
+++ b/athena/content/app_activity.h
@@ -10,8 +10,8 @@
#include "content/public/browser/web_contents_observer.h"
#include "ui/gfx/image/image_skia.h"
-namespace extensions {
-class ShellAppWindow;
+namespace contents {
+class WebContents;
}
namespace views {
@@ -27,7 +27,7 @@ class AppActivity : public Activity,
public ActivityViewModel,
public content::WebContentsObserver {
public:
- explicit AppActivity(extensions::ShellAppWindow* app_window);
+ AppActivity();
virtual ~AppActivity();
// Activity:
@@ -57,11 +57,13 @@ class AppActivity : public Activity,
const GURL& url,
content::NavigationController::ReloadType reload_type) OVERRIDE;
+ protected:
+ virtual content::WebContents* GetWebContents() = 0;
+
private:
// Register this activity with its application.
void RegisterActivity();
- scoped_ptr<extensions::ShellAppWindow> app_window_;
views::WebView* web_view_;
// The current state for this activity.
« no previous file with comments | « athena/content/DEPS ('k') | athena/content/app_activity.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698