OLD | NEW |
1 /* | 1 /* |
2 * Copyright (C) 2006, 2007, 2008 Apple Inc. All rights reserved. | 2 * Copyright (C) 2006, 2007, 2008 Apple Inc. All rights reserved. |
3 * | 3 * |
4 * Redistribution and use in source and binary forms, with or without | 4 * Redistribution and use in source and binary forms, with or without |
5 * modification, are permitted provided that the following conditions | 5 * modification, are permitted provided that the following conditions |
6 * are met: | 6 * are met: |
7 * | 7 * |
8 * 1. Redistributions of source code must retain the above copyright | 8 * 1. Redistributions of source code must retain the above copyright |
9 * notice, this list of conditions and the following disclaimer. | 9 * notice, this list of conditions and the following disclaimer. |
10 * 2. Redistributions in binary form must reproduce the above copyright | 10 * 2. Redistributions in binary form must reproduce the above copyright |
(...skipping 15 matching lines...) Expand all Loading... |
26 * THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. | 26 * THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. |
27 * | 27 * |
28 */ | 28 */ |
29 | 29 |
30 #ifndef FileChooser_h | 30 #ifndef FileChooser_h |
31 #define FileChooser_h | 31 #define FileChooser_h |
32 | 32 |
33 #include "platform/FileMetadata.h" | 33 #include "platform/FileMetadata.h" |
34 #include "platform/PlatformExport.h" | 34 #include "platform/PlatformExport.h" |
35 #include "platform/weborigin/KURL.h" | 35 #include "platform/weborigin/KURL.h" |
36 #include "wtf/Allocator.h" | 36 #include "platform/wtf/Allocator.h" |
37 #include "wtf/RefCounted.h" | 37 #include "platform/wtf/RefCounted.h" |
38 #include "wtf/Vector.h" | 38 #include "platform/wtf/Vector.h" |
39 #include "wtf/text/WTFString.h" | 39 #include "platform/wtf/text/WTFString.h" |
40 | 40 |
41 namespace blink { | 41 namespace blink { |
42 | 42 |
43 class FileChooser; | 43 class FileChooser; |
44 | 44 |
45 struct FileChooserFileInfo { | 45 struct FileChooserFileInfo { |
46 DISALLOW_NEW_EXCEPT_PLACEMENT_NEW(); | 46 DISALLOW_NEW_EXCEPT_PLACEMENT_NEW(); |
47 FileChooserFileInfo(const String& path, const String& display_name = String()) | 47 FileChooserFileInfo(const String& path, const String& display_name = String()) |
48 : path(path), display_name(display_name) {} | 48 : path(path), display_name(display_name) {} |
49 | 49 |
(...skipping 53 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
103 private: | 103 private: |
104 FileChooser(FileChooserClient*, const FileChooserSettings&); | 104 FileChooser(FileChooserClient*, const FileChooserSettings&); |
105 | 105 |
106 FileChooserClient* client_; | 106 FileChooserClient* client_; |
107 FileChooserSettings settings_; | 107 FileChooserSettings settings_; |
108 }; | 108 }; |
109 | 109 |
110 } // namespace blink | 110 } // namespace blink |
111 | 111 |
112 #endif // FileChooser_h | 112 #endif // FileChooser_h |
OLD | NEW |