| Index: extensions/shell/browser/shell_desktop_controller.h
|
| diff --git a/extensions/shell/browser/shell_desktop_controller.h b/extensions/shell/browser/shell_desktop_controller.h
|
| index 5d7dc764de210638bfc83fbe9e4993dcef33a7df..90ba2eb2efd15122855b5449e8b711d365175ae2 100644
|
| --- a/extensions/shell/browser/shell_desktop_controller.h
|
| +++ b/extensions/shell/browser/shell_desktop_controller.h
|
| @@ -50,6 +50,7 @@ class UserActivityDetector;
|
|
|
| namespace extensions {
|
|
|
| +class Extension;
|
| class ShellAppWindow;
|
| class ShellAppWindowController;
|
|
|
| @@ -80,8 +81,10 @@ class ShellDesktopController : public aura::client::WindowTreeClient,
|
| void SetAppWindowController(ShellAppWindowController* app_window_controller);
|
|
|
| // Creates a new app window and adds it to the desktop. The desktop maintains
|
| - // ownership of the window.
|
| - ShellAppWindow* CreateAppWindow(content::BrowserContext* context);
|
| + // ownership of the window. The window must be closed before |extension| is
|
| + // destroyed.
|
| + ShellAppWindow* CreateAppWindow(content::BrowserContext* context,
|
| + const Extension* extension);
|
|
|
| // Closes and destroys the app windows.
|
| void CloseAppWindows();
|
|
|