| 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 "base/macros.h" | |
| 9 #include "extensions/shell/browser/shell_app_window_controller.h" | |
| 10 | |
| 11 namespace athena { | |
| 12 | |
| 13 // The shell app window controller for athena. It embeds the web_contents of | |
| 14 // an app window into an Athena activity. | |
| 15 class AthenaAppWindowController : public extensions::ShellAppWindowController { | |
| 16 public: | |
| 17 AthenaAppWindowController(); | |
| 18 virtual ~AthenaAppWindowController(); | |
| 19 | |
| 20 // Overridden from extensions::ShellAppWindowController: | |
| 21 virtual extensions::ShellAppWindow* CreateAppWindow( | |
| 22 content::BrowserContext* context, | |
| 23 const extensions::Extension* extension) OVERRIDE; | |
| 24 virtual void CloseAppWindows() OVERRIDE; | |
| 25 | |
| 26 private: | |
| 27 DISALLOW_COPY_AND_ASSIGN(AthenaAppWindowController); | |
| 28 }; | |
| 29 | |
| 30 } // namespace athena | |
| 31 | |
| 32 #endif // ATHENA_MAIN_ATHENA_APP_WINDOW_CONTROLLER_H_ | |
| OLD | NEW |