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.
5 #ifndef ATHENA_MAIN_ATHENA_APP_WINDOW_CONTROLLER_H_
6 #define ATHENA_MAIN_ATHENA_APP_WINDOW_CONTROLLER_H_
8 #include "base/macros.h"
9 #include "extensions/shell/browser/shell_app_window_controller.h"
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
{
17 AthenaAppWindowController();
18 virtual ~AthenaAppWindowController();
20 // Overridden from extensions::ShellAppWindowController:
21 virtual extensions::ShellAppWindow
* CreateAppWindow(
22 content::BrowserContext
* context
) OVERRIDE
;
23 virtual void CloseAppWindows() OVERRIDE
;
26 DISALLOW_COPY_AND_ASSIGN(AthenaAppWindowController
);
31 #endif // ATHENA_MAIN_ATHENA_APP_WINDOW_CONTROLLER_H_