| OLD | NEW |
| (Empty) | |
| 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 |
| 3 // found in the LICENSE file. |
| 4 |
| 5 #ifndef UI_BASE_DIALOGS_SELECT_FILE_DIALOG_WIN_H_ |
| 6 #define UI_BASE_DIALOGS_SELECT_FILE_DIALOG_WIN_H_ |
| 7 |
| 8 #include "ui/base/ui_export.h" |
| 9 #include "ui/base/dialogs/select_file_dialog.h" |
| 10 #include "ui/gfx/native_widget_types.h" |
| 11 |
| 12 namespace ui { |
| 13 class SelectFilePolicy; |
| 14 |
| 15 // Implementation detail exported for unit tests. |
| 16 UI_EXPORT std::wstring AppendExtensionIfNeeded( |
| 17 const std::wstring& filename, |
| 18 const std::wstring& filter_selected, |
| 19 const std::wstring& suggested_ext); |
| 20 |
| 21 // Intentionally not exported. Implementation detail of SelectFileDialog. Use |
| 22 // SelectFileDialog::Create() instead. |
| 23 SelectFileDialog* CreateWinSelectFileDialog( |
| 24 SelectFileDialog::Listener* listener, |
| 25 SelectFilePolicy* policy); |
| 26 |
| 27 } // namespace ui |
| 28 |
| 29 #endif // UI_BASE_DIALOGS_SELECT_FILE_DIALOG_WIN_H_ |
| OLD | NEW |