Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(1344)

Unified Diff: ui/base/dialogs/select_file_dialog_win.h

Issue 10698168: Part 3 of Move SelectFileDialog implementation to ui/base/dialogs/ (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: More namespace to force rebuild. Created 8 years, 5 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « ui/base/dialogs/select_file_dialog_factory.cc ('k') | ui/base/dialogs/select_file_dialog_win.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ui/base/dialogs/select_file_dialog_win.h
diff --git a/ui/base/dialogs/select_file_dialog_win.h b/ui/base/dialogs/select_file_dialog_win.h
new file mode 100644
index 0000000000000000000000000000000000000000..817504283292043b8c4a63b34cd3a195f4734e8f
--- /dev/null
+++ b/ui/base/dialogs/select_file_dialog_win.h
@@ -0,0 +1,29 @@
+// Copyright (c) 2012 The Chromium Authors. All rights reserved.
+// Use of this source code is governed by a BSD-style license that can be
+// found in the LICENSE file.
+
+#ifndef UI_BASE_DIALOGS_SELECT_FILE_DIALOG_WIN_H_
+#define UI_BASE_DIALOGS_SELECT_FILE_DIALOG_WIN_H_
+
+#include "ui/base/ui_export.h"
+#include "ui/base/dialogs/select_file_dialog.h"
+#include "ui/gfx/native_widget_types.h"
+
+namespace ui {
+class SelectFilePolicy;
+
+// Implementation detail exported for unit tests.
+UI_EXPORT std::wstring AppendExtensionIfNeeded(
+ const std::wstring& filename,
+ const std::wstring& filter_selected,
+ const std::wstring& suggested_ext);
+
+// Intentionally not exported. Implementation detail of SelectFileDialog. Use
+// SelectFileDialog::Create() instead.
+SelectFileDialog* CreateWinSelectFileDialog(
+ SelectFileDialog::Listener* listener,
+ SelectFilePolicy* policy);
+
+} // namespace ui
+
+#endif // UI_BASE_DIALOGS_SELECT_FILE_DIALOG_WIN_H_
« no previous file with comments | « ui/base/dialogs/select_file_dialog_factory.cc ('k') | ui/base/dialogs/select_file_dialog_win.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698