Lines 20-26
Link Here
|
20 |
#include "ui/shell_dialogs/select_file_dialog_mac.h" |
20 |
#include "ui/shell_dialogs/select_file_dialog_mac.h" |
21 |
#elif defined(OS_ANDROID) |
21 |
#elif defined(OS_ANDROID) |
22 |
#include "ui/shell_dialogs/select_file_dialog_android.h" |
22 |
#include "ui/shell_dialogs/select_file_dialog_android.h" |
23 |
#elif defined(USE_AURA) && !defined(USE_ASH) && defined(OS_LINUX) |
23 |
#elif defined(USE_AURA) && !defined(USE_ASH) && (defined(OS_LINUX) || defined(OS_FREEBSD)) |
24 |
#include "ui/shell_dialogs/linux_shell_dialog.h" |
24 |
#include "ui/shell_dialogs/linux_shell_dialog.h" |
25 |
#endif |
25 |
#endif |
26 |
|
26 |
|
Lines 76-82
Link Here
|
76 |
return dialog; |
76 |
return dialog; |
77 |
} |
77 |
} |
78 |
|
78 |
|
79 |
#if defined(USE_AURA) && !defined(USE_ASH) && defined(OS_LINUX) |
79 |
#if defined(USE_AURA) && !defined(USE_ASH) && (defined(OS_LINUX) || defined(OS_FREEBSD)) |
80 |
const ui::LinuxShellDialog* shell_dialogs = ui::LinuxShellDialog::instance(); |
80 |
const ui::LinuxShellDialog* shell_dialogs = ui::LinuxShellDialog::instance(); |
81 |
if (shell_dialogs) |
81 |
if (shell_dialogs) |
82 |
return shell_dialogs->CreateSelectFileDialog(listener, policy); |
82 |
return shell_dialogs->CreateSelectFileDialog(listener, policy); |