Index: chrome/browser/ui/browser_dialogs.h |
diff --git a/chrome/browser/ui/browser_dialogs.h b/chrome/browser/ui/browser_dialogs.h |
index 9ece1b6d7476bb1f2223222550e83b4e4f1fa9ca..a6aa62be6204da9d4cce4dc47d0eda5f4436bb99 100644 |
--- a/chrome/browser/ui/browser_dialogs.h |
+++ b/chrome/browser/ui/browser_dialogs.h |
@@ -93,12 +93,14 @@ gfx::NativeWindow ShowWebDialog(gfx::NativeView parent, |
#if defined(USE_ASH) |
// Creates and shows an HTML dialog with the given delegate and browser context. |
-// The dialog is placed in the ash window hierarchy in the given container. |
+// The dialog is placed in the ash window hierarchy in the given container. The |
+// window is automatically destroyed when it is closed. |
+// Returns the created window. |
// See ash/public/cpp/shell_window_ids.h for |container_id| values. The window |
// is destroyed when it is closed. See also chrome::ShowWebDialog(). |
-void ShowWebDialogInContainer(int container_id, |
- content::BrowserContext* context, |
- ui::WebDialogDelegate* delegate); |
+gfx::NativeWindow ShowWebDialogInContainer(int container_id, |
+ content::BrowserContext* context, |
+ ui::WebDialogDelegate* delegate); |
#endif // defined(USE_ASH) |
// Shows the create chrome app shortcut dialog box. |