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

Side by Side Diff: ui/shell_dialogs/select_file_dialog_factory.h

Issue 11878031: Bring back the file dialogs for chrome AURA. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src/
Patch Set: Created 7 years, 11 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 unified diff | Download patch | Annotate | Revision Log
OLDNEW
1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2013 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 #ifndef UI_BASE_DIALOGS_SELECT_FILE_DIALOG_FACTORY_H_ 5 #ifndef UI_SHELL_DIALOGS_SELECT_FILE_DIALOG_FACTORY_H_
6 #define UI_BASE_DIALOGS_SELECT_FILE_DIALOG_FACTORY_H_ 6 #define UI_SHELL_DIALOGS_SELECT_FILE_DIALOG_FACTORY_H_
7 7
8 #include "ui/base/dialogs/select_file_dialog.h" 8 #include "ui/shell_dialogs/select_file_dialog.h"
9 #include "ui/base/ui_export.h" 9 #include "ui/shell_dialogs/shell_dialogs_export.h"
10 10
11 namespace ui { 11 namespace ui {
12 class SelectFilePolicy; 12 class SelectFilePolicy;
13 13
14 // Some chrome components want to create their own SelectFileDialog objects 14 // Some chrome components want to create their own SelectFileDialog objects
15 // (for example, using an extension to provide the select file dialog needs to 15 // (for example, using an extension to provide the select file dialog needs to
16 // live in chrome/ due to the extension dependency.) 16 // live in chrome/ due to the extension dependency.)
17 // 17 //
18 // They can implement a factory which creates their SelectFileDialog. 18 // They can implement a factory which creates their SelectFileDialog.
19 class UI_EXPORT SelectFileDialogFactory { 19 class SHELL_DIALOGS_EXPORT SelectFileDialogFactory {
20 public: 20 public:
21 virtual ~SelectFileDialogFactory(); 21 virtual ~SelectFileDialogFactory();
22 22
23 virtual SelectFileDialog* Create(ui::SelectFileDialog::Listener* listener, 23 virtual SelectFileDialog* Create(ui::SelectFileDialog::Listener* listener,
24 ui::SelectFilePolicy* policy) = 0; 24 ui::SelectFilePolicy* policy) = 0;
25 }; 25 };
26 26
27 } // namespace ui 27 } // namespace ui
28 28
29 #endif // UI_BASE_DIALOGS_SELECT_FILE_DIALOG_FACTORY_H_ 29 #endif // UI_SHELL_DIALOGS_SELECT_FILE_DIALOG_FACTORY_H_
30
OLDNEW
« no previous file with comments | « ui/shell_dialogs/select_file_dialog_android.h ('k') | ui/shell_dialogs/select_file_dialog_factory.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698