OLD | NEW |
1 // Copyright 2014 The Chromium Authors. All rights reserved. | 1 // Copyright 2014 The Chromium Authors. All rights reserved. |
2 // Use of this source code is governed by a BSD-style license that can be | 2 // Use of this source code is governed by a BSD-style license that can be |
3 // found in the LICENSE file. | 3 // found in the LICENSE file. |
4 | 4 |
5 #include "chrome/browser/chrome_select_file_dialog_factory_win.h" | 5 #include "chrome/browser/win/chrome_select_file_dialog_factory.h" |
6 | 6 |
7 #include <Windows.h> | 7 #include <Windows.h> |
8 #include <commdlg.h> | 8 #include <commdlg.h> |
9 | 9 |
10 #include "base/bind.h" | 10 #include "base/bind.h" |
11 #include "base/bind_helpers.h" | 11 #include "base/bind_helpers.h" |
12 #include "base/callback.h" | 12 #include "base/callback.h" |
13 #include "base/location.h" | 13 #include "base/location.h" |
14 #include "base/logging.h" | 14 #include "base/logging.h" |
15 #include "base/macros.h" | 15 #include "base/macros.h" |
(...skipping 297 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
313 | 313 |
314 ui::SelectFileDialog* ChromeSelectFileDialogFactory::Create( | 314 ui::SelectFileDialog* ChromeSelectFileDialogFactory::Create( |
315 ui::SelectFileDialog::Listener* listener, | 315 ui::SelectFileDialog::Listener* listener, |
316 ui::SelectFilePolicy* policy) { | 316 ui::SelectFilePolicy* policy) { |
317 return ui::CreateWinSelectFileDialog( | 317 return ui::CreateWinSelectFileDialog( |
318 listener, | 318 listener, |
319 policy, | 319 policy, |
320 base::Bind(GetOpenFileNameImpl, blocking_task_runner_), | 320 base::Bind(GetOpenFileNameImpl, blocking_task_runner_), |
321 base::Bind(GetSaveFileNameImpl, blocking_task_runner_)); | 321 base::Bind(GetSaveFileNameImpl, blocking_task_runner_)); |
322 } | 322 } |
OLD | NEW |