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

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

Issue 10669023: Start consolidating non-port specific code to ui/base/dialogs. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: clenaup Created 8 years, 6 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/select_file_dialog_impl_gtk.cc ('k') | chrome/browser/ui/select_file_dialog.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 081c787563fb7602f7b57828b86c3ef47fd19b25..67a848fa7fe54e591b062c773f05b2ea70eedd73 100644
--- a/chrome/browser/ui/select_file_dialog.h
+++ b/chrome/browser/ui/select_file_dialog.h
@@ -12,11 +12,14 @@
#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/base/dialogs/base_shell_dialog.h"
#include "ui/gfx/native_widget_types.h"
namespace content {
class WebContents;
+}
+
+namespace ui {
struct SelectedFileInfo;
}
@@ -29,7 +32,7 @@ extern std::wstring AppendExtensionIfNeeded(const std::wstring& filename,
// Shows a dialog box for selecting a file or a folder.
class SelectFileDialog
: public base::RefCountedThreadSafe<SelectFileDialog>,
- public BaseShellDialog {
+ public ui::BaseShellDialog {
public:
enum Type {
SELECT_NONE,
@@ -56,7 +59,7 @@ class SelectFileDialog
//
// If not overridden, calls FileSelected() with path from |file|.
virtual void FileSelectedWithExtraInfo(
- const content::SelectedFileInfo& file,
+ const ui::SelectedFileInfo& file,
int index,
void* params);
@@ -70,7 +73,7 @@ class SelectFileDialog
//
// If not overridden, calls MultiFilesSelected() with paths from |files|.
virtual void MultiFilesSelectedWithExtraInfo(
- const std::vector<content::SelectedFileInfo>& files,
+ const std::vector<ui::SelectedFileInfo>& files,
void* params);
// Notifies the Listener that the file/folder selection was aborted (via
« no previous file with comments | « chrome/browser/ui/gtk/select_file_dialog_impl_gtk.cc ('k') | chrome/browser/ui/select_file_dialog.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698