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

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

Issue 2484863005: ui: Cleanup class/struct forward declarations (Closed)
Patch Set: Fix another conflict Created 4 years, 1 month 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
« no previous file with comments | « ui/platform_window/x11/x11_cursor_ozone.h ('k') | ui/views/animation/ink_drop.h » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 // Copyright (c) 2013 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_SHELL_DIALOGS_SELECT_FILE_DIALOG_H_ 5 #ifndef UI_SHELL_DIALOGS_SELECT_FILE_DIALOG_H_
6 #define UI_SHELL_DIALOGS_SELECT_FILE_DIALOG_H_ 6 #define UI_SHELL_DIALOGS_SELECT_FILE_DIALOG_H_
7 7
8 #include <memory> 8 #include <memory>
9 #include <string> 9 #include <string>
10 #include <vector> 10 #include <vector>
11 11
12 #include "base/callback_forward.h" 12 #include "base/callback_forward.h"
13 #include "base/files/file_path.h" 13 #include "base/files/file_path.h"
14 #include "base/macros.h" 14 #include "base/macros.h"
15 #include "base/memory/ref_counted.h" 15 #include "base/memory/ref_counted.h"
16 #include "base/strings/string16.h" 16 #include "base/strings/string16.h"
17 #include "ui/gfx/native_widget_types.h" 17 #include "ui/gfx/native_widget_types.h"
18 #include "ui/shell_dialogs/base_shell_dialog.h" 18 #include "ui/shell_dialogs/base_shell_dialog.h"
19 #include "ui/shell_dialogs/shell_dialogs_export.h" 19 #include "ui/shell_dialogs/shell_dialogs_export.h"
20 20
21 namespace ui { 21 namespace ui {
22 class SelectFileDialogFactory; 22 class SelectFileDialogFactory;
23 class SelectFilePolicy; 23 class SelectFilePolicy;
24 struct SelectedFileInfo; 24 struct SelectedFileInfo;
25 class ShellDialogsDelegate;
26 25
27 // Shows a dialog box for selecting a file or a folder. 26 // Shows a dialog box for selecting a file or a folder.
28 class SHELL_DIALOGS_EXPORT SelectFileDialog 27 class SHELL_DIALOGS_EXPORT SelectFileDialog
29 : public base::RefCountedThreadSafe<SelectFileDialog>, 28 : public base::RefCountedThreadSafe<SelectFileDialog>,
30 public BaseShellDialog { 29 public BaseShellDialog {
31 public: 30 public:
32 enum Type { 31 enum Type {
33 SELECT_NONE, 32 SELECT_NONE,
34 33
35 // For opening a folder. 34 // For opening a folder.
(...skipping 175 matching lines...) Expand 10 before | Expand all | Expand 10 after
211 std::unique_ptr<SelectFilePolicy> select_file_policy_; 210 std::unique_ptr<SelectFilePolicy> select_file_policy_;
212 211
213 DISALLOW_COPY_AND_ASSIGN(SelectFileDialog); 212 DISALLOW_COPY_AND_ASSIGN(SelectFileDialog);
214 }; 213 };
215 214
216 SelectFileDialog* CreateSelectFileDialog(SelectFileDialog::Listener* listener, 215 SelectFileDialog* CreateSelectFileDialog(SelectFileDialog::Listener* listener,
217 SelectFilePolicy* policy); 216 SelectFilePolicy* policy);
218 } // namespace ui 217 } // namespace ui
219 218
220 #endif // UI_SHELL_DIALOGS_SELECT_FILE_DIALOG_H_ 219 #endif // UI_SHELL_DIALOGS_SELECT_FILE_DIALOG_H_
OLDNEW
« no previous file with comments | « ui/platform_window/x11/x11_cursor_ozone.h ('k') | ui/views/animation/ink_drop.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698