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