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

Unified Diff: chrome/browser/ui/views/user_data_dir_dialog_view.cc

Issue 10820034: Remove redirection header and add "ui::" before all SelectFileDialog usage. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Reuploading for different try run. Created 8 years, 5 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/user_data_dir_dialog_view.cc
diff --git a/chrome/browser/ui/views/user_data_dir_dialog_view.cc b/chrome/browser/ui/views/user_data_dir_dialog_view.cc
index 449abb16fef49cf765afe9dac43b88a457c13ded..e673902fc35a03869319b9f620f0f0a0800e32b0 100644
--- a/chrome/browser/ui/views/user_data_dir_dialog_view.cc
+++ b/chrome/browser/ui/views/user_data_dir_dialog_view.cc
@@ -17,8 +17,8 @@
UserDataDirDialogView::UserDataDirDialogView(const FilePath& user_data_dir)
: ALLOW_THIS_IN_INITIALIZER_LIST(
- select_file_dialog_(SelectFileDialog::Create(
- this, new ChromeSelectFilePolicy(NULL)))),
+ select_file_dialog_(ui::SelectFileDialog::Create(
+ this, new ChromeSelectFilePolicy(NULL)))),
is_blocking_(true) {
const int kDialogWidth = 400;
views::MessageBoxView::InitParams params(
@@ -61,7 +61,7 @@ bool UserDataDirDialogView::Accept() {
IDS_CANT_WRITE_USER_DIRECTORY_CHOOSE_DIRECTORY_BUTTON));
HWND owning_hwnd =
GetAncestor(message_box_view_->GetWidget()->GetNativeView(), GA_ROOT);
- select_file_dialog_->SelectFile(SelectFileDialog::SELECT_FOLDER,
+ select_file_dialog_->SelectFile(ui::SelectFileDialog::SELECT_FOLDER,
dialog_title, FilePath(), NULL, 0,
FilePath::StringType(), owning_hwnd, NULL);
return false;
« no previous file with comments | « chrome/browser/ui/views/user_data_dir_dialog_view.h ('k') | chrome/browser/ui/webui/extensions/extension_settings_handler.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698