Index: chrome/browser/ui/select_file_dialog.h |
diff --git a/chrome/browser/ui/select_file_dialog.h b/chrome/browser/ui/select_file_dialog.h |
index 870d4150ec43d201d9d8714376a3ab4b1fb2efc3..0c369fc680af707937d6390d5681425a7404da2f 100644 |
--- a/chrome/browser/ui/select_file_dialog.h |
+++ b/chrome/browser/ui/select_file_dialog.h |
@@ -12,6 +12,7 @@ |
#include "base/file_path.h" |
#include "base/memory/ref_counted.h" |
#include "base/string16.h" |
+#include "chrome/browser/ui/base_shell_dialog.h" |
#include "ui/gfx/native_widget_types.h" |
namespace content { |
@@ -25,21 +26,6 @@ extern std::wstring AppendExtensionIfNeeded(const std::wstring& filename, |
const std::wstring& filter_selected, |
const std::wstring& suggested_ext); |
-// A base class for shell dialogs. |
-class BaseShellDialog { |
- public: |
- // Returns true if a shell dialog box is currently being shown modally |
- // to the specified owner. |
- virtual bool IsRunning(gfx::NativeWindow owning_window) const = 0; |
- |
- // Notifies the dialog box that the listener has been destroyed and it should |
- // no longer be sent notifications. |
- virtual void ListenerDestroyed() = 0; |
- |
- protected: |
- virtual ~BaseShellDialog() {} |
-}; |
- |
// Shows a dialog box for selecting a file or a folder. |
class SelectFileDialog |
: public base::RefCountedThreadSafe<SelectFileDialog>, |