OLD | NEW |
1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2012 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 "ui/shell_dialogs/select_file_dialog.h" | 5 #include "ui/shell_dialogs/select_file_dialog.h" |
6 | 6 |
7 #import <Cocoa/Cocoa.h> | 7 #import <Cocoa/Cocoa.h> |
8 #include <CoreServices/CoreServices.h> | 8 #include <CoreServices/CoreServices.h> |
9 | 9 |
10 #include <map> | 10 #include <map> |
11 #include <set> | 11 #include <set> |
12 #include <vector> | 12 #include <vector> |
13 | 13 |
14 #include "base/file_util.h" | 14 #include "base/files/file_util.h" |
15 #include "base/logging.h" | 15 #include "base/logging.h" |
16 #include "base/mac/bundle_locations.h" | 16 #include "base/mac/bundle_locations.h" |
17 #include "base/mac/foundation_util.h" | 17 #include "base/mac/foundation_util.h" |
18 #include "base/mac/mac_util.h" | 18 #include "base/mac/mac_util.h" |
19 #include "base/mac/scoped_cftyperef.h" | 19 #include "base/mac/scoped_cftyperef.h" |
20 #import "base/mac/scoped_nsobject.h" | 20 #import "base/mac/scoped_nsobject.h" |
21 #include "base/strings/sys_string_conversions.h" | 21 #include "base/strings/sys_string_conversions.h" |
22 #include "base/threading/thread_restrictions.h" | 22 #include "base/threading/thread_restrictions.h" |
23 #import "ui/base/cocoa/nib_loading.h" | 23 #import "ui/base/cocoa/nib_loading.h" |
24 #include "ui/base/l10n/l10n_util_mac.h" | 24 #include "ui/base/l10n/l10n_util_mac.h" |
(...skipping 408 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
433 | 433 |
434 namespace ui { | 434 namespace ui { |
435 | 435 |
436 SelectFileDialog* CreateMacSelectFileDialog( | 436 SelectFileDialog* CreateMacSelectFileDialog( |
437 SelectFileDialog::Listener* listener, | 437 SelectFileDialog::Listener* listener, |
438 SelectFilePolicy* policy) { | 438 SelectFilePolicy* policy) { |
439 return new SelectFileDialogImpl(listener, policy); | 439 return new SelectFileDialogImpl(listener, policy); |
440 } | 440 } |
441 | 441 |
442 } // namespace ui | 442 } // namespace ui |
OLD | NEW |