diff options
Diffstat (limited to 'chrome/browser/extensions/shell_window_registry.h')
-rw-r--r-- | chrome/browser/extensions/shell_window_registry.h | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/chrome/browser/extensions/shell_window_registry.h b/chrome/browser/extensions/shell_window_registry.h index da1072c..fb5f48e 100644 --- a/chrome/browser/extensions/shell_window_registry.h +++ b/chrome/browser/extensions/shell_window_registry.h @@ -74,6 +74,9 @@ class ShellWindowRegistry : public BrowserContextKeyedService { ShellWindowList GetShellWindowsForApp(const std::string& app_id) const; const ShellWindowList& shell_windows() const { return shell_windows_; } + // Close all shell windows associated with an app. + void CloseAllShellWindowsForApp(const std::string& app_id); + // Helper functions to find shell windows with particular attributes. apps::ShellWindow* GetShellWindowForRenderViewHost( content::RenderViewHost* render_view_host) const; |