Chromium Code Reviews| 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 #pragma once | 7 #pragma once |
| 8 | 8 |
| 9 #include <vector> | 9 #include <vector> |
| 10 | 10 |
| (...skipping 28 matching lines...) Expand all Loading... | |
| 39 // Title to be used for the dialog. This may be empty for the default title, | 39 // Title to be used for the dialog. This may be empty for the default title, |
| 40 // which will be either "Open" or "Save" depending on the mode. | 40 // which will be either "Open" or "Save" depending on the mode. |
| 41 string16 title; | 41 string16 title; |
| 42 | 42 |
| 43 // Default file name to select in the dialog. | 43 // Default file name to select in the dialog. |
| 44 FilePath default_file_name; | 44 FilePath default_file_name; |
| 45 | 45 |
| 46 // A list of valid lower-cased MIME types or file extensions specified in an | 46 // A list of valid lower-cased MIME types or file extensions specified in an |
| 47 // input element. It is used to restrict selectable files to such types. | 47 // input element. It is used to restrict selectable files to such types. |
| 48 std::vector<string16> accept_types; | 48 std::vector<string16> accept_types; |
| 49 | |
| 50 #if defined(OS_ANDROID) | |
| 51 // Paramaterization of choice on the Java size (e.g. from | |
| 52 // filesystem). See SelectFileDialog.java. | |
|
jam
2012/06/08 23:45:09
nit: this can fit on the previous line
I'm also c
John Grabowski
2012/06/12 01:46:30
Sorry. If "camera", will perform a capture from t
jam
2012/06/12 17:44:02
so did you mean to update this?
John Grabowski
2012/06/13 22:12:29
Like I said, it is unclear how much I want to doc
jam
2012/06/14 01:31:40
It's just that this comment doesn't mean anything
John Grabowski
2012/06/14 04:20:49
Yes, size not side. I will email you the java fil
jam
2012/06/14 16:08:57
My suggestion is really just to make this legible
John Grabowski
2012/06/14 17:56:30
Done
| |
| 53 // TODO(jrg): upstream SelectFileDialog.java! Currently lives in chrome/. | |
| 54 string16 capture; | |
| 55 #endif | |
| 49 }; | 56 }; |
| 50 | 57 |
| 51 } // namespace content | 58 } // namespace content |
| 52 | 59 |
| 53 #endif // CONTENT_PUBLIC_COMMON_FILE_CHOOSER_PARAMS_H_ | 60 #endif // CONTENT_PUBLIC_COMMON_FILE_CHOOSER_PARAMS_H_ |
| OLD | NEW |