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 #include <stddef.h> |
| 8 |
7 #include "base/bind.h" | 9 #include "base/bind.h" |
8 #include "base/logging.h" | 10 #include "base/logging.h" |
9 #include "base/message_loop/message_loop.h" | 11 #include "base/message_loop/message_loop.h" |
10 #include "build/build_config.h" | 12 #include "build/build_config.h" |
11 #include "ui/shell_dialogs/select_file_dialog_factory.h" | 13 #include "ui/shell_dialogs/select_file_dialog_factory.h" |
12 #include "ui/shell_dialogs/select_file_policy.h" | 14 #include "ui/shell_dialogs/select_file_policy.h" |
13 #include "ui/shell_dialogs/selected_file_info.h" | 15 #include "ui/shell_dialogs/selected_file_info.h" |
14 #include "ui/shell_dialogs/shell_dialogs_delegate.h" | 16 #include "ui/shell_dialogs/shell_dialogs_delegate.h" |
15 | 17 |
16 #if defined(OS_WIN) | 18 #if defined(OS_WIN) |
(...skipping 132 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
149 void SelectFileDialog::CancelFileSelection(void* params) { | 151 void SelectFileDialog::CancelFileSelection(void* params) { |
150 if (listener_) | 152 if (listener_) |
151 listener_->FileSelectionCanceled(params); | 153 listener_->FileSelectionCanceled(params); |
152 } | 154 } |
153 | 155 |
154 ShellDialogsDelegate* SelectFileDialog::GetShellDialogsDelegate() { | 156 ShellDialogsDelegate* SelectFileDialog::GetShellDialogsDelegate() { |
155 return g_shell_dialogs_delegate_; | 157 return g_shell_dialogs_delegate_; |
156 } | 158 } |
157 | 159 |
158 } // namespace ui | 160 } // namespace ui |
OLD | NEW |