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 EXTENSIONS_SHELL_BROWSER_SHELL_APP_WINDOW_CONTROLLER_H_
6 #define EXTENSIONS_SHELL_BROWSER_SHELL_APP_WINDOW_CONTROLLER_H_
12 namespace extensions {
16 class ShellAppWindowController {
18 virtual ~ShellAppWindowController() {}
20 // Creates a new app window and adds it to the desktop. This class should
21 // maintain the ownership of the window.
22 virtual ShellAppWindow* CreateAppWindow(content::BrowserContext* context) = 0;
24 // Closes and destroys the app windows.
25 virtual void CloseAppWindows() = 0;
28 } // namespace extensions
30 #endif // EXTENSIONS_SHELL_BROWSER_SHELL_APP_WINDOW_CONTROLLER_H_