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

Side by Side Diff: content/public/common/file_chooser_params.h

Issue 12286020: Replace FilePath with base::FilePath. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 7 years, 10 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
« no previous file with comments | « content/public/common/content_constants.cc ('k') | content/public/common/pepper_plugin_info.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) 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/file_path.h" 10 #include "base/file_path.h"
(...skipping 22 matching lines...) Expand all
33 Save, 33 Save,
34 }; 34 };
35 35
36 Mode mode; 36 Mode mode;
37 37
38 // Title to be used for the dialog. This may be empty for the default title, 38 // Title to be used for the dialog. This may be empty for the default title,
39 // which will be either "Open" or "Save" depending on the mode. 39 // which will be either "Open" or "Save" depending on the mode.
40 string16 title; 40 string16 title;
41 41
42 // Default file name to select in the dialog. 42 // Default file name to select in the dialog.
43 FilePath default_file_name; 43 base::FilePath default_file_name;
44 44
45 // A list of valid lower-cased MIME types or file extensions specified in an 45 // A list of valid lower-cased MIME types or file extensions specified in an
46 // input element. It is used to restrict selectable files to such types. 46 // input element. It is used to restrict selectable files to such types.
47 std::vector<string16> accept_types; 47 std::vector<string16> accept_types;
48 48
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 // TODO(jrg): upstream SelectFileDialog.java! Currently lives in chrome/. 52 // TODO(jrg): upstream SelectFileDialog.java! Currently lives in chrome/.
53 string16 capture; 53 string16 capture;
54 #endif 54 #endif
55 }; 55 };
56 56
57 } // namespace content 57 } // namespace content
58 58
59 #endif // CONTENT_PUBLIC_COMMON_FILE_CHOOSER_PARAMS_H_ 59 #endif // CONTENT_PUBLIC_COMMON_FILE_CHOOSER_PARAMS_H_
OLDNEW
« no previous file with comments | « content/public/common/content_constants.cc ('k') | content/public/common/pepper_plugin_info.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698