OLD | NEW |
1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2012 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 CONTENT_PUBLIC_COMMON_FILE_CHOOSER_PARAMS_H_ | 5 #ifndef CONTENT_PUBLIC_COMMON_FILE_CHOOSER_PARAMS_H_ |
6 #define CONTENT_PUBLIC_COMMON_FILE_CHOOSER_PARAMS_H_ | 6 #define CONTENT_PUBLIC_COMMON_FILE_CHOOSER_PARAMS_H_ |
7 | 7 |
8 #include <vector> | 8 #include <vector> |
9 | 9 |
10 #include "base/files/file_path.h" | 10 #include "base/files/file_path.h" |
11 #include "base/string16.h" | 11 #include "base/strings/string16.h" |
12 #include "content/common/content_export.h" | 12 #include "content/common/content_export.h" |
13 | 13 |
14 namespace content { | 14 namespace content { |
15 | 15 |
16 // Struct used by WebContentsDelegate. | 16 // Struct used by WebContentsDelegate. |
17 struct CONTENT_EXPORT FileChooserParams { | 17 struct CONTENT_EXPORT FileChooserParams { |
18 FileChooserParams(); | 18 FileChooserParams(); |
19 ~FileChooserParams(); | 19 ~FileChooserParams(); |
20 | 20 |
21 enum Mode { | 21 enum Mode { |
(...skipping 27 matching lines...) Expand all Loading... |
49 #if defined(OS_ANDROID) | 49 #if defined(OS_ANDROID) |
50 // Used to select items other than files, i.e. camera/mic. See | 50 // Used to select items other than files, i.e. camera/mic. See |
51 // SelectFileDialog.java for more details. | 51 // SelectFileDialog.java for more details. |
52 string16 capture; | 52 string16 capture; |
53 #endif | 53 #endif |
54 }; | 54 }; |
55 | 55 |
56 } // namespace content | 56 } // namespace content |
57 | 57 |
58 #endif // CONTENT_PUBLIC_COMMON_FILE_CHOOSER_PARAMS_H_ | 58 #endif // CONTENT_PUBLIC_COMMON_FILE_CHOOSER_PARAMS_H_ |
OLD | NEW |