blob: ad3467bf602a972f8af828f0c28a4c59466032fa (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
|
// Copyright 2014 The Chromium Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
#ifndef ATHENA_CONTENT_SHELL_SHELL_APP_ACTIVITY_H_
#define ATHENA_CONTENT_SHELL_SHELL_APP_ACTIVITY_H_
#include "athena/content/app_activity.h"
#include "base/memory/scoped_ptr.h"
namespace extensions {
class AppWindow;
class ShellAppWindow;
}
namespace athena {
class ShellAppActivity : public AppActivity {
public:
explicit ShellAppActivity(extensions::AppWindow* app_window);
// TODO(hashimoto) Remove this.
ShellAppActivity(extensions::ShellAppWindow* app_window,
const std::string& app_id);
virtual ~ShellAppActivity();
private:
// ActivityViewModel:
virtual views::Widget* CreateWidget() OVERRIDE;
// AppActivity:
virtual views::WebView* GetWebView() OVERRIDE;
extensions::AppWindow* app_window_;
scoped_ptr<extensions::ShellAppWindow> shell_app_window_;
DISALLOW_COPY_AND_ASSIGN(ShellAppActivity);
};
} // namespace athena
#endif // ATHENA_CONTENT_SHELL_SHELL_APP_ACTIVITY_H_
|