Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(643)

Unified Diff: chrome/browser/ui/select_file_dialog.h

Issue 9203001: Implement input type=color UI (Closed) Base URL: http://git.chromium.org/chromium/src.git@master
Patch Set: rebased Created 8 years, 9 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « chrome/browser/ui/gtk/color_chooser_gtk.cc ('k') | chrome/browser/ui/views/ash/color_chooser_aura.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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>,
« no previous file with comments | « chrome/browser/ui/gtk/color_chooser_gtk.cc ('k') | chrome/browser/ui/views/ash/color_chooser_aura.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698