| Index: extensions/shell/browser/shell_app_window_controller.h
|
| diff --git a/extensions/shell/browser/shell_app_window_controller.h b/extensions/shell/browser/shell_app_window_controller.h
|
| index f8a7fa0bdb79ded9b5152ed430870140162a48e7..65d9d8e990e65291c022350189918479d05c5517 100644
|
| --- a/extensions/shell/browser/shell_app_window_controller.h
|
| +++ b/extensions/shell/browser/shell_app_window_controller.h
|
| @@ -11,6 +11,7 @@ class BrowserContext;
|
|
|
| namespace extensions {
|
|
|
| +class Extension;
|
| class ShellAppWindow;
|
|
|
| class ShellAppWindowController {
|
| @@ -19,9 +20,11 @@ class ShellAppWindowController {
|
|
|
| // Creates a new app window and adds it to the desktop. This class should
|
| // maintain the ownership of the window.
|
| - virtual ShellAppWindow* CreateAppWindow(content::BrowserContext* context) = 0;
|
| + virtual ShellAppWindow* CreateAppWindow(content::BrowserContext* context,
|
| + const Extension* extension) = 0;
|
|
|
| - // Closes and destroys the app windows.
|
| + // Closes and destroys the app windows. Must be called before the extension
|
| + // is destroyed.
|
| virtual void CloseAppWindows() = 0;
|
| };
|
|
|
|
|