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

Unified Diff: chrome/browser/ui/views/select_file_dialog_extension.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
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 eb91b0dcf8c898007ec6f8173950311a890fb88c..b96bc878f92e8b9b17fd00a42fd121b2d956e68b 100644
--- a/chrome/browser/ui/views/select_file_dialog_extension.h
+++ b/chrome/browser/ui/views/select_file_dialog_extension.h
@@ -19,6 +19,9 @@ class ExtensionDialog;
namespace content {
class RenderViewHost;
+}
+
+namespace ui {
struct SelectedFileInfo;
}
@@ -42,11 +45,11 @@ class SelectFileDialogExtension
// Routes callback to appropriate SelectFileDialog::Listener based on
// the owning |tab_id|.
static void OnFileSelected(int32 tab_id,
- const content::SelectedFileInfo& file,
+ const ui::SelectedFileInfo& file,
int index);
static void OnMultiFilesSelected(
int32 tab_id,
- const std::vector<content::SelectedFileInfo>& files);
+ const std::vector<ui::SelectedFileInfo>& files);
static void OnFileSelectionCanceled(int32 tab_id);
// For testing, so we can inject JavaScript into the contained view.
@@ -107,7 +110,7 @@ class SelectFileDialogExtension
MULTIPLE_FILES
};
SelectionType selection_type_;
- std::vector<content::SelectedFileInfo> selection_files_;
+ std::vector<ui::SelectedFileInfo> selection_files_;
int selection_index_;
void* params_;
« no previous file with comments | « chrome/browser/ui/views/color_chooser_dialog.h ('k') | chrome/browser/ui/views/select_file_dialog_extension.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698