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_MAIN_ATHENA_APP_WINDOW_CONTROLLER_H_ | |
6 #define ATHENA_MAIN_ATHENA_APP_WINDOW_CONTROLLER_H_ | |
7 | |
8 #include "apps/shell/browser/shell_app_window_controller.h" | |
9 #include "base/macros.h" | |
10 | |
11 namespace athena { | |
12 | |
13 // The shell app window controller for athena. | |
James Cook
2014/06/16 16:12:31
nit: Could you describe briefly what this class is
Jun Mukai
2014/06/16 17:46:52
The web contents are embedded into an athena's act
| |
14 class AthenaAppWindowController : public apps::ShellAppWindowController { | |
15 public: | |
16 AthenaAppWindowController(); | |
17 virtual ~AthenaAppWindowController(); | |
18 | |
19 // Overridden from apps::ShellAppWindowController: | |
20 virtual apps::ShellAppWindow* CreateAppWindow( | |
21 content::BrowserContext* context) OVERRIDE; | |
22 virtual void CloseAppWindows() OVERRIDE; | |
23 | |
24 private: | |
25 DISALLOW_COPY_AND_ASSIGN(AthenaAppWindowController); | |
26 }; | |
27 | |
28 } // namespace athena | |
29 | |
30 #endif // ATHENA_MAIN_ATHENA_APP_WINDOW_CONTROLLER_H_ | |
OLD | NEW |