Chromium Code Reviews| Index: chrome/browser/ui/views/select_file_dialog_extension.h |
| diff --git a/chrome/browser/ui/views/select_file_dialog_extension.h b/chrome/browser/ui/views/select_file_dialog_extension.h |
| index 59f0ba294d79d881c151db088464721f193458a7..644e468f18144bd51640a926a6752be0b668109a 100644 |
| --- a/chrome/browser/ui/views/select_file_dialog_extension.h |
| +++ b/chrome/browser/ui/views/select_file_dialog_extension.h |
| @@ -14,6 +14,7 @@ |
| #include "chrome/browser/ui/views/extensions/extension_dialog_observer.h" |
| #include "ui/gfx/native_widget_types.h" // gfx::NativeWindow |
| +class Browser; |
| class ExtensionDialog; |
| class RenderViewHost; |
| @@ -32,6 +33,7 @@ class SelectFileDialogExtension |
| // ExtensionDialog::Observer implementation. |
| virtual void ExtensionDialogClosing(ExtensionDialog* dialog) OVERRIDE; |
| + virtual void ExtensionDialogTerminated(ExtensionDialog* dialog) OVERRIDE; |
| // Routes callback to appropriate SelectFileDialog::Listener based on |
| // the owning |tab_id|. |
| @@ -83,6 +85,8 @@ class SelectFileDialogExtension |
| // ID of the tab that spawned this dialog, used to route callbacks. |
| int32 tab_id_; |
| + Browser* owner_browser_; |
|
Peter Kasting
2012/02/10 21:09:27
Nit: Add comments about this. In particular expla
rkc
2012/02/10 21:33:11
Done.
|
| + |
| gfx::NativeWindow owner_window_; |
| // We defer the callback into SelectFileDialog::Listener until the window |