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

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

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/select_file_dialog.h ('k') | chrome/browser/ui/views/base_shell_dialog_win.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/browser/ui/select_file_dialog.cc
diff --git a/chrome/browser/ui/select_file_dialog.cc b/chrome/browser/ui/select_file_dialog.cc
index 4722df9c6e2c89fb42b9b6fef0c4e141d64e37c3..6cb8f7c2289a5d3988449da15e085795450b5cc5 100644
--- a/chrome/browser/ui/select_file_dialog.cc
+++ b/chrome/browser/ui/select_file_dialog.cc
@@ -13,8 +13,8 @@
#include "chrome/browser/tab_contents/simple_alert_infobar_delegate.h"
#include "chrome/browser/ui/tab_contents/tab_contents.h"
#include "chrome/common/pref_names.h"
-#include "content/public/common/selected_file_info.h"
#include "grit/generated_resources.h"
+#include "ui/base/dialogs/selected_file_info.h"
#include "ui/base/l10n/l10n_util.h"
using content::WebContents;
@@ -24,14 +24,14 @@ SelectFileDialog::FileTypeInfo::FileTypeInfo() : include_all_files(false) {}
SelectFileDialog::FileTypeInfo::~FileTypeInfo() {}
void SelectFileDialog::Listener::FileSelectedWithExtraInfo(
- const content::SelectedFileInfo& file,
+ const ui::SelectedFileInfo& file,
int index,
void* params) {
FileSelected(file.path, index, params);
}
void SelectFileDialog::Listener::MultiFilesSelectedWithExtraInfo(
- const std::vector<content::SelectedFileInfo>& files,
+ const std::vector<ui::SelectedFileInfo>& files,
void* params) {
std::vector<FilePath> file_paths;
for (size_t i = 0; i < files.size(); ++i)
« no previous file with comments | « chrome/browser/ui/select_file_dialog.h ('k') | chrome/browser/ui/views/base_shell_dialog_win.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698