Index: chrome/browser/ui/extensions/shell_window.h |
diff --git a/chrome/browser/ui/extensions/shell_window.h b/chrome/browser/ui/extensions/shell_window.h |
index a996ed3b2c46c2d5b182a17aed3b0b8bc35e24a5..ee6e23432f076cc2845e3baf736ab5ad7d69c15b 100644 |
--- a/chrome/browser/ui/extensions/shell_window.h |
+++ b/chrome/browser/ui/extensions/shell_window.h |
@@ -133,6 +133,11 @@ class ShellWindow : public content::NotificationObserver, |
// per platform). Public users of ShellWindow should use ShellWindow::Create. |
void Init(const GURL& url, const CreateParams& params); |
+ // Remove the window from the ShellWindowRegistry and tell the native |
+ // window to close. The native window won't be actually closed until |
+ // OnNativeClose(). |
+ void Close(); |
+ |
// content::WebContentsObserver implementation. |
virtual bool OnMessageReceived(const IPC::Message& message) OVERRIDE; |