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 17 matching lines...) Expand all Loading... |
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/PlatformExport.h" | 33 #include "platform/PlatformExport.h" |
34 #include "wtf/RefCounted.h" | 34 #include "wtf/RefCounted.h" |
35 #include "wtf/Vector.h" | 35 #include "wtf/Vector.h" |
36 #include "wtf/text/WTFString.h" | 36 #include "wtf/text/WTFString.h" |
37 | 37 |
38 namespace WebCore { | 38 namespace blink { |
39 | 39 |
40 class FileChooser; | 40 class FileChooser; |
41 | 41 |
42 struct FileChooserFileInfo { | 42 struct FileChooserFileInfo { |
43 FileChooserFileInfo(const String& path, const String& displayName = String()
) | 43 FileChooserFileInfo(const String& path, const String& displayName = String()
) |
44 : path(path) | 44 : path(path) |
45 , displayName(displayName) | 45 , displayName(displayName) |
46 { | 46 { |
47 } | 47 } |
48 | 48 |
(...skipping 42 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
91 | 91 |
92 const FileChooserSettings& settings() const { return m_settings; } | 92 const FileChooserSettings& settings() const { return m_settings; } |
93 | 93 |
94 private: | 94 private: |
95 FileChooser(FileChooserClient*, const FileChooserSettings&); | 95 FileChooser(FileChooserClient*, const FileChooserSettings&); |
96 | 96 |
97 FileChooserClient* m_client; | 97 FileChooserClient* m_client; |
98 FileChooserSettings m_settings; | 98 FileChooserSettings m_settings; |
99 }; | 99 }; |
100 | 100 |
101 } // namespace WebCore | 101 } // namespace blink |
102 | 102 |
103 #endif // FileChooser_h | 103 #endif // FileChooser_h |
OLD | NEW |